mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-29 11:20:32 +01:00
worki
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user