diff --git a/nuxt4-app/app/components/UserMenu.vue b/nuxt4-app/app/components/UserMenu.vue index 63ded28..b22bedf 100644 --- a/nuxt4-app/app/components/UserMenu.vue +++ b/nuxt4-app/app/components/UserMenu.vue @@ -24,12 +24,19 @@ const items = computed(() => [ slot: 'account', type: 'label' }], + [{ + label: 'Metadatos', + description: 'Información del usuario', + icon: 'i-heroicons-information-circle', + iconClass: 'text-purple-500', + slot: 'metadata' + }], [{ label: 'Mi Perfil', description: 'Ver y editar perfil', icon: 'i-lucide-user', iconClass: 'text-blue-500', - to: '/profile', + click: () => goToProfile(), slot: 'profile' }, { @@ -39,15 +46,6 @@ const items = computed(() => [ iconClass: 'text-gray-500', to: '/settings', slot: 'settings' - }, - { - label: 'Notificaciones', - description: 'Gestionar notificaciones', - icon: 'i-lucide-bell', - iconClass: 'text-amber-500', - to: '/notifications', - slot: 'notifications', - badge: '3' }], [{ label: 'Ayuda y Soporte', @@ -150,6 +148,85 @@ const items = computed(() => [ + + - diff --git a/nuxt4-app/app/components/auth/BackendVerificationButton.vue b/nuxt4-app/app/components/auth/BackendVerificationButton.vue new file mode 100644 index 0000000..a3cf8c0 --- /dev/null +++ b/nuxt4-app/app/components/auth/BackendVerificationButton.vue @@ -0,0 +1,82 @@ + + + + + diff --git a/nuxt4-app/app/components/auth/CheckAuthentikAdminsButton.vue b/nuxt4-app/app/components/auth/CheckAuthentikAdminsButton.vue new file mode 100644 index 0000000..f5a016d --- /dev/null +++ b/nuxt4-app/app/components/auth/CheckAuthentikAdminsButton.vue @@ -0,0 +1,20 @@ + + + diff --git a/nuxt4-app/app/components/auth/CheckGrupoPruebaButton.vue b/nuxt4-app/app/components/auth/CheckGrupoPruebaButton.vue new file mode 100644 index 0000000..b431160 --- /dev/null +++ b/nuxt4-app/app/components/auth/CheckGrupoPruebaButton.vue @@ -0,0 +1,20 @@ + + + diff --git a/nuxt4-app/app/components/auth/CheckLvl0Button.vue b/nuxt4-app/app/components/auth/CheckLvl0Button.vue new file mode 100644 index 0000000..6591814 --- /dev/null +++ b/nuxt4-app/app/components/auth/CheckLvl0Button.vue @@ -0,0 +1,20 @@ + + + diff --git a/nuxt4-app/app/components/auth/CheckPublicAccessButton.vue b/nuxt4-app/app/components/auth/CheckPublicAccessButton.vue new file mode 100644 index 0000000..120f006 --- /dev/null +++ b/nuxt4-app/app/components/auth/CheckPublicAccessButton.vue @@ -0,0 +1,20 @@ + + + diff --git a/nuxt4-app/app/components/auth/FrontendVerificationButton.vue b/nuxt4-app/app/components/auth/FrontendVerificationButton.vue new file mode 100644 index 0000000..ed93d56 --- /dev/null +++ b/nuxt4-app/app/components/auth/FrontendVerificationButton.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/nuxt4-app/app/components/auth/GroupCheckButton.vue b/nuxt4-app/app/components/auth/GroupCheckButton.vue new file mode 100644 index 0000000..bf44d05 --- /dev/null +++ b/nuxt4-app/app/components/auth/GroupCheckButton.vue @@ -0,0 +1,112 @@ + + + + + diff --git a/nuxt4-app/app/components/auth/LoginButton.vue b/nuxt4-app/app/components/auth/LoginButton.vue new file mode 100644 index 0000000..b02a705 --- /dev/null +++ b/nuxt4-app/app/components/auth/LoginButton.vue @@ -0,0 +1,19 @@ + + + diff --git a/nuxt4-app/app/components/auth/LogoutButton.vue b/nuxt4-app/app/components/auth/LogoutButton.vue new file mode 100644 index 0000000..193012d --- /dev/null +++ b/nuxt4-app/app/components/auth/LogoutButton.vue @@ -0,0 +1,21 @@ + + + diff --git a/nuxt4-app/app/components/auth/ProfileButton.vue b/nuxt4-app/app/components/auth/ProfileButton.vue new file mode 100644 index 0000000..11d81ff --- /dev/null +++ b/nuxt4-app/app/components/auth/ProfileButton.vue @@ -0,0 +1,20 @@ + + + diff --git a/nuxt4-app/app/components/auth/SessionStatusButton.vue b/nuxt4-app/app/components/auth/SessionStatusButton.vue new file mode 100644 index 0000000..68b6465 --- /dev/null +++ b/nuxt4-app/app/components/auth/SessionStatusButton.vue @@ -0,0 +1,21 @@ + + + diff --git a/nuxt4-app/app/components/auth/UserAvatar.vue b/nuxt4-app/app/components/auth/UserAvatar.vue new file mode 100644 index 0000000..c11c039 --- /dev/null +++ b/nuxt4-app/app/components/auth/UserAvatar.vue @@ -0,0 +1,20 @@ + + + diff --git a/nuxt4-app/app/components/auth/UserMetadata.vue b/nuxt4-app/app/components/auth/UserMetadata.vue new file mode 100644 index 0000000..2151c63 --- /dev/null +++ b/nuxt4-app/app/components/auth/UserMetadata.vue @@ -0,0 +1,90 @@ + + +