mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-23 01:13:49 +01:00
27 lines
588 B
Vue
27 lines
588 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" :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>
|