Pinafore-Web-Client-Frontend/routes/_components/Layout.html

26 lines
503 B
HTML

<Nav :page :dynamicPage :dynamicHref :dynamicIcon :dynamicLabel/>
{{#if virtual}}
<VirtualListContainer storeKey="{{virtualStoreKey}}">
<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'
export default {
components: {
VirtualListContainer,
Nav
}
}
</script>