semaphore/src/routes/_components/NotLoggedInHome.html

63 lines
1.3 KiB
HTML
Raw Normal View History

2018-01-21 04:30:49 +00:00
<HiddenFromSSR>
<FreeTextLayout>
<div class="not-logged-in-home">
<div class="banner">
2023-01-10 14:21:38 +00:00
<SvgIcon className="not-logged-in-home-svg" href="#semaphore-logo" />
<h1>{intl.appName}</h1>
</div>
<div>
{@html intl.homeDescription}
<p style="text-align: right;">
<a class="button primary" rel="prefetch" href="/settings/instances/add">{intl.logIn}</a>
</p>
2018-01-21 04:30:49 +00:00
</div>
</FreeTextLayout>
</HiddenFromSSR>
2018-01-09 02:14:21 +00:00
<style>
2018-01-16 05:58:31 +00:00
.not-logged-in-home {
margin: 10px;
}
.not-logged-in-home .banner {
2018-01-09 02:14:21 +00:00
display: flex;
align-items: center;
2018-01-13 18:53:25 +00:00
margin: 0 0 30px;
2018-01-09 02:14:21 +00:00
}
:global(.not-logged-in-home-svg) {
2018-01-09 02:14:21 +00:00
width: 70px;
height: 70px;
fill: var(--banner-fill);
2018-01-09 02:14:21 +00:00
display: inline-block;
}
.not-logged-in-home h1 {
color: var(--banner-fill);
2018-01-09 02:14:21 +00:00
display: inline-block;
font-size: 3em;
margin: auto 15px;
}
@media (max-width: 767px) {
.not-logged-in-home h1 {
2018-01-09 02:14:21 +00:00
font-size: 2.7em;
}
}
@media (max-width: 240px) {
.not-logged-in-home h1 {
font-size: 2.5em;
}
}
2018-01-13 02:57:50 +00:00
</style>
<script>
import FreeTextLayout from './FreeTextLayout.html'
2018-01-21 04:30:49 +00:00
import HiddenFromSSR from './HiddenFromSSR.html'
import SvgIcon from './SvgIcon.html'
2018-01-14 04:33:14 +00:00
2018-01-13 02:57:50 +00:00
export default {
components: {
2018-01-21 04:30:49 +00:00
FreeTextLayout,
2018-01-29 03:01:51 +00:00
HiddenFromSSR,
SvgIcon
2018-01-13 02:57:50 +00:00
}
}
</script>