diff --git a/nuxt4/app/components/UserProfileForm.vue b/nuxt4/app/components/UserProfileForm.vue index 90f25b8..9e9ef12 100644 --- a/nuxt4/app/components/UserProfileForm.vue +++ b/nuxt4/app/components/UserProfileForm.vue @@ -18,6 +18,37 @@
+ +
+

+ + Foto de Perfil +

+
+ + + {{ currentAvatar && currentAvatar.includes('/avatars/') ? 'Cambiar foto' : 'Tomar foto' }} + + + + + Eliminar + +
+
+

@@ -159,53 +190,6 @@ /> Próximamente disponible

- - -
- - -
- -
- -
- - -
- - - {{ currentAvatar ? 'Cambiar foto' : 'Tomar foto' }} - - - - - Eliminar - -
-
- - - Usa la cámara para tomar una foto de perfil personalizada - -
@@ -567,26 +551,10 @@ const removeAvatar = async () => { font-style: italic; } -.avatar-section { +.avatar-actions-simple { display: flex; - align-items: center; - gap: 2rem; - padding: 1rem; - background: rgba(255, 255, 255, 0.5); - backdrop-filter: blur(10px); - border-radius: 1rem; - border: 1px solid rgba(0, 0, 0, 0.05); -} - -.avatar-preview { - flex-shrink: 0; -} - -.avatar-actions { - display: flex; - flex-direction: column; gap: 0.75rem; - flex: 1; + flex-wrap: wrap; } .camera-modal { @@ -645,15 +613,6 @@ const removeAvatar = async () => { .form-actions { flex-direction: column; } - - .avatar-section { - flex-direction: column; - text-align: center; - } - - .avatar-actions { - width: 100%; - } } @@ -688,11 +647,6 @@ const removeAvatar = async () => { border-top-color: rgba(255, 255, 255, 0.1); } -.dark .avatar-section { - background: rgba(255, 255, 255, 0.05) !important; - border-color: rgba(255, 255, 255, 0.1) !important; -} - .dark .modal-title { color: var(--color-gray-100) !important; }