jointrashposs/layouts/docs.vue
2023-07-15 19:11:23 +09:00

18 lines
445 B
Vue

<script setup lang="ts">
const isNavOpen = ref<boolean>(false);
useHead({
htmlAttrs: {
class: 'scroll-pt-32 lg:scroll-pt-20',
},
});
</script>
<template>
<div class="bg-white dark:bg-slate-950">
<GNav @toggleNav="isNavOpen = !isNavOpen" :is-open="isNavOpen" :slim="true" :disable-shadow="true" />
<div class="main-content">
<slot></slot>
</div>
<GFooter />
</div>
</template>