1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-12 10:16:16 +01:00
Pinafore-Web-Client-Frontend/routes/_components/Layout.html
Nolan Lawson c7e4c5cc80 fixup
2018-02-13 09:05:39 -08:00

24 lines
383 B
HTML

<:Window bind:online />
<Nav :page />
<div class="container">
<main>
<slot></slot>
</main>
</div>
<script>
import Nav from './Nav.html';
import { store } from '../_store/store'
export default {
oncreate() {
this.observe('online', online => {
this.store.set({online: online})
})
},
components: {
Nav
},
store: () => store
}
</script>