pinafore/routes/index.html

30 lines
550 B
HTML
Raw Normal View History

2018-01-06 23:51:25 +00:00
<:Head>
2018-01-09 02:14:21 +00:00
<title>Pinafore</title>
2018-01-06 23:51:25 +00:00
</:Head>
<Layout page='home'>
2018-01-09 02:14:21 +00:00
{{#if $isUserLoggedIn}}
2018-01-19 07:37:43 +00:00
<LazyTimeline timeline='home' />
2018-01-09 02:14:21 +00:00
{{else}}
<NotLoggedInHome/>
{{/if}}
2018-01-06 23:51:25 +00:00
</Layout>
2018-01-09 02:14:21 +00:00
2018-01-06 23:51:25 +00:00
<script>
2018-01-09 02:14:21 +00:00
import Layout from './_components/Layout.html'
import NotLoggedInHome from './_components/NotLoggedInHome.html'
2018-01-15 07:24:27 +00:00
import LazyTimeline from './_components/LazyTimeline.html'
2018-01-09 02:14:21 +00:00
import { store } from './_utils/store.js'
2018-01-06 23:51:25 +00:00
export default {
store: () => store,
2018-01-06 23:51:25 +00:00
components: {
2018-01-09 02:14:21 +00:00
Layout,
2018-01-15 07:24:27 +00:00
LazyTimeline,
2018-01-09 02:14:21 +00:00
NotLoggedInHome
2018-01-06 23:51:25 +00:00
}
2018-01-08 06:13:15 +00:00
}
2018-01-08 00:12:11 +00:00
</script>
<style>
</style>