paulnicoue/app.vue

54 lines
1.1 KiB
Vue
Raw Permalink Normal View History

2022-09-30 16:18:49 +02:00
<template>
<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
// --------------------------------------------------
// STYLE
2023-01-06 15:46:20 +01:00
// --------------------------------------------------
.app {
width: 100%;
min-height: 100vh;
2023-01-11 15:16:55 +01:00
min-height: 100svh;
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;
&__main {
grid-area: app-main;
}
&__footer {
grid-area: app-footer;
}
}
2022-09-30 16:18:49 +02:00
</style>