2018-05-02 00:05:36 +00:00
|
|
|
{#if $isUserLoggedIn}
|
2018-03-30 06:16:53 +00:00
|
|
|
<TimelinePage timeline="local">
|
2018-05-02 00:05:36 +00:00
|
|
|
{#if $pinnedPage !== '/local'}
|
2018-03-30 06:16:53 +00:00
|
|
|
<DynamicPageBanner title="Local Timeline" icon="#fa-users"/>
|
2018-05-02 00:05:36 +00:00
|
|
|
{/if}
|
2018-03-30 06:16:53 +00:00
|
|
|
</TimelinePage>
|
2018-05-02 00:05:36 +00:00
|
|
|
{:else}
|
2018-03-30 06:16:53 +00:00
|
|
|
<HiddenFromSSR>
|
|
|
|
<FreeTextLayout>
|
|
|
|
<h1>Local</h1>
|
2018-03-14 00:14:57 +00:00
|
|
|
|
2018-03-30 06:16:53 +00:00
|
|
|
<p>Your local timeline will appear here when logged in.</p>
|
|
|
|
</FreeTextLayout>
|
|
|
|
</HiddenFromSSR>
|
2018-05-02 00:05:36 +00:00
|
|
|
{/if}
|
2018-03-14 00:14:57 +00:00
|
|
|
<script>
|
2018-03-30 06:16:53 +00:00
|
|
|
import TimelinePage from '.././_components/TimelinePage.html'
|
2018-03-14 00:14:57 +00:00
|
|
|
import FreeTextLayout from '.././_components/FreeTextLayout.html'
|
|
|
|
import { store } from '.././_store/store.js'
|
|
|
|
import HiddenFromSSR from '.././_components/HiddenFromSSR'
|
|
|
|
import DynamicPageBanner from '.././_components/DynamicPageBanner.html'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
store: () => store,
|
|
|
|
components: {
|
2018-03-30 06:16:53 +00:00
|
|
|
TimelinePage,
|
2018-03-14 00:14:57 +00:00
|
|
|
FreeTextLayout,
|
|
|
|
HiddenFromSSR,
|
|
|
|
DynamicPageBanner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|