2018-01-06 20:44:47 -08:00
|
|
|
|
<:Head>
|
2018-01-21 11:07:16 -08:00
|
|
|
|
<title>Pinafore – Notifications</title>
|
2018-01-06 20:44:47 -08:00
|
|
|
|
</:Head>
|
|
|
|
|
|
2018-02-12 22:06:05 -08:00
|
|
|
|
<Layout page='notifications'>
|
2018-02-03 18:06:02 -08:00
|
|
|
|
{{#if $isUserLoggedIn}}
|
|
|
|
|
<LazyTimeline timeline='notifications' />
|
|
|
|
|
{{else}}
|
2018-01-20 20:30:49 -08:00
|
|
|
|
<HiddenFromSSR>
|
|
|
|
|
<FreeTextLayout>
|
|
|
|
|
<h1>Notifications</h1>
|
2018-01-06 20:44:47 -08:00
|
|
|
|
|
2018-01-20 20:30:49 -08:00
|
|
|
|
<p>Your notifications will appear here when logged in.</p>
|
|
|
|
|
</FreeTextLayout>
|
|
|
|
|
</HiddenFromSSR>
|
2018-02-03 18:06:02 -08:00
|
|
|
|
{{/if}}
|
2018-01-06 20:44:47 -08:00
|
|
|
|
</Layout>
|
|
|
|
|
|
|
|
|
|
<script>
|
2018-02-03 18:06:02 -08:00
|
|
|
|
import Layout from './_components/Layout.html'
|
|
|
|
|
import LazyTimeline from './_components/timeline/LazyTimeline.html'
|
2018-01-18 23:37:43 -08:00
|
|
|
|
import FreeTextLayout from './_components/FreeTextLayout.html'
|
2018-02-03 18:06:02 -08:00
|
|
|
|
import { store } from './_store/store.js'
|
2018-01-20 20:30:49 -08:00
|
|
|
|
import HiddenFromSSR from './_components/HiddenFromSSR'
|
2018-01-06 20:44:47 -08:00
|
|
|
|
|
|
|
|
|
export default {
|
2018-02-03 18:06:02 -08:00
|
|
|
|
store: () => store,
|
2018-01-06 20:44:47 -08:00
|
|
|
|
components: {
|
2018-01-18 23:37:43 -08:00
|
|
|
|
Layout,
|
2018-02-03 18:06:02 -08:00
|
|
|
|
LazyTimeline,
|
2018-01-20 20:30:49 -08:00
|
|
|
|
FreeTextLayout,
|
|
|
|
|
HiddenFromSSR
|
2018-02-03 18:06:02 -08:00
|
|
|
|
}
|
2018-01-06 20:44:47 -08:00
|
|
|
|
};
|
|
|
|
|
</script>
|