User can signup / signin (WIP)

This commit is contained in:
ChatonDeAru
2024-09-14 01:40:55 +02:00
committed by ChatonDeAru (Romain)
parent c35de52aec
commit 37b2238b84
16 changed files with 663 additions and 365 deletions

View File

@@ -1,30 +1,13 @@
<script setup lang="ts">
useHead({
bodyAttrs: {
class: 'bg-[#F9DD75F2]'
class: 'bg-orange-200 dark:bg-orange-900 dark:bg-opacity-30'
}
})
const links = [{
label: 'Les actus',
to: '/'
}, {
label: 'Rejoindre FO',
to: '/join'
}]
</script>
<template>
<UHeader :links="links" class="rounded-xl shadow-lg bg-white mx-4 mt-4">
<template #left>
<!-- <p class="font-logo text-orange-500 stroke-5 stroke-black-500 text-hlogo">Force Orange</p> -->
<NuxtImg src="/assets/img/logo-fo.svg" alt="Force Orange" />
</template>
<template #right>
<UColorModeButton />
<UButton to="/signin" variant="soft">Se connecter</UButton>
</template>
</UHeader>
<FOHeader />
<UMain class="m-4">
<slot />