pinafore/routes/federated.html

31 lines
664 B
HTML
Raw Normal View History

2018-01-07 04:44:47 +00:00
<:Head>
<title>Federated</title>
</:Head>
<Layout page='federated'>
2018-01-19 07:37:43 +00:00
{{#if $isUserLoggedIn}}
<LazyTimeline timeline='federated' />
{{else}}
<FreeTextLayout>
<h1>Federated</h1>
2018-01-07 04:44:47 +00:00
2018-01-19 07:37:43 +00:00
<p>Your federated timeline will appear here when logged in.</p>
</FreeTextLayout>
{{/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'
import LazyTimeline from './_components/LazyTimeline.html'
import FreeTextLayout from './_components/FreeTextLayout.html'
import { store } from './_utils/store.js'
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,
FreeTextLayout
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>