1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-12 10:16:16 +01:00
Pinafore-Web-Client-Frontend/routes/federated.html

40 lines
1.0 KiB
HTML
Raw Normal View History

2018-01-07 05:44:47 +01:00
<:Head>
2018-01-21 20:07:16 +01:00
<title>Pinafore Federated</title>
2018-01-07 05:44:47 +01:00
</:Head>
<Layout page='federated'>
2018-01-19 08:37:43 +01:00
{{#if $isUserLoggedIn}}
2018-02-08 18:15:25 +01:00
{{#if $pinnedPage !== '/federated'}}
<DynamicPageBanner title="Federated Timeline" icon="#fa-globe"/>
{{/if}}
2018-01-19 08:37:43 +01:00
<LazyTimeline timeline='federated' />
{{else}}
2018-01-21 05:30:49 +01:00
<HiddenFromSSR>
<FreeTextLayout>
<h1>Federated</h1>
2018-01-07 05:44:47 +01:00
2018-01-21 05:30:49 +01:00
<p>Your federated timeline will appear here when logged in.</p>
</FreeTextLayout>
</HiddenFromSSR>
2018-01-19 08:37:43 +01:00
{{/if}}
2018-01-07 05:44:47 +01:00
</Layout>
<script>
2018-01-19 08:37:43 +01:00
import Layout from './_components/Layout.html'
2018-01-28 01:35:44 +01:00
import LazyTimeline from './_components/timeline/LazyTimeline.html'
2018-01-19 08:37:43 +01:00
import FreeTextLayout from './_components/FreeTextLayout.html'
2018-01-28 22:09:39 +01:00
import { store } from './_store/store.js'
2018-01-21 05:30:49 +01:00
import HiddenFromSSR from './_components/HiddenFromSSR'
import DynamicPageBanner from './_components/DynamicPageBanner.html'
2018-01-07 05:44:47 +01:00
export default {
2018-01-19 08:37:43 +01:00
store: () => store,
2018-01-07 05:44:47 +01:00
components: {
2018-01-19 08:37:43 +01:00
Layout,
LazyTimeline,
2018-01-21 05:30:49 +01:00
FreeTextLayout,
HiddenFromSSR,
DynamicPageBanner
2018-01-07 05:44:47 +01:00
}
2018-01-19 08:37:43 +01:00
}
2018-01-07 05:44:47 +01:00
</script>