pinafore/routes/notifications.html

35 lines
865 B
HTML
Raw Normal View History

2018-01-07 05:44:47 +01:00
<:Head>
2018-01-21 20:07:16 +01:00
<title>Pinafore Notifications</title>
2018-01-07 05:44:47 +01:00
</:Head>
<Layout page='notifications' virtual="true" virtualRealm="notifications">
{{#if $isUserLoggedIn}}
<LazyTimeline timeline='notifications' />
{{else}}
2018-01-21 05:30:49 +01:00
<HiddenFromSSR>
<FreeTextLayout>
<h1>Notifications</h1>
2018-01-07 05:44:47 +01:00
2018-01-21 05:30:49 +01:00
<p>Your notifications will appear here when logged in.</p>
</FreeTextLayout>
</HiddenFromSSR>
{{/if}}
2018-01-07 05:44:47 +01:00
</Layout>
<script>
import Layout from './_components/Layout.html'
import LazyTimeline from './_components/timeline/LazyTimeline.html'
2018-01-19 08:37:43 +01:00
import FreeTextLayout from './_components/FreeTextLayout.html'
import { store } from './_store/store.js'
2018-01-21 05:30:49 +01:00
import HiddenFromSSR from './_components/HiddenFromSSR'
2018-01-07 05:44:47 +01:00
export default {
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
}
2018-01-07 05:44:47 +01:00
};
</script>