fix: make footer stick to the bottom

This commit is contained in:
rramiachraf 2023-03-06 16:26:14 +01:00
parent d872c93941
commit ed7be09e54

View file

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