perf(layout): remove footer

This commit is contained in:
thehrz 2023-07-09 21:21:53 +08:00
parent a920bc3d59
commit 6b7d02df13
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158
2 changed files with 17 additions and 21 deletions

View File

@ -1,19 +1,17 @@
<template> <template>
<v-theme-provider :theme="isDark ? 'dark' : 'light'"> <v-theme-provider :theme="isDark ? 'dark' : 'light'">
<v-layout class="text-gray-700 dark:text-gray-200 flex flex-col"> <v-layout class="text-gray-700 dark:text-gray-200 flex flex-col">
<Nav /> <Nav />
<v-main style="--v-layout-top: 25px"> <v-main style="--v-layout-top: 25px;--v-layout-bottom: 70px;">
<router-view v-slot="{ Component }"> <router-view v-slot="{ Component }">
<transition name="fade"> <transition name="fade">
<div class="prose max-w-100ch m-auto"> <div class="prose max-w-100ch m-auto">
<component :is="Component" /> <component :is="Component" />
</div> </div>
</transition> </transition>
</router-view> </router-view>
</v-main> </v-main>
</v-layout>
<Footer /> </v-theme-provider>
</v-layout> </template>
</v-theme-provider>
</template>

View File

@ -12,8 +12,6 @@
</transition> </transition>
</router-view> </router-view>
</div> </div>
<Footer />
</v-app> </v-app>
</v-theme-provider> </v-theme-provider>
</template> </template>