pinafore/routes/index.html

30 lines
529 B
HTML
Raw Normal View History

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