layouts/full-width-no-footer.vue
<template>
<div class="min-h-full flex flex-col is-clipped">
<Navbar />
<main class="flex-grow">
<Error
v-if="$nuxt.isOffline"
:has-img="false"
error-subtitle="Please check your network connections"
error-title="Offline Detected"
/>
<NuxtPage v-else />
</main>
<LazyCookieBanner />
<KeyboardShortcutsModal />
<Buy />
</div>
</template>
<script lang="ts" setup>
const { $config } = useNuxtApp()
const route = useRoute()
useHead({
link: [
{
hid: 'canonical',
rel: 'canonical',
href: $config.public.baseUrl + route.path,
},
],
})
</script>