pinafore/routes/_components/NotLoggedInHome.html

58 lines
1.4 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">
<svg aria-hidden="true" class="logo">
<use xlink:href="#pinafore-logo" />
</svg>
<h1>Pinafore</h1>
</div>
2018-03-07 07:27:36 +00:00
<p>Pinafore is a web client for <ExternalLink href="https://joinmastodon.org">Mastodon</ExternalLink>, designed for speed and simplicity.</p>
2018-01-09 02:14:21 +00:00
2018-03-07 07:27:36 +00:00
<p>To get started, log in to an instance:</p>
2018-01-09 02:14:21 +00:00
2018-03-07 07:27:36 +00:00
<p style="text-align: right;"><a class="button primary" href="/settings/instances/add">Add an instance</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
}
.not-logged-in-home svg {
2018-01-09 02:14:21 +00:00
width: 70px;
height: 70px;
fill: royalblue;
display: inline-block;
}
.not-logged-in-home h1 {
2018-01-09 02:14:21 +00:00
color: royalblue;
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;
}
}
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'
2018-01-29 03:01:51 +00:00
import ExternalLink from './ExternalLink.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,
ExternalLink
2018-01-13 02:57:50 +00:00
}
}
</script>