Skip to content

Commit

Permalink
feat(theme): add global layout slots (#760) (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Jun 18, 2022
1 parent 7737699 commit 1f1e298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/theme-default/Layout.vue
Expand Up @@ -22,6 +22,7 @@ provide('close-sidebar', closeSidebar)

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

<VPFooter />
<slot name="layout-bottom" />
</div>
</template>

Expand Down

0 comments on commit 1f1e298

Please sign in to comment.