2022-09-30 16:18:49 +02:00
|
|
|
<template>
|
|
|
|
|
2022-12-08 15:17:39 +01:00
|
|
|
<div class="app">
|
2023-01-06 15:46:20 +01:00
|
|
|
<NuxtPage class="app__main" />
|
|
|
|
<AppFooter class="app__footer" />
|
2022-09-30 16:18:49 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
|
2023-01-06 15:46:20 +01:00
|
|
|
// --------------------------------------------------
|
|
|
|
// DATA
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
const pageTitleChunk = useRoute().meta.pageTitleChunk;
|
|
|
|
|
|
|
|
// --------------------------------------------------
|
2022-09-30 16:18:49 +02:00
|
|
|
// HEAD
|
2023-01-06 15:46:20 +01:00
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
useAppHead(pageTitleChunk);
|
2022-09-30 16:18:49 +02:00
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
2023-01-06 15:46:20 +01:00
|
|
|
// --------------------------------------------------
|
2023-02-02 17:02:53 +01:00
|
|
|
// STYLE
|
2023-01-06 15:46:20 +01:00
|
|
|
// --------------------------------------------------
|
2022-12-08 15:17:39 +01:00
|
|
|
|
|
|
|
.app {
|
2023-02-02 17:02:53 +01:00
|
|
|
width: 100%;
|
2022-12-08 15:17:39 +01:00
|
|
|
min-height: 100vh;
|
2023-01-11 15:16:55 +01:00
|
|
|
min-height: 100svh;
|
2022-12-08 15:17:39 +01:00
|
|
|
display: grid;
|
|
|
|
grid:
|
|
|
|
'app-main' 1fr
|
|
|
|
'app-footer' auto
|
2023-01-20 18:08:51 +01:00
|
|
|
/ 100%;
|
|
|
|
place-content: start center;
|
2023-02-15 12:26:30 +01:00
|
|
|
place-items: center;
|
2022-12-08 15:17:39 +01:00
|
|
|
|
|
|
|
&__main {
|
|
|
|
grid-area: app-main;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__footer {
|
|
|
|
grid-area: app-footer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-30 16:18:49 +02:00
|
|
|
</style>
|