1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-01 06:16:47 +01:00

27 lines
531 B
HTML
Raw Normal View History

<Nav {page} />
2018-01-06 15:51:25 -08:00
<div class="main-content">
<main>
<slot></slot>
</main>
{#if !$isUserLoggedIn && page === 'home'}
<InformationalFooter />
{/if}
</div>
2018-01-06 15:51:25 -08:00
<script>
2018-04-19 21:38:01 -07:00
import Nav from './Nav.html'
2018-01-28 13:09:39 -08:00
import { store } from '../_store/store'
import InformationalFooter from './InformationalFooter.html'
2018-01-06 15:51:25 -08:00
2018-04-19 21:38:01 -07:00
export default {
components: {
Nav,
InformationalFooter
},
oncreate () {
let { page } = this.get()
this.store.set({ currentPage: page })
},
store: () => store
2018-04-19 21:38:01 -07:00
}
2018-01-06 15:51:25 -08:00
</script>