2018-01-20 20:30:49 -08:00
|
|
|
<HiddenFromSSR>
|
|
|
|
<FreeTextLayout>
|
|
|
|
<div class="not-logged-in-home">
|
|
|
|
<div class="banner">
|
2019-03-02 19:02:06 -08:00
|
|
|
<SvgIcon className="not-logged-in-home-svg" href="#pinafore-logo" />
|
2018-01-20 20:30:49 -08:00
|
|
|
<h1>Pinafore</h1>
|
|
|
|
</div>
|
2019-10-24 19:03:03 -07:00
|
|
|
<!-- Use raw HTML to make the output smaller -->
|
|
|
|
{@html `
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Pinafore is a web client for
|
|
|
|
<a rel="noopener" target="_blank" href="https://joinmastodon.org">Mastodon</a>,
|
|
|
|
designed for speed and simplicity.
|
|
|
|
</p>
|
2018-01-08 18:14:21 -08:00
|
|
|
|
2019-10-24 19:03:03 -07:00
|
|
|
<p>
|
|
|
|
Read the
|
|
|
|
<a rel="noopener" target="_blank"
|
|
|
|
href="https://nolanlawson.com/2018/04/09/introducing-pinafore-for-mastodon/">introductory blog post</a>,
|
|
|
|
or get started by logging in to an instance:
|
|
|
|
</p>
|
2018-01-08 18:14:21 -08:00
|
|
|
|
2019-10-24 19:03:03 -07:00
|
|
|
<p style="text-align: right;">
|
|
|
|
<a class="button primary" rel="prefetch" href="/settings/instances/add">Add instance</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
`}
|
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;
|
|
|
|
}
|
2018-01-20 12:35:38 -08:00
|
|
|
.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
|
|
|
}
|
2019-03-02 19:02:06 -08:00
|
|
|
:global(.not-logged-in-home-svg) {
|
2018-01-08 18:14:21 -08:00
|
|
|
width: 70px;
|
|
|
|
height: 70px;
|
2019-02-11 21:03:51 -08:00
|
|
|
fill: var(--banner-fill);
|
2018-01-08 18:14:21 -08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-01-20 12:35:38 -08:00
|
|
|
.not-logged-in-home h1 {
|
2019-02-11 21:03:51 -08:00
|
|
|
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) {
|
2018-01-20 12:35:38 -08:00
|
|
|
.not-logged-in-home h1 {
|
2018-01-08 18:14:21 -08:00
|
|
|
font-size: 2.7em;
|
|
|
|
}
|
|
|
|
}
|
2019-09-21 13:45:48 -07:00
|
|
|
|
|
|
|
@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'
|
2019-03-02 19:02:06 -08:00
|
|
|
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,
|
2019-03-02 19:02:06 -08:00
|
|
|
SvgIcon
|
2018-01-12 18:57:50 -08:00
|
|
|
}
|
|
|
|
}
|
2019-02-11 21:03:51 -08:00
|
|
|
</script>
|