Files
drop/layouts/default.vue
Husky cd93ba2197 massive perf improvements
on the store page, brings LCP down to only 5.6s from 11s. total lighthouse score is now 78
2025-03-14 20:18:26 -04:00

25 lines
569 B
Vue

<template>
<div v-if="!noWrapper" class="flex flex-col w-full min-h-screen bg-zinc-900">
<UserHeader class="z-50" hydrate-on-idle />
<div class="grow flex">
<NuxtPage />
</div>
<UserFooter class="z-50" hydrate-on-interaction />
</div>
<div class="flex w-full min-h-screen bg-zinc-900" v-else>
<NuxtPage />
</div>
</template>
<script setup lang="ts">
const route = useRoute();
const noWrapper = !!route.query.noWrapper;
useHead({
titleTemplate(title) {
if (title) return `${title} | Drop`;
return `Drop`;
},
});
</script>