mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-14 03:05:41 +01:00
42be854521
* upgrade to svelte 2.0 * update svelte-loader to 2.9.0
26 lines
633 B
HTML
26 lines
633 B
HTML
{#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
|
|
}
|
|
}
|
|
</script> |