@innertia-solutions/nuxt-theme-spark 0.1.127 → 0.1.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -89,13 +89,13 @@ const userInitial = computed(() =>
|
|
|
89
89
|
</div>
|
|
90
90
|
|
|
91
91
|
<!-- User info + logout -->
|
|
92
|
-
<div v-if="user" class="flex items-center gap-x-
|
|
93
|
-
<div class="size-
|
|
92
|
+
<div v-if="user" class="flex items-center gap-x-3 px-2 py-1">
|
|
93
|
+
<div class="size-9 rounded-lg bg-primary flex items-center justify-center text-primary-foreground text-sm font-bold shrink-0 select-none">
|
|
94
94
|
{{ userInitial }}
|
|
95
95
|
</div>
|
|
96
96
|
<div class="flex-1 min-w-0">
|
|
97
|
-
<p class="text-
|
|
98
|
-
<p v-if="user.name && user.email" class="text-
|
|
97
|
+
<p class="text-sm font-semibold text-foreground truncate">{{ user.name ?? user.email }}</p>
|
|
98
|
+
<p v-if="user.name && user.email" class="text-xs text-muted-foreground truncate">{{ user.email }}</p>
|
|
99
99
|
</div>
|
|
100
100
|
<button
|
|
101
101
|
type="button"
|