wip: espace-membre page

This commit is contained in:
2025-09-16 14:04:19 -04:00
parent e50918ac39
commit 0e8b313608
4 changed files with 28 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
<script setup lang="ts">
defineProps<{ showLabels: boolean }>();
const { loggedIn } = useUserSession();
</script>
<template>
<AuthState>
<UButton
:icon="loggedIn ? 'i-lucide-log-out' : 'i-lucide-log-in'"
color="neutral"
to="/auth"
:label="showLabels ? (loggedIn ? 'Déconnexion' : 'Connexion') : undefined"
/>
</AuthState>
</template>