jointrashposs/layouts/default.vue

19 lines
418 B
Vue
Raw Normal View History

2023-07-08 10:36:02 +02:00
<script setup lang="ts">
const isNavOpen = ref<boolean>(false);
2023-07-11 19:19:32 +02:00
useHead({
htmlAttrs: {
class: 'scroll-pt-20 lg:scroll-pt-24',
},
});
2023-07-08 10:36:02 +02:00
</script>
<template>
2023-07-11 19:19:32 +02:00
<div class="">
2023-07-08 10:36:02 +02:00
<GNav @toggleNav="isNavOpen = !isNavOpen" :is-open="isNavOpen" />
2023-07-09 20:09:50 +02:00
<div class="main-content">
2023-07-08 10:36:02 +02:00
<slot></slot>
</div>
2023-09-09 08:09:04 +02:00
<GFooter class="bg-white dark:bg-slate-950" />
2023-07-08 10:36:02 +02:00
</div>
</template>