mirror of
https://github.com/lukaszraczylo/beat-delivery-methodology.git
synced 2026-10-21 06:47:02 +00:00
31 lines
592 B
Vue
31 lines
592 B
Vue
<script setup>
|
|
import NavBar from '@/components/layout/NavBar.vue'
|
|
import Footer from '@/components/layout/Footer.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<div class="min-h-screen flex flex-col">
|
|
<NavBar />
|
|
<main class="flex-1">
|
|
<router-view v-slot="{ Component }">
|
|
<transition name="fade" mode="out-in">
|
|
<component :is="Component" />
|
|
</transition>
|
|
</router-view>
|
|
</main>
|
|
<Footer />
|
|
</div>
|
|
</template>
|
|
|
|
<style>
|
|
.fade-enter-active,
|
|
.fade-leave-active {
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.fade-enter-from,
|
|
.fade-leave-to {
|
|
opacity: 0;
|
|
}
|
|
</style>
|