feat(theme): add global layout slots (#760) (#812)

pull/816/head
Divyansh Singh 2 years ago committed by GitHub
parent 773769926b
commit 1f1e298864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,6 +22,7 @@ provide('close-sidebar', closeSidebar)
<template> <template>
<div class="Layout"> <div class="Layout">
<slot name="layout-top" />
<VPSkipLink /> <VPSkipLink />
<VPBackdrop class="backdrop" :show="isSidebarOpen" @click="closeSidebar" /> <VPBackdrop class="backdrop" :show="isSidebarOpen" @click="closeSidebar" />
<VPNav /> <VPNav />
@ -46,6 +47,7 @@ provide('close-sidebar', closeSidebar)
</VPContent> </VPContent>
<VPFooter /> <VPFooter />
<slot name="layout-bottom" />
</div> </div>
</template> </template>

Loading…
Cancel
Save