diff --git a/layouts/article.vue b/layouts/article.vue index 01e754783a6ca8285aaa1a0682345ac00f4e1214..9ccd09d0a8e89d5015887c1963654cda0e03986e 100644 --- a/layouts/article.vue +++ b/layouts/article.vue @@ -1,21 +1,28 @@ <template> <v-card> <v-app> + <v-main style="min-height: 300px"> + <!-- <v-container class="fill-height w-auto" > --> + <!-- <v-card flat max-width="1000" min-height="300" color="transparent"> + <v-card-text> --> + <slot /> + <!-- </v-card-text> + </v-card> --> + <v-footer id="app-footer" app>footer</v-footer> + <!-- </v-container> --> + </v-main> <NavNavbar /> - <NavTableOfContent :links="page.body.toc.links" /> - <v-main style="min-height: 300px"> - <v-container class="px-8"> - <slot /> - - <v-footer app>footer</v-footer> - </v-container></v-main - > </v-app> </v-card> </template> <script setup lang="ts"> -const { navigation, page, surround, globals } = useContent(); +const { page } = useContent(); console.log("the toc", page.value); </script> +<style scoped> +#app-footer { + border-top: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); +} +</style>