pinafore/routes/_components/Layout.html
2018-03-12 22:16:52 -07:00

23 lines
421 B
HTML

<Nav :page />
<div class="container">
<main>
<slot></slot>
</main>
{{#if !$isUserLoggedIn && page === 'home'}}
<InformationalFooter />
{{/if}}
</div>
<script>
import Nav from './Nav.html';
import { store } from '../_store/store'
import InformationalFooter from './InformationalFooter.html'
export default {
components: {
Nav,
InformationalFooter
},
store: () => store
}
</script>