pinafore/routes/federated.html

31 lines
664 B
HTML

<:Head>
<title>Federated</title>
</:Head>
<Layout page='federated'>
{{#if $isUserLoggedIn}}
<LazyTimeline timeline='federated' />
{{else}}
<FreeTextLayout>
<h1>Federated</h1>
<p>Your federated timeline will appear here when logged in.</p>
</FreeTextLayout>
{{/if}}
</Layout>
<script>
import Layout from './_components/Layout.html'
import LazyTimeline from './_components/LazyTimeline.html'
import FreeTextLayout from './_components/FreeTextLayout.html'
import { store } from './_utils/store.js'
export default {
store: () => store,
components: {
Layout,
LazyTimeline,
FreeTextLayout
}
}
</script>