pinafore/routes/_components/Layout.html
2018-01-27 10:46:52 -08:00

28 lines
588 B
HTML

<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel/>
{{#if virtual}}
<VirtualListContainer realm="{{$currentInstance + '/' + virtualRealm}}">
<main>
<slot></slot>
</main>
</VirtualListContainer>
{{else}}
<div class="container">
<main>
<slot></slot>
</main>
</div>
{{/if}}
<script>
import Nav from './Nav.html';
import VirtualListContainer from './virtualList/VirtualListContainer.html'
import { store } from '../_utils/store'
export default {
components: {
VirtualListContainer,
Nav
},
store: () => store
}
</script>