Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
<script setup lang="ts">
|
||||
const auth = useAuthStore()
|
||||
const booting = ref(true)
|
||||
|
||||
useSeoMeta({
|
||||
title: 'StreakFit',
|
||||
description: 'Garde la flamme. Entraîne-toi, suis ta série, progresse.'
|
||||
})
|
||||
|
||||
onMounted(async () => {
|
||||
await auth.fetchMe()
|
||||
booting.value = false
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UApp>
|
||||
<NuxtLoadingIndicator color="#F97316" />
|
||||
<SfLoadingScreen v-if="booting" />
|
||||
<NuxtLayout v-else>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</UApp>
|
||||
</template>
|
||||
Reference in New Issue
Block a user