feat(ui): add noWrapper option
This commit is contained in:
parent
0a5a649cfe
commit
4f9b94921a
1 changed files with 7 additions and 1 deletions
|
|
@ -1,14 +1,20 @@
|
|||
<template>
|
||||
<div class="flex flex-col w-full min-h-screen bg-zinc-900">
|
||||
<div v-if="!noWrapper" class="flex flex-col w-full min-h-screen bg-zinc-900">
|
||||
<UserHeader class="z-50" />
|
||||
<div class="grow flex">
|
||||
<NuxtPage />
|
||||
</div>
|
||||
<UserFooter class="z-50" />
|
||||
</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`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue