This commit is contained in:
2023-09-05 00:23:09 +02:00
parent 68f5c068fb
commit 6d54bb4768
2 changed files with 2 additions and 3 deletions

View File

@@ -10,7 +10,6 @@ defineProps({
<template> <template>
<header class="z-30 sticky top-0 left-0 flex justify-center w-full"> <header class="z-30 sticky top-0 left-0 flex justify-center w-full">
<div class="w-full px-4 sm:px-6 lg:px-8 sm:mx-8 max-w-7xl py-4 flex justify-between bg-white dark:bg-zinc-900 border-b border-zinc-100 dark:border-zinc-300/10"> <div class="w-full px-4 sm:px-6 lg:px-8 sm:mx-8 max-w-7xl py-4 flex justify-between bg-white dark:bg-zinc-900 border-b border-zinc-100 dark:border-zinc-300/10">
<ClientOnly>
<Logo /> <Logo />
<NavBar v-if="navigation" /> <NavBar v-if="navigation" />
<div class="flex gap-2"> <div class="flex gap-2">
@@ -20,7 +19,6 @@ defineProps({
</div> </div>
<MobileNavBar v-if="navigation" /> <MobileNavBar v-if="navigation" />
</div> </div>
</ClientOnly>
</div> </div>
</header> </header>
</template> </template>

View File

@@ -1,9 +1,10 @@
<script setup lang="ts"> <script setup lang="ts">
import type { NuxtError } from 'nuxt/app' import type { NuxtError } from 'nuxt/app';
defineProps({ defineProps({
error: Object as () => NuxtError, error: Object as () => NuxtError,
}) })
const appConfig = useAppConfig() const appConfig = useAppConfig()
const getColor = computed(() => appConfig.ui.primary) const getColor = computed(() => appConfig.ui.primary)
</script> </script>