pinafore/routes/local.html

35 lines
826 B
HTML
Raw Normal View History

2018-01-07 04:44:47 +00:00
<:Head>
2018-01-21 19:07:16 +00:00
<title>Pinafore Local</title>
2018-01-07 04:44:47 +00:00
</:Head>
2018-01-27 16:13:28 +00:00
<Layout page='local' virtual="true" virtualRealm="local">
2018-01-19 07:37:43 +00:00
{{#if $isUserLoggedIn}}
<LazyTimeline timeline='local' />
{{else}}
2018-01-21 04:30:49 +00:00
<HiddenFromSSR>
<FreeTextLayout>
<h1>Local</h1>
2018-01-07 04:44:47 +00:00
2018-01-21 04:30:49 +00:00
<p>Your local timeline will appear here when logged in.</p>
</FreeTextLayout>
</HiddenFromSSR>
2018-01-19 07:37:43 +00:00
{{/if}}
2018-01-07 04:44:47 +00:00
</Layout>
<script>
2018-01-19 07:37:43 +00:00
import Layout from './_components/Layout.html'
2018-01-28 00:35:44 +00:00
import LazyTimeline from './_components/timeline/LazyTimeline.html'
2018-01-19 07:37:43 +00:00
import FreeTextLayout from './_components/FreeTextLayout.html'
2018-01-28 21:09:39 +00:00
import { store } from './_store/store.js'
2018-01-21 04:30:49 +00:00
import HiddenFromSSR from './_components/HiddenFromSSR'
2018-01-07 04:44:47 +00:00
export default {
2018-01-19 07:37:43 +00:00
store: () => store,
2018-01-07 04:44:47 +00:00
components: {
2018-01-19 07:37:43 +00:00
Layout,
LazyTimeline,
2018-01-21 04:30:49 +00:00
FreeTextLayout,
HiddenFromSSR
2018-01-07 04:44:47 +00:00
}
2018-01-19 07:37:43 +00:00
}
2018-01-07 04:44:47 +00:00
</script>