From 400471e957f0970868e518817a6c2751befc50d3 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 19:42:08 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 28e66ee..24e1624 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,7 +1,8 @@ import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; import ContactCta from '@/components/sections/contact/ContactCta'; import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesBento from '@/components/sections/features/FeaturesBento'; +import FeaturesBentoOriginal from '@/components/sections/features/FeaturesBento'; +const FeaturesBento = FeaturesBentoOriginal as any; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; -- 2.49.1 From d64c08a1e1987f2512d5a4366e0b0bc4579b5e90 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 15 Jun 2026 19:42:16 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 140 ++++++++++------------------------------- 1 file changed, 32 insertions(+), 108 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 24e1624..9cc84c3 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,8 +1,7 @@ import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; import ContactCta from '@/components/sections/contact/ContactCta'; import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion'; -import FeaturesBentoOriginal from '@/components/sections/features/FeaturesBento'; -const FeaturesBento = FeaturesBentoOriginal as any; +import FeaturesBento from '@/components/sections/features/FeaturesBento'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; @@ -18,32 +17,22 @@ export default function HomePage() { title="Hôtel Eden : Votre havre de paix" description="Découvrez le confort et l'élégance au cœur d'El Makam. Un séjour inoubliable vous attend." primaryButton={{ - text: "Vérifier la disponibilité", - href: "#contact", - }} + text: "Vérifier la disponibilité", href: "#contact"}} secondaryButton={{ - text: "En savoir plus", - href: "#about", - }} + text: "En savoir plus", href: "#about"}} items={[ { - imageSrc: "http://img.b2bpic.net/free-photo/hallway-modern-style_1127-3391.jpg?_wi=1", - }, + imageSrc: "http://img.b2bpic.net/free-photo/hallway-modern-style_1127-3391.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-beautiful-comtemporary-luxury-bedroom-suite-hotel-with-tv_105762-2058.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-beautiful-comtemporary-luxury-bedroom-suite-hotel-with-tv_105762-2058.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-outdoor-swimming-pool-with-sea-ocean-white-cloud-blue-sky_74190-8834.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/beautiful-outdoor-swimming-pool-with-sea-ocean-white-cloud-blue-sky_74190-8834.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/lounge-area-hotel-front-desk_482257-76248.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/lounge-area-hotel-front-desk_482257-76248.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/man-white-long-sleeve-shirt-sitting-chair-cafe_250224-25.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/man-white-long-sleeve-shirt-sitting-chair-cafe_250224-25.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/tidy-hotel-room-with-brown-curtains_1203-1493.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/tidy-hotel-room-with-brown-curtains_1203-1493.jpg"}, ]} /> @@ -68,22 +57,14 @@ export default function HomePage() { description="Profitez d'installations conçues pour votre bien-être absolu." features={[ { - title: "Restauration", - description: "Découvrez une gastronomie raffinée au cœur de notre restaurant.", - bentoComponent: "media-stack", - mediaItems: [ + title: "Restauration", description: "Découvrez une gastronomie raffinée au cœur de notre restaurant.", bentoComponent: "media-stack", mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/mix-sliced-ham-sweet-chili_140725-3841.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/mix-sliced-ham-sweet-chili_140725-3841.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-asian-woman-relax-smile-happy-around-swimming-pool-hotel-resort_74190-8880.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-asian-woman-relax-smile-happy-around-swimming-pool-hotel-resort_74190-8880.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-loft-scandinavian-living-room-with-working-table-bookshelf_105762-2141.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/3d-rendering-loft-scandinavian-living-room-with-working-table-bookshelf_105762-2141.jpg"}, ], - imageSrc: "http://img.b2bpic.net/free-photo/hallway-modern-style_1127-3391.jpg?_wi=2", - imageAlt: "hotel breakfast restaurant buffet", }, ]} /> @@ -98,40 +79,19 @@ export default function HomePage() { description="Chaque détail est pensé pour assurer votre repos et votre confort." items={[ { - title: "Suite Royale", - description: "Luxe et espace", - imageSrc: "http://img.b2bpic.net/free-photo/interior-design-neoclassical-style-with-furnishings-decor_23-2151199314.jpg", - }, + title: "Suite Royale", description: "Luxe et espace", imageSrc: "http://img.b2bpic.net/free-photo/interior-design-neoclassical-style-with-furnishings-decor_23-2151199314.jpg"}, { - title: "Chambre Standard", - description: "Confort essentiel", - imageSrc: "http://img.b2bpic.net/free-photo/spa-essentials-with-towels-candles-minimalist-vibe_169016-69791.jpg", - }, + title: "Chambre Standard", description: "Confort essentiel", imageSrc: "http://img.b2bpic.net/free-photo/spa-essentials-with-towels-candles-minimalist-vibe_169016-69791.jpg"}, { - title: "Salle de Conférence", - description: "Équipement professionnel", - imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-modern-style-open-space-office-interior_181624-19369.jpg", - }, + title: "Salle de Conférence", description: "Équipement professionnel", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-modern-style-open-space-office-interior_181624-19369.jpg"}, { - title: "Espace Fitness", - description: "Détente active", - imageSrc: "http://img.b2bpic.net/free-photo/3d-gym-equipment_23-2151114244.jpg", - }, + title: "Espace Fitness", description: "Détente active", imageSrc: "http://img.b2bpic.net/free-photo/3d-gym-equipment_23-2151114244.jpg"}, { - title: "Piscine", - description: "Loisir & Détente", - imageSrc: "http://img.b2bpic.net/free-photo/umbrella-chair-around-outdoor-swimming-pool-hotel-resort-with-sea-ocean-view-travel-vacation_74190-14747.jpg", - }, + title: "Piscine", description: "Loisir & Détente", imageSrc: "http://img.b2bpic.net/free-photo/umbrella-chair-around-outdoor-swimming-pool-hotel-resort-with-sea-ocean-view-travel-vacation_74190-14747.jpg"}, { - title: "Hall d'Accueil", - description: "Design moderne", - imageSrc: "http://img.b2bpic.net/free-photo/furniture-room-background-sofa-contemporary_1203-4464.jpg", - }, + title: "Hall d'Accueil", description: "Design moderne", imageSrc: "http://img.b2bpic.net/free-photo/furniture-room-background-sofa-contemporary_1203-4464.jpg"}, { - title: "Espace Lounge", - description: "Ambiance élégante", - imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed_1203-9643.jpg", - }, + title: "Espace Lounge", description: "Ambiance élégante", imageSrc: "http://img.b2bpic.net/free-photo/pillow-bed_1203-9643.jpg"}, ]} /> @@ -145,35 +105,15 @@ export default function HomePage() { description="Une satisfaction client au cœur de nos priorités." testimonials={[ { - name: "Ahmed", - role: "Voyageur", - quote: "Excellent séjour, très bien situé.", - imageSrc: "http://img.b2bpic.net/free-photo/woman-with-tea_1098-13992.jpg", - }, + name: "Ahmed", role: "Voyageur", quote: "Excellent séjour, très bien situé.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-tea_1098-13992.jpg"}, { - name: "Fatima", - role: "Professionnelle", - quote: "Confort moderne et personnel aimable.", - imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-holding-camera-hand-looking-camera_23-2148148681.jpg", - }, + name: "Fatima", role: "Professionnelle", quote: "Confort moderne et personnel aimable.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-holding-camera-hand-looking-camera_23-2148148681.jpg"}, { - name: "Karim", - role: "Touriste", - quote: "Propreté impeccable et design élégant.", - imageSrc: "http://img.b2bpic.net/free-photo/senior-couple-luxury-resort-selfies_482257-96081.jpg", - }, + name: "Karim", role: "Touriste", quote: "Propreté impeccable et design élégant.", imageSrc: "http://img.b2bpic.net/free-photo/senior-couple-luxury-resort-selfies_482257-96081.jpg"}, { - name: "Sara", - role: "Cliente", - quote: "Très satisfait, je recommande vivement.", - imageSrc: "http://img.b2bpic.net/free-photo/hotel-receptionist-work_23-2149661584.jpg", - }, + name: "Sara", role: "Cliente", quote: "Très satisfait, je recommande vivement.", imageSrc: "http://img.b2bpic.net/free-photo/hotel-receptionist-work_23-2149661584.jpg"}, { - name: "Omar", - role: "Voyageur", - quote: "Une adresse incontournable à Sidi Bel-Abbès.", - imageSrc: "http://img.b2bpic.net/free-photo/people-doing-cold-exposure-treatment_23-2151205897.jpg", - }, + name: "Omar", role: "Voyageur", quote: "Une adresse incontournable à Sidi Bel-Abbès.", imageSrc: "http://img.b2bpic.net/free-photo/people-doing-cold-exposure-treatment_23-2151205897.jpg"}, ]} /> @@ -187,30 +127,18 @@ export default function HomePage() { description="Réponses à vos questions fréquentes." categories={[ { - name: "Informations", - items: [ + name: "Informations", items: [ { - question: "Quelle est l'heure de départ ?", - answer: "L'heure de départ est fixée à 12:00 PM.", - }, + question: "Quelle est l'heure de départ ?", answer: "L'heure de départ est fixée à 12:00 PM."}, { - question: "Y a-t-il un parking ?", - answer: "Oui, parking sécurisé disponible.", - }, + question: "Y a-t-il un parking ?", answer: "Oui, parking sécurisé disponible."}, { - question: "Le petit-déjeuner est inclus ?", - answer: "Selon votre formule de réservation.", - }, + question: "Le petit-déjeuner est inclus ?", answer: "Selon votre formule de réservation."}, ], }, ]} cta={{ - name: "Service Client", - role: "Réception", - buttonText: "Appeler", - buttonHref: "tel:048771010", - imageSrc: "http://img.b2bpic.net/free-photo/woman-talking-phone-home_23-2148990135.jpg", - }} + name: "Service Client", role: "Réception", buttonText: "Appeler", buttonHref: "tel:048771010", imageSrc: "http://img.b2bpic.net/free-photo/woman-talking-phone-home_23-2148990135.jpg"}} /> @@ -221,13 +149,9 @@ export default function HomePage() { tag="Réserver" text="Prêt pour votre séjour ? Contactez-nous dès maintenant pour réserver." primaryButton={{ - text: "Appeler l'hôtel", - href: "tel:048771010", - }} + text: "Appeler l'hôtel", href: "tel:048771010"}} secondaryButton={{ - text: "Voir l'itinéraire", - href: "https://maps.google.com", - }} + text: "Voir l'itinéraire", href: "https://maps.google.com"}} /> -- 2.49.1