semaphore/routes/_components/NotLoggedInHome.html

58 lines
1.3 KiB
HTML
Raw Normal View History

2018-01-13 02:57:50 +00:00
<FreeTextLayout>
2018-01-14 04:33:14 +00:00
<div class="not-logged-in-home {{hidden ? 'hidden' : ''}}">
<div class="banner">
<svg aria-hidden="true" class="logo">
<use xlink:href="#pinafore-logo" />
</svg>
<h1>Pinafore</h1>
</div>
<p>Pinafore is a web client for <a rel="noopener" target="_blank" href="https://joinmastodon.org">Mastodon</a>, optimized for speed and simplicity.</p>
2018-01-09 02:14:21 +00:00
2018-01-14 04:33:14 +00:00
<p>To get started, <a href="/settings/instances/add">log in to an instance</a>.</p>
2018-01-09 02:14:21 +00:00
2018-01-14 04:33:14 +00:00
<p>Don't have an instance? <a rel="noopener" target="_blank" href="https://joinmastodon.org">Join Mastodon!</a></p>
</div>
2018-01-13 02:57:50 +00:00
</FreeTextLayout>
2018-01-09 02:14:21 +00:00
<style>
2018-01-16 05:58:31 +00:00
.not-logged-in-home {
margin: 10px;
}
2018-01-09 02:14:21 +00:00
.banner {
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
}
svg {
width: 70px;
height: 70px;
fill: royalblue;
display: inline-block;
}
h1 {
color: royalblue;
display: inline-block;
font-size: 3em;
margin: auto 15px;
}
@media (max-width: 767px) {
h1 {
font-size: 2.7em;
}
}
2018-01-13 02:57:50 +00:00
</style>
<script>
import FreeTextLayout from './FreeTextLayout.html'
2018-01-14 04:33:14 +00:00
2018-01-13 02:57:50 +00:00
export default {
components: {
FreeTextLayout
2018-01-14 04:33:14 +00:00
},
data: () => ({
hidden: true
}),
oncreate: function () {
this.set({hidden: !process.browser})
2018-01-13 02:57:50 +00:00
}
}
</script>