fix auth
Some checks failed
Build and Publish / build-release (push) Failing after 1m31s

This commit is contained in:
2026-05-14 12:12:03 -05:00
parent f19a727ef0
commit 3a52768b97
17 changed files with 601 additions and 41 deletions

View File

@@ -1,5 +1,8 @@
<script setup lang="ts">
/* ── Time ── */
const { data: session } = useAuth()
const userName = computed(() => session.value?.user?.name || 'User')
const timeGreeting = computed(() => {
const h = new Date().getHours()
if (h < 12) return 'Good morning'
@@ -18,7 +21,7 @@ const currentDate = computed(() =>
<!-- Greeting -->
<div class="mb-12">
<h1 class="text-3xl font-semibold tracking-tight text-[var(--text-primary)]">
{{ timeGreeting }}, User
{{ timeGreeting }}, {{ userName }}
</h1>
<p class="mt-1 text-sm text-[var(--text-muted)]">{{ currentDate }}</p>
</div>