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

View File

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