diff options
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> |
