mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 09:23:50 +01:00
480af5759f
close #15
27 lines
606 B
Vue
27 lines
606 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" :hasBorder="true" />
|
|
<div class="main-content" :class="$style.slimPageRoot">
|
|
<slot />
|
|
</div>
|
|
<GFooter class="bg-slate-100 dark:bg-gray-900" />
|
|
</div>
|
|
</template>
|
|
|
|
<style module>
|
|
.slimPageRoot {
|
|
min-height: calc(100vh - 4rem);
|
|
}
|
|
</style>
|