From a4de97a4a653a92eb67c7139ee44b042c4ddfbfd Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 3 Jun 2026 15:04:04 +0000 Subject: [PATCH] Update src/app/dashboard/page.tsx --- src/app/dashboard/page.tsx | 232 ++++++++----------------------------- 1 file changed, 51 insertions(+), 181 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index 24eef2b..74a051e 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -28,21 +28,13 @@ export default function LandingPage() { @@ -90,26 +71,11 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "appt-1", - name: "Benito Juárez", - price: "11:00 (45 min)", - imageSrc: "http://img.b2bpic.net/free-photo/female-hairdresser-holding-hairbrush_107420-12147.jpg", - imageAlt: "Corte Clásico", - }, + id: "appt-1", name: "Benito Juárez", price: "11:00 (45 min)", imageSrc: "http://img.b2bpic.net/free-photo/female-hairdresser-holding-hairbrush_107420-12147.jpg", imageAlt: "Corte Clásico"}, { - id: "appt-2", - name: "Carlos García", - price: "13:00 (60 min)", - imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x374h2", - imageAlt: "Colorimetría Avanzada", - }, + id: "appt-2", name: "Carlos García", price: "13:00 (60 min)", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=x374h2", imageAlt: "Colorimetría Avanzada"}, { - id: "appt-3", - name: "Laura Díaz", - price: "15:00 (90 min)", - imageSrc: "http://img.b2bpic.net/free-vector/hairpainting-cosmetology-accessories-set-vector_529539-213.jpg", - imageAlt: "Tratamiento Keratina", - }, + id: "appt-3", name: "Laura Díaz", price: "15:00 (90 min)", imageSrc: "http://img.b2bpic.net/free-vector/hairpainting-cosmetology-accessories-set-vector_529539-213.jpg", imageAlt: "Tratamiento Keratina"}, ]} title="Citas de hoy" description="Consulta y gestiona las citas programadas para el día de hoy." @@ -124,33 +90,13 @@ export default function LandingPage() { useInvertedBackground={false} members={[ { - id: "worker-1", - name: "Lucía", - role: "Estilista - Corte (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/woman-architect-using-touch-screen-building-model-maquette-layout-engineer-working-with-blueprint-plan-construction-development-graphic-design-architectural-office_482257-31903.jpg", - imageAlt: "Lucía, Estilista", - }, + id: "worker-1", name: "Lucía", role: "Estilista - Corte (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/woman-architect-using-touch-screen-building-model-maquette-layout-engineer-working-with-blueprint-plan-construction-development-graphic-design-architectural-office_482257-31903.jpg", imageAlt: "Lucía, Estilista"}, { - id: "worker-2", - name: "Marco", - role: "Estilista - Color (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/imposing-bearded-man-is-leaning-table-his-office-he-is-wearing-shirt-suspender-he-has-tattoes-his-arms-there-are-laptop-cup-coffee-background_613910-20706.jpg", - imageAlt: "Marco, Estilista", - }, + id: "worker-2", name: "Marco", role: "Estilista - Color (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/imposing-bearded-man-is-leaning-table-his-office-he-is-wearing-shirt-suspender-he-has-tattoes-his-arms-there-are-laptop-cup-coffee-background_613910-20706.jpg", imageAlt: "Marco, Estilista"}, { - id: "worker-3", - name: "Sofía", - role: "Tratamientos (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/front-view-business-woman-reading-from-tablet_23-2148317323.jpg", - imageAlt: "Sofía, Especialista en Tratamientos", - }, + id: "worker-3", name: "Sofía", role: "Tratamientos (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/front-view-business-woman-reading-from-tablet_23-2148317323.jpg", imageAlt: "Sofía, Especialista en Tratamientos"}, { - id: "worker-4", - name: "Sergio", - role: "Estilista General (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-doctor_23-2149311362.jpg", - imageAlt: "Sergio, Estilista General", - }, + id: "worker-4", name: "Sergio", role: "Estilista General (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-doctor_23-2149311362.jpg", imageAlt: "Sergio, Estilista General"}, ]} title="Trabajadores" description="Administra tu equipo, asigna roles y gestiona la disponibilidad individual." @@ -165,33 +111,13 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "d-service-1", - name: "Corte Clásico Hombre", - price: "45 min • 25€ (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-getting-haircut_23-2148224421.jpg", - imageAlt: "Corte Clásico Hombre", - }, + id: "d-service-1", name: "Corte Clásico Hombre", price: "45 min • 25€ (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-getting-haircut_23-2148224421.jpg", imageAlt: "Corte Clásico Hombre"}, { - id: "d-service-2", - name: "Colorimetría Avanzada", - price: "120 min • 85€ (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-her-hair-dyed-beauty-salon_23-2149167372.jpg", - imageAlt: "Colorimetría Avanzada", - }, + id: "d-service-2", name: "Colorimetría Avanzada", price: "120 min • 85€ (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/woman-getting-her-hair-dyed-beauty-salon_23-2149167372.jpg", imageAlt: "Colorimetría Avanzada"}, { - id: "d-service-3", - name: "Tratamiento Keratina", - price: "90 min • 60€ (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-with-big-lips_23-2148267329.jpg", - imageAlt: "Tratamiento Keratina", - }, + id: "d-service-3", name: "Tratamiento Keratina", price: "90 min • 60€ (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-with-big-lips_23-2148267329.jpg", imageAlt: "Tratamiento Keratina"}, { - id: "d-service-4", - name: "Peinado Especial", - price: "30 min • 35€ (Disponible)", - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-bride-getting-ready_23-2149722032.jpg", - imageAlt: "Peinado Especial", - }, + id: "d-service-4", name: "Peinado Especial", price: "30 min • 35€ (Disponible)", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-bride-getting-ready_23-2149722032.jpg", imageAlt: "Peinado Especial"}, ]} title="Servicios" description="Crea y edita tus servicios, asigna trabajadores y define precios." @@ -204,82 +130,47 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - title: "Lunes", - description: "9:00 — 20:00", - buttons: [ + title: "Lunes", description: "9:00 — 20:00", buttons: [ { - text: "Activo", - }, + text: "Activo"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/square-user-profile-front-side_187299-39570.jpg", - imageAlt: "Lunes Horario", - }, + imageSrc: "http://img.b2bpic.net/free-photo/square-user-profile-front-side_187299-39570.jpg", imageAlt: "Lunes Horario"}, { - title: "Martes", - description: "9:00 — 20:00", - buttons: [ + title: "Martes", description: "9:00 — 20:00", buttons: [ { - text: "Activo", - }, + text: "Activo"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/golden-padlock-with-key_1156-633.jpg", - imageAlt: "Martes Horario", - }, + imageSrc: "http://img.b2bpic.net/free-photo/golden-padlock-with-key_1156-633.jpg", imageAlt: "Martes Horario"}, { - title: "Miércoles", - description: "9:00 — 20:00", - buttons: [ + title: "Miércoles", description: "9:00 — 20:00", buttons: [ { - text: "Activo", - }, + text: "Activo"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/alert-sign-right-side-white-background_187299-40238.jpg", - imageAlt: "Miércoles Horario", - }, + imageSrc: "http://img.b2bpic.net/free-photo/alert-sign-right-side-white-background_187299-40238.jpg", imageAlt: "Miércoles Horario"}, { - title: "Jueves", - description: "9:00 — 20:00", - buttons: [ + title: "Jueves", description: "9:00 — 20:00", buttons: [ { - text: "Activo", - }, + text: "Activo"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/user-sign-icon-front-side_187299-47522.jpg", - imageAlt: "Jueves Horario", - }, + imageSrc: "http://img.b2bpic.net/free-photo/user-sign-icon-front-side_187299-47522.jpg", imageAlt: "Jueves Horario"}, { - title: "Viernes", - description: "9:00 — 20:00", - buttons: [ + title: "Viernes", description: "9:00 — 20:00", buttons: [ { - text: "Activo", - }, + text: "Activo"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/user-profile-front-side_187299-39595.jpg", - imageAlt: "Viernes Horario", - }, + imageSrc: "http://img.b2bpic.net/free-photo/user-profile-front-side_187299-39595.jpg", imageAlt: "Viernes Horario"}, { - title: "Sábado", - description: "10:00 — 14:00", - buttons: [ + title: "Sábado", description: "10:00 — 14:00", buttons: [ { - text: "Activo", - }, + text: "Activo"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/user-profile-icon-front-side_187299-39596.jpg", - imageAlt: "Sábado Horario", - }, + imageSrc: "http://img.b2bpic.net/free-photo/user-profile-icon-front-side_187299-39596.jpg", imageAlt: "Sábado Horario"}, { - title: "Domingo", - description: "Cerrado", - buttons: [ + title: "Domingo", description: "Cerrado", buttons: [ { - text: "Inactivo", - }, + text: "Inactivo"}, ], - imageSrc: "http://img.b2bpic.net/free-vector/wallet-glyph-style-blue-colour_78370-7159.jpg", - imageAlt: "Domingo Horario", - }, + imageSrc: "http://img.b2bpic.net/free-vector/wallet-glyph-style-blue-colour_78370-7159.jpg", imageAlt: "Domingo Horario"}, ]} title="Horas Laborales" description="Configura el horario de apertura de tu negocio y la disponibilidad de tus trabajadores." @@ -290,54 +181,33 @@ export default function LandingPage() {