Pinafore-Web-Client-Frontend/routes/index.html

35 lines
775 B
HTML
Raw Normal View History

2018-01-07 00:51:25 +01:00
<:Head>
2018-01-21 20:07:16 +01:00
<title>Pinafore Home</title>
2018-01-07 00:51:25 +01:00
</:Head>
<Layout page='home'>
2018-01-09 03:14:21 +01:00
{{#if $isUserLoggedIn}}
2018-02-26 01:26:43 +01:00
{{#if $currentVerifyCredentials}}
<ComposeBox verifyCredentials="{{$currentVerifyCredentials}}"/>
2018-02-26 01:26:43 +01:00
{{/if}}
<LazyTimeline timeline='home' />
2018-01-09 03:14:21 +01:00
{{else}}
2018-02-26 01:26:43 +01:00
<NotLoggedInHome/>
2018-01-09 03:14:21 +01:00
{{/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'
2018-01-28 01:35:44 +01:00
import LazyTimeline from './_components/timeline/LazyTimeline.html'
import ComposeBox from './_components/compose/ComposeBox.html'
2018-01-28 22:09:39 +01:00
import { store } from './_store/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,
2018-01-15 08:24:27 +01:00
LazyTimeline,
2018-02-26 01:26:43 +01:00
NotLoggedInHome,
ComposeBox
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>