4bd181d3cc
* fix: update to latest sapper fixes #416 * fix error and debug pages * requestIdleCallback makes column switching feel way nicer than double rAF * add export feature * add better csp info * workaround for sapper sub-page issue * clarify in readme about exporting * fix now config * switch from rIC to triple raf * style-loader is no longer used * update theming guide
27 lines
628 B
HTML
27 lines
628 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>
|