<script setup lang="ts">
definePageMeta({
    guestsGoesTo: '/user/login'
});

const { user, clear } = useUserSession();
</script>

<template>
    <Head>
        <Title>Votre profil</Title>
    </Head>
    <div class="site-body-center-column">
        <div class="render-container">
            <div class="not-found-container">
                <ThemeIcon icon="logo" :width=128 :height=128 />
                <div class="not-found-title">Bonjour {{ user?.username }} :)</div>
                <button @click="clear">Se deconnecter</button>
            </div>
        </div>
    </div>
</template>