pinafore/routes/_components/Layout.html

28 lines
588 B
HTML
Raw Normal View History

2018-01-22 04:02:32 +00:00
<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel/>
2018-01-06 23:51:25 +00:00
2018-01-24 17:47:31 +00:00
{{#if virtual}}
<VirtualListContainer realm="{{$currentInstance + '/' + virtualRealm}}">
2018-01-24 17:47:31 +00:00
<main>
<slot></slot>
</main>
</VirtualListContainer>
{{else}}
<div class="container">
<main>
<slot></slot>
</main>
</div>
{{/if}}
2018-01-06 23:51:25 +00:00
<script>
import Nav from './Nav.html';
2018-01-25 16:23:14 +00:00
import VirtualListContainer from './virtualList/VirtualListContainer.html'
import { store } from '../_utils/store'
2018-01-06 23:51:25 +00:00
export default {
components: {
2018-01-23 05:30:14 +00:00
VirtualListContainer,
2018-01-06 23:51:25 +00:00
Nav
},
store: () => store
2018-01-23 05:30:14 +00:00
}
2018-01-06 23:51:25 +00:00
</script>