pinafore/src/routes/_components/NotLoggedInHome.html

65 lines
1.7 KiB
HTML
Raw Normal View History

2018-01-20 20:30:49 -08:00
<HiddenFromSSR>
<FreeTextLayout>
<div class="not-logged-in-home">
<div class="banner">
<SvgIcon className="not-logged-in-home-svg" href="#pinafore-logo" />
2018-01-20 20:30:49 -08:00
<h1>Pinafore</h1>
</div>
2018-03-06 23:27:36 -08:00
<p>Pinafore is a web client for <ExternalLink href="https://joinmastodon.org">Mastodon</ExternalLink>, designed for speed and simplicity.</p>
2018-01-08 18:14:21 -08:00
2018-04-09 09:35:58 -07:00
<p>Read the <ExternalLink href="https://nolanlawson.com/2018/04/09/introducing-pinafore-for-mastodon/">introductory blog post</ExternalLink>, or get started by logging in to an instance:</p>
2018-01-08 18:14:21 -08:00
<p style="text-align: right;"><a class="button primary" rel="prefetch" href="/settings/instances/add">Add instance</a></p>
2018-01-20 20:30:49 -08:00
</div>
</FreeTextLayout>
</HiddenFromSSR>
2018-01-08 18:14:21 -08:00
<style>
2018-01-15 21:58:31 -08:00
.not-logged-in-home {
margin: 10px;
}
.not-logged-in-home .banner {
2018-01-08 18:14:21 -08:00
display: flex;
align-items: center;
2018-01-13 10:53:25 -08:00
margin: 0 0 30px;
2018-01-08 18:14:21 -08:00
}
:global(.not-logged-in-home-svg) {
2018-01-08 18:14:21 -08:00
width: 70px;
height: 70px;
fill: var(--banner-fill);
2018-01-08 18:14:21 -08:00
display: inline-block;
}
.not-logged-in-home h1 {
color: var(--banner-fill);
2018-01-08 18:14:21 -08:00
display: inline-block;
font-size: 3em;
margin: auto 15px;
}
@media (max-width: 767px) {
.not-logged-in-home h1 {
2018-01-08 18:14:21 -08:00
font-size: 2.7em;
}
}
@media (max-width: 240px) {
.not-logged-in-home h1 {
font-size: 2.5em;
}
}
2018-01-12 18:57:50 -08:00
</style>
<script>
import FreeTextLayout from './FreeTextLayout.html'
2018-01-20 20:30:49 -08:00
import HiddenFromSSR from './HiddenFromSSR.html'
2018-01-28 19:01:51 -08:00
import ExternalLink from './ExternalLink.html'
import SvgIcon from './SvgIcon.html'
2018-01-13 20:33:14 -08:00
2018-01-12 18:57:50 -08:00
export default {
components: {
2018-01-20 20:30:49 -08:00
FreeTextLayout,
2018-01-28 19:01:51 -08:00
HiddenFromSSR,
ExternalLink,
SvgIcon
2018-01-12 18:57:50 -08:00
}
}
</script>