lint code

Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
2024-04-20 01:12:41 +02:00
parent c698bfec8a
commit 4574a7dccd
69 changed files with 3110 additions and 3013 deletions

View File

@@ -1,31 +1,31 @@
<script setup lang="ts">
import { SpeedInsights } from '@vercel/speed-insights/nuxt'
import {SpeedInsights} from '@vercel/speed-insights/nuxt'
const router = useRouter()
router.afterEach((route) => {
useCookie('last-route', { path: '/', default: () => '/' }).value = route.fullPath
useCookie('last-route', { path: '/', default: () => '/' }).value = route.fullPath
})
useHead({
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.jpeg' }],
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.jpeg' }],
})
</script>
<template>
<div>
<SpeedInsights />
<Background />
<NuxtLoadingIndicator :color="$colorMode.value === 'light' ? 'black' : 'white'" />
<section class="fixed inset-0 flex justify-center sm:px-8">
<div class="flex w-full max-w-9xl">
<div class="w-full z-20 bg-white ring-1 ring-zinc-100 dark:bg-zinc-900 dark:ring-zinc-300/20" />
</div>
</section>
<main class="relative z-50 min-h-[100svh]">
<Header />
<NuxtPage />
<Footer />
</main>
<UNotifications />
</div>
<div>
<SpeedInsights />
<Background />
<NuxtLoadingIndicator :color="$colorMode.value === 'light' ? 'black' : 'white'" />
<section class="fixed inset-0 flex justify-center sm:px-8">
<div class="flex w-full max-w-9xl">
<div class="w-full z-20 bg-white ring-1 ring-zinc-100 dark:bg-zinc-900 dark:ring-zinc-300/20" />
</div>
</section>
<main class="relative z-50 min-h-[100svh]">
<Header />
<NuxtPage />
<Footer />
</main>
<UNotifications />
</div>
</template>