pinafore/src/routes/_pages/notifications.html

27 lines
628 B
HTML
Raw Normal View History

{#if $isUserLoggedIn}
<TimelinePage timeline="notifications" />
{:else}
<HiddenFromSSR>
<FreeTextLayout>
<h1>Notifications</h1>
<p>Your notifications will appear here when logged in.</p>
</FreeTextLayout>
</HiddenFromSSR>
{/if}
<script>
import FreeTextLayout from '../_components/FreeTextLayout.html'
import { store } from '../_store/store.js'
import HiddenFromSSR from '../_components/HiddenFromSSR'
import TimelinePage from '../_components/TimelinePage.html'
export default {
store: () => store,
components: {
FreeTextLayout,
HiddenFromSSR,
TimelinePage
}
2018-04-20 04:38:01 +00:00
}
</script>