Merge pull request #2173 from rramiachraf/master

fix: make footer stick to the bottom
This commit is contained in:
Bnyro 2023-03-14 19:28:16 +01:00 committed by GitHub
commit a4cd8a6a69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,13 @@
<template>
<div class="w-full min-h-screen px-1vw py-5 reset" :class="[theme]">
<NavBar />
<router-view v-slot="{ Component }">
<keep-alive :max="5">
<component :is="Component" :key="$route.fullPath" />
</keep-alive>
</router-view>
<div class="flex flex-col w-full min-h-screen px-1vw py-5 reset" :class="[theme]">
<div class="flex-1">
<NavBar />
<router-view v-slot="{ Component }">
<keep-alive :max="5">
<component :is="Component" :key="$route.fullPath" />
</keep-alive>
</router-view>
</div>
<FooterComponent />
</div>