diff options
| author | 2023-04-19 17:50:02 +0800 | |
|---|---|---|
| committer | 2023-04-19 17:50:02 +0800 | |
| commit | 56a6240bf700ac307342ed494d8bfbabe5c822dc (patch) | |
| tree | 0b1288a2ec1cbb538c11f4c122b6a97b9c55a05f /docs/components/app/AppLayout.vue | |
| parent | 3adc965dd09490b7efa1cce9f09b0a3b30970277 (diff) | |
| download | HydroRoll-56a6240bf700ac307342ed494d8bfbabe5c822dc.tar.gz HydroRoll-56a6240bf700ac307342ed494d8bfbabe5c822dc.zip | |
✨docs init
Diffstat (limited to 'docs/components/app/AppLayout.vue')
| -rw-r--r-- | docs/components/app/AppLayout.vue | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/docs/components/app/AppLayout.vue b/docs/components/app/AppLayout.vue deleted file mode 100644 index 97a8d26..0000000 --- a/docs/components/app/AppLayout.vue +++ /dev/null @@ -1,38 +0,0 @@ -<script setup lang="ts"> -const { config } = useDocus() - -useHead({ - titleTemplate: config.value.titleTemplate, - meta: [ - { name: 'twitter:card', content: 'summary_large_image' } - ] -}) - -watch( - () => config.value.titleTemplate, - () => useHead({ titleTemplate: config.value.titleTemplate }) -) - -useContentHead(config.value as any) -</script> - -<template> - <div class="app-layout"> - <AppLoadingBar /> - <AppHeader /> - <main> - <slot /> - </main> - <AppFooter /> - </div> -</template> - -<style lang="ts" scoped> -css({ - '.app-layout': { - main: { - minHeight: 'calc(100vh - {docus.header.height} - {docus.footer.height})', - } - } -}) -</style> |
