Merge version_2_1781707777538 into main

Merge version_2_1781707777538 into main
This commit was merged in pull request #4.
This commit is contained in:
2026-06-17 14:50:45 +00:00
9 changed files with 290 additions and 113 deletions

View File

@@ -1,124 +1,38 @@
import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay';
import ContactCta from '@/components/sections/contact/ContactCta';
import FeaturesBento from '@/components/sections/features/FeaturesBento';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import HeroBrand from '@/components/sections/hero/HeroBrand';
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
// AUTO-GENERATED shell by per-section-migrate.
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
// files directly. Non-block content (wrappers, non-inlinable sections) is
// preserved inline; extracted section blocks become <XSection/> refs.
export default function HomePage() {
import React from 'react';
import HeroSection from './HomePage/sections/Hero';
import AboutSection from './HomePage/sections/About';
import MenuSection from './HomePage/sections/Menu';
import FeaturesSection from './HomePage/sections/Features';
import MetricsSection from './HomePage/sections/Metrics';
import ReviewsSection from './HomePage/sections/Reviews';
import ContactSection from './HomePage/sections/Contact';
{/* webild-stub @2026-06-17T14:50:40.364Z: add a location map and store hours section */}
import LocationHoursSection from './HomePage/sections/LocationHours';export default function HomePage(): React.JSX.Element {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBrand
brand="Tchoco Tangier"
description="L'indulgence rencontre l'audace au cœur de Tanger. Burgers, tacos et pizzas dans une atmosphère vibrante et sensuelle."
primaryButton={{ text: "Commander", href: "#menu" }}
secondaryButton={{ text: "Réserver", href: "#contact" }}
imageSrc="http://img.b2bpic.net/free-photo/slice-chocolate-cake-with-fruits-cup-tea-top-view_114579-17549.jpg"
/>
</SectionErrorBoundary>
</div>
<>
<HeroSection />
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutMediaOverlay
tag="L'Esprit Tchoco"
title="Plus qu'un Snack"
description="Né d'une envie de casser les codes. Une atmosphère accueillante, une propreté irréprochable et cette petite touche gourmande qui nous rend uniques."
imageSrc="http://img.b2bpic.net/free-photo/front-view-man-eating-seaweed-snacks_23-2150872519.jpg"
/>
</SectionErrorBoundary>
</div>
<AboutSection />
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesImageBento
tag="Nos Créations"
title="La Carte Gourmande"
description="Des portions généreuses qui rassasient les plus gourmands."
items={[
{ title: "Burger Signature", description: "Viande fraiche, pain maison.", imageSrc: "http://img.b2bpic.net/free-photo/young-people-are-ordering-food-terrace-cafe-discussing-work-future-plans_8353-10105.jpg" },
{ title: "Tacos Premium", description: "Assaisonnements audacieux.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-table-flat-lay_23-2149139522.jpg" },
{ title: "Pizza Artisanale", description: "Pâte fine, ingrédients locaux.", imageSrc: "http://img.b2bpic.net/free-photo/senior-people-having-fun-party_23-2149299023.jpg" },
{ title: "Couscous Tchoco", description: "Tradition revisitée.", imageSrc: "http://img.b2bpic.net/free-photo/lunch-time-with-burgers-studies_23-2148208947.jpg" },
{ title: "Salades Fraîches", description: "Légumes croquants du jour.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-gifts_23-2149212177.jpg" },
{ title: "Desserts Fondants", description: "L'essence de Tchoco.", imageSrc: "http://img.b2bpic.net/free-photo/having-lunch-spacious-restaurant_52683-117480.jpg" },
{ title: "Boissons Maison", description: "Fraicheur garantie.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-cleaning-tools_23-2150552238.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
<MenuSection />
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesBento
tag="Pourquoi Tchoco ?"
title="L'Excellence au quotidien"
description="Ce qui nous distingue dans la scène urbaine de Tanger."
features={[
{
title: "Qualité Inégalée", description: "Ingrédients frais sélectionnés rigoureusement.", bentoComponent: "media-stack", mediaItems: [
{ imageSrc: "http://img.b2bpic.net/free-photo/delicious-set-tasty-burgers-ready-be-served_23-2148290630.jpg" },
{ imageSrc: "http://img.b2bpic.net/free-photo/healthy-menu-recipe-food-diet_53876-122834.jpg" },
{ imageSrc: "http://img.b2bpic.net/free-photo/young-people-vaping-from-hookah-bar_23-2149194192.jpg" }
]
},
{
title: "Prix Honnêtes", description: "Le meilleur rapport qualité-prix en ville.", bentoComponent: "animated-bar-chart"
},
{
title: "Ambiance Vibrante", description: "Une énergie jeune et accueillante.", bentoComponent: "orbiting-icons", centerIcon: "Zap", orbitIcons: ["Music", "Coffee", "Heart"]
}
]}
/>
</SectionErrorBoundary>
</div>
<FeaturesSection />
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsFeatureCards
tag="Notre Impact"
title="Chiffres Gourmands"
description="La satisfaction de nos convives Tangeris."
metrics={[
{ value: "10k+", title: "Repas servis", features: ["Ingrédients frais", "Portions généreuses"] },
{ value: "4.8/5", title: "Note client", features: ["Service rapide", "Accueil pro"] },
{ value: "95%", title: "Satisfaction", features: ["Prix compétitifs", "Ambiance vibrante"] }
]}
/>
</SectionErrorBoundary>
</div>
<MetricsSection />
<div id="reviews" data-section="reviews">
<SectionErrorBoundary name="reviews">
<TestimonialMarqueeCards
tag="Ce qu'ils disent"
title="L'Avis des Convives"
description="Le retour de notre communauté fidèle."
testimonials={[
{ name: "Yassine A.", role: "Client Fidèle", quote: "Quantité largement suffisante et rassasiante. Une pépite.", imageSrc: "http://img.b2bpic.net/free-photo/restaurant-chilling-out-classy-lifestyle-reserved-concept_53876-15896.jpg" },
{ name: "Sofia M.", role: "Étudiante", quote: "L'atmosphère est vibrante et le staff est toujours accueillant.", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-cafe-dines-traditional-shakshuka-ayran_169016-16760.jpg" },
{ name: "Karim R.", role: "Local", quote: "Prix honnêtes et propreté irréprochable. Je recommande vivement.", imageSrc: "http://img.b2bpic.net/free-photo/women-eating-traditional-italian-pizza-together_52683-110887.jpg" },
{ name: "Lina B.", role: "Gourmande", quote: "Délicieux, surtout les pizzas. Une adresse incontournable.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-friends-having-good-time_23-2148395331.jpg" },
{ name: "Omar D.", role: "Habitué", quote: "Staff très pro et plats pleins de saveurs. Super ambiance.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-salad-phone_1303-9020.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
<ReviewsSection />
<LocationHoursSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Rejoignez-nous"
text="Souvent complet, réservez votre table pour vivre l'expérience Tchoco."
primaryButton={{ text: "Réserver sur WhatsApp", href: "https://wa.me/yournumber" }}
secondaryButton={{ text: "Appeler", href: "tel:+21200000000" }}
/>
</SectionErrorBoundary>
</div>
<ContactSection />
</>
);
}

View File

@@ -0,0 +1,21 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "about" section.
import React from 'react';
import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutMediaOverlay
tag="L'Esprit Tchoco"
title="Plus qu'un Snack"
description="Né d'une envie de casser les codes. Une atmosphère accueillante, une propreté irréprochable et cette petite touche gourmande qui nous rend uniques."
imageSrc="http://img.b2bpic.net/free-photo/front-view-man-eating-seaweed-snacks_23-2150872519.jpg"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,21 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "contact" section.
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Rejoignez-nous"
text="Souvent complet, réservez votre table pour vivre l'expérience Tchoco."
primaryButton={{ text: "Réserver sur WhatsApp", href: "https://wa.me/yournumber" }}
secondaryButton={{ text: "Appeler", href: "tel:+21200000000" }}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,35 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "features" section.
import React from 'react';
import FeaturesBento from '@/components/sections/features/FeaturesBento';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FeaturesSection(): React.JSX.Element {
return (
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesBento
tag="Pourquoi Tchoco ?"
title="L'Excellence au quotidien"
description="Ce qui nous distingue dans la scène urbaine de Tanger."
features={[
{
title: "Qualité Inégalée", description: "Ingrédients frais sélectionnés rigoureusement.", bentoComponent: "media-stack", mediaItems: [
{ imageSrc: "http://img.b2bpic.net/free-photo/delicious-set-tasty-burgers-ready-be-served_23-2148290630.jpg" },
{ imageSrc: "http://img.b2bpic.net/free-photo/healthy-menu-recipe-food-diet_53876-122834.jpg" },
{ imageSrc: "http://img.b2bpic.net/free-photo/young-people-vaping-from-hookah-bar_23-2149194192.jpg" }
]
},
{
title: "Prix Honnêtes", description: "Le meilleur rapport qualité-prix en ville.", bentoComponent: "animated-bar-chart"
},
{
title: "Ambiance Vibrante", description: "Une énergie jeune et accueillante.", bentoComponent: "orbiting-icons", centerIcon: "Zap", orbitIcons: ["Music", "Coffee", "Heart"]
}
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,22 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "hero" section.
import React from 'react';
import HeroBrand from '@/components/sections/hero/HeroBrand';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HeroSection(): React.JSX.Element {
return (
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroBrand
brand="Tchoco Tangier"
description="L'indulgence rencontre l'audace au cœur de Tanger. Burgers, tacos et pizzas dans une atmosphère vibrante et sensuelle."
primaryButton={{ text: "Commander", href: "#menu" }}
secondaryButton={{ text: "Réserver", href: "#contact" }}
imageSrc="http://img.b2bpic.net/free-photo/slice-chocolate-cake-with-fruits-cup-tea-top-view_114579-17549.jpg"
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,83 @@
import React from "react";
import { MapPin, Clock } from "lucide-react";
import TextAnimation from "@/components/ui/TextAnimation";
import ScrollReveal from "@/components/ui/ScrollReveal";
import Card from "@/components/ui/Card";
export default function LocationHoursSection() {
return (
<section data-webild-section="location-hours" id="location-hours" className="relative w-full py-24 bg-background">
<div className="max-w-content-width mx-auto px-6">
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
<ScrollReveal variant="slide-up">
<div className="space-y-8">
<div>
<TextAnimation
variant="slide-up"
text="Où nous trouver"
tag="h2"
className="text-4xl md:text-5xl font-bold text-foreground mb-4"
gradientText={false}
/>
<p className="text-lg text-muted-foreground">
Venez découvrir l'expérience Tchoco en plein cœur de Tanger.
</p>
</div>
<div className="space-y-6">
<Card className="p-6 flex items-start gap-4 bg-card">
<div className="p-3 rounded-full bg-primary-cta/10 text-primary-cta">
<MapPin className="w-6 h-6" />
</div>
<div>
<h3 className="text-xl font-semibold text-foreground mb-2">Adresse</h3>
<p className="text-muted-foreground">
123 Avenue Mohammed VI<br />
Tanger, Maroc
</p>
</div>
</Card>
<Card className="p-6 flex items-start gap-4 bg-card">
<div className="p-3 rounded-full bg-primary-cta/10 text-primary-cta">
<Clock className="w-6 h-6" />
</div>
<div>
<h3 className="text-xl font-semibold text-foreground mb-2">Horaires d'ouverture</h3>
<ul className="space-y-2 text-muted-foreground">
<li className="flex justify-between gap-8">
<span>Lundi - Jeudi</span>
<span>11:00 - 23:00</span>
</li>
<li className="flex justify-between gap-8">
<span>Vendredi</span>
<span>14:00 - 00:00</span>
</li>
<li className="flex justify-between gap-8">
<span>Samedi - Dimanche</span>
<span>11:00 - 00:00</span>
</li>
</ul>
</div>
</Card>
</div>
</div>
</ScrollReveal>
<ScrollReveal variant="fade" delay={0.2} className="h-full min-h-[400px] rounded-radius overflow-hidden border border-border">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d103503.38504246878!2d-5.908075670868772!3d35.76325510464679!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0xd0b875cf04c132d%3A0x76bfc571bfb4e17a!2sTangier%2C%20Morocco!5e0!3m2!1sen!2sus!4v1715000000000!5m2!1sen!2sus"
width="100%"
height="100%"
style={{ border: 0, minHeight: "400px" }}
allowFullScreen={true}
loading="lazy"
referrerPolicy="no-referrer-when-downgrade"
className="w-full h-full object-cover grayscale opacity-80 hover:grayscale-0 hover:opacity-100 transition-all duration-500"
></iframe>
</ScrollReveal>
</div>
</div>
</section>
);
}

View File

@@ -0,0 +1,29 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "menu" section.
import React from 'react';
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MenuSection(): React.JSX.Element {
return (
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesImageBento
tag="Nos Créations"
title="La Carte Gourmande"
description="Des portions généreuses qui rassasient les plus gourmands."
items={[
{ title: "Burger Signature", description: "Viande fraiche, pain maison.", imageSrc: "http://img.b2bpic.net/free-photo/young-people-are-ordering-food-terrace-cafe-discussing-work-future-plans_8353-10105.jpg" },
{ title: "Tacos Premium", description: "Assaisonnements audacieux.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-table-flat-lay_23-2149139522.jpg" },
{ title: "Pizza Artisanale", description: "Pâte fine, ingrédients locaux.", imageSrc: "http://img.b2bpic.net/free-photo/senior-people-having-fun-party_23-2149299023.jpg" },
{ title: "Couscous Tchoco", description: "Tradition revisitée.", imageSrc: "http://img.b2bpic.net/free-photo/lunch-time-with-burgers-studies_23-2148208947.jpg" },
{ title: "Salades Fraîches", description: "Légumes croquants du jour.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-gifts_23-2149212177.jpg" },
{ title: "Desserts Fondants", description: "L'essence de Tchoco.", imageSrc: "http://img.b2bpic.net/free-photo/having-lunch-spacious-restaurant_52683-117480.jpg" },
{ title: "Boissons Maison", description: "Fraicheur garantie.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-cleaning-tools_23-2150552238.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,25 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "metrics" section.
import React from 'react';
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MetricsSection(): React.JSX.Element {
return (
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsFeatureCards
tag="Notre Impact"
title="Chiffres Gourmands"
description="La satisfaction de nos convives Tangeris."
metrics={[
{ value: "10k+", title: "Repas servis", features: ["Ingrédients frais", "Portions généreuses"] },
{ value: "4.8/5", title: "Note client", features: ["Service rapide", "Accueil pro"] },
{ value: "95%", title: "Satisfaction", features: ["Prix compétitifs", "Ambiance vibrante"] }
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,27 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "reviews" section.
import React from 'react';
import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function ReviewsSection(): React.JSX.Element {
return (
<div id="reviews" data-section="reviews">
<SectionErrorBoundary name="reviews">
<TestimonialMarqueeCards
tag="Ce qu'ils disent"
title="L'Avis des Convives"
description="Le retour de notre communauté fidèle."
testimonials={[
{ name: "Yassine A.", role: "Client Fidèle", quote: "Quantité largement suffisante et rassasiante. Une pépite.", imageSrc: "http://img.b2bpic.net/free-photo/restaurant-chilling-out-classy-lifestyle-reserved-concept_53876-15896.jpg" },
{ name: "Sofia M.", role: "Étudiante", quote: "L'atmosphère est vibrante et le staff est toujours accueillant.", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-cafe-dines-traditional-shakshuka-ayran_169016-16760.jpg" },
{ name: "Karim R.", role: "Local", quote: "Prix honnêtes et propreté irréprochable. Je recommande vivement.", imageSrc: "http://img.b2bpic.net/free-photo/women-eating-traditional-italian-pizza-together_52683-110887.jpg" },
{ name: "Lina B.", role: "Gourmande", quote: "Délicieux, surtout les pizzas. Une adresse incontournable.", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-friends-having-good-time_23-2148395331.jpg" },
{ name: "Omar D.", role: "Habitué", quote: "Staff très pro et plats pleins de saveurs. Super ambiance.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-salad-phone_1303-9020.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
);
}