58 lines
1.2 KiB
Vue
58 lines
1.2 KiB
Vue
<script setup lang="ts">
|
|
import {Link} from "@inertiajs/vue3";
|
|
import MainHeader from "@/Components/FlightsGoneBy/MainHeader.vue";
|
|
import MainFooter from "@/Components/FlightsGoneBy/MainFooter.vue";
|
|
import Radar from "@/Components/FlightsGoneBy/Radar.vue";
|
|
import { usePage } from "@inertiajs/vue3";
|
|
const page = usePage();
|
|
|
|
</script>
|
|
|
|
<template>
|
|
<Radar>
|
|
<div class="layoutContainer">
|
|
<MainHeader />
|
|
<Transition name="fade" mode="out-in">
|
|
<main id="pageContainer" :key="page.url" >
|
|
<slot />
|
|
</main>
|
|
</Transition>
|
|
<MainFooter />
|
|
</div>
|
|
</Radar>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.layoutContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100dvh;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
}
|
|
|
|
main {
|
|
flex: 1 0 90dvh;
|
|
min-height: 0;
|
|
padding: 1rem;
|
|
background:transparent;
|
|
display:flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
|
|
.fade-enter-from,
|
|
.fade-leave-to {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
|
|
.fade-enter-active,
|
|
.fade-leave-active {
|
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
</style>
|