Merge version_1_1781622118829 into main

Merge version_1_1781622118829 into main
This commit was merged in pull request #1.
This commit is contained in:
2026-06-16 15:03:07 +00:00
2 changed files with 115 additions and 267 deletions

View File

@@ -7,89 +7,47 @@ import { StyleProvider } from "@/components/ui/StyleProvider";
export default function Layout() {
const navItems = [
{
"name": "Accueil",
"href": "#hero"
},
{
"name": "À propos",
"href": "#about"
},
{
"name": "Menu",
"href": "#menu"
},
{
"name": "Contact",
"href": "#contact"
},
{
"name": "Features",
"href": "#features"
},
{
"name": "Testimonials",
"href": "#testimonials"
},
{
"name": "Metrics",
"href": "#metrics"
}
];
{ name: "Accueil", href: "#hero" },
{ name: "À propos", href: "#about" },
{ name: "Menu", href: "#menu" },
{ name: "Contact", href: "#contact" }
];
return (
<StyleProvider buttonVariant="bounce" siteBackground="gridDots" heroBackground="gradientBars">
<SiteBackgroundSlot />
<SectionErrorBoundary name="navbar">
<NavbarFloatingLogo
logo="CAFFE-RESTO"
ctaButton={{
text: "Réserver",
href: "#contact",
}}
navItems={navItems} />
logo="CAFFE-RESTO"
logoImageSrc="https://storage.googleapis.com/webild/default/no-image.jpg?id=y54trv"
ctaButton={{ text: "Réserver", href: "#contact" }}
navItems={navItems}
/>
</SectionErrorBoundary>
<main className="flex-grow">
<Outlet />
</main>
<SectionErrorBoundary name="footer">
<FooterBasic
columns={[
{
title: "Navigation",
items: [
columns={[
{
label: "Accueil",
href: "#hero",
title: "Navigation", items: [
{ label: "Accueil", href: "#hero" },
{ label: "Menu", href: "#menu" },
{ label: "Contact", href: "#contact" }
]
},
{
label: "Menu",
href: "#menu",
},
{
label: "Contact",
href: "#contact",
},
],
},
{
title: "Legal",
items: [
{
label: "Mentions Légales",
href: "#",
},
{
label: "Confidentialité",
href: "#",
},
],
},
]}
leftText="CAFFE-RESTO © 2024. Bouskoura, Maroc."
rightText="L'élégance du café, le plaisir de la gastronomie."
/>
title: "Legal", items: [
{ label: "Mentions Légales", href: "#" },
{ label: "Confidentialité", href: "#" }
]
}
]}
leftText="CAFFE-RESTO © 2024. Bouskoura, Maroc."
rightText="L'élégance du café, le plaisir de la gastronomie."
/>
</SectionErrorBoundary>
</StyleProvider>
);
}
}

View File

@@ -11,217 +11,107 @@ import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HomePage() {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroSplitMediaGrid
tag="Bienvenue chez nous"
title="Une expérience raffinée au cœur de Bouskoura"
description="Savourez des cafés d'exception, des petits-déjeuners gourmands et une cuisine préparée avec passion dans un cadre moderne."
primaryButton={{
text: "Réserver une table",
href: "#contact",
}}
secondaryButton={{
text: "Découvrir notre menu",
href: "#menu",
}}
items={[
{
imageSrc: "http://img.b2bpic.net/free-photo/business-people-dining-together-concept_53876-26275.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/front-view-breakfast-table-people-around-table-having-their-meal-daytime-food-meal-breakfast-tea_140725-25902.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
tag="Bienvenue chez nous"
title="Une expérience raffinée au cœur de Bouskoura"
description="Savourez des cafés d'exception, des petits-déjeuners gourmands et une cuisine préparée avec passion dans un cadre moderne."
primaryButton={{ text: "Réserver une table", href: "#contact" }}
secondaryButton={{ text: "Découvrir notre menu", href: "#menu" }}
items={[{ imageSrc: "http://img.b2bpic.net/free-photo/business-people-dining-together-concept_53876-26275.jpg" }, { imageSrc: "http://img.b2bpic.net/free-photo/front-view-breakfast-table-people-around-table-having-their-meal-daytime-food-meal-breakfast-tea_140725-25902.jpg" }]}
/>
</SectionErrorBoundary>
</div>
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutTestimonial
tag="Notre histoire"
quote="CAFFE-RESTO est un lieu où le raffinement rencontre la convivialité. Plus qu'un café, une destination."
author="L'Équipe CAFFE-RESTO"
role="Direction"
imageSrc="http://img.b2bpic.net/free-photo/adorable-couple-sitting-cafe_23-2148422331.jpg"
/>
</SectionErrorBoundary>
</div>
tag="Notre histoire"
quote="CAFFE-RESTO est un lieu où le raffinement rencontre la convivialité. Plus qu'un café, une destination."
author="L'Équipe CAFFE-RESTO"
role="Direction"
imageSrc="http://img.b2bpic.net/free-photo/adorable-couple-sitting-cafe_23-2148422331.jpg"
/>
</SectionErrorBoundary>
</div>
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<div id="features" data-section="features">
<SectionErrorBoundary name="features">
<FeaturesArrowCards
tag="Pourquoi nous choisir"
title="Une excellence au quotidien"
description="Nous mettons tout en œuvre pour offrir une expérience exceptionnelle."
items={[
{
title: "Service Rapide",
tags: [
"Efficacité",
"Sourire",
],
imageSrc: "http://img.b2bpic.net/free-photo/young-barista-black-working-suit-with-ingredients-coffee-equipment-brown-coffee-seeds-white_140725-14663.jpg",
},
{
title: "Espace VIP",
tags: [
"Intimité",
"Confort",
],
imageSrc: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg",
},
{
title: "Cuisine Fraîche",
tags: [
"Produits locaux",
"Qualité",
],
imageSrc: "http://img.b2bpic.net/free-photo/baked-meat-sauce-parsley-sumakh-pickles_141793-16636.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
tag="Pourquoi nous choisir"
title="Une excellence au quotidien"
description="Nous mettons tout en œuvre pour offrir une expérience exceptionnelle."
items={[
{ title: "Service Rapide", tags: ["Efficacité", "Sourire"], imageSrc: "http://img.b2bpic.net/free-photo/young-barista-black-working-suit-with-ingredients-coffee-equipment-brown-coffee-seeds-white_140725-14663.jpg" },
{ title: "Espace VIP", tags: ["Intimité", "Confort"], imageSrc: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg" },
{ title: "Cuisine Fraîche", tags: ["Produits locaux", "Qualité"], imageSrc: "http://img.b2bpic.net/free-photo/baked-meat-sauce-parsley-sumakh-pickles_141793-16636.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesImageBento
tag="Notre Carte"
title="Spécialités Gourmandes"
description="Un voyage culinaire de l'espresso traditionnel aux tajines authentiques."
items={[
{
title: "Cafés Signature",
description: "Espresso, Cappuccino, Latte",
imageSrc: "http://img.b2bpic.net/free-photo/pouring-milk-cup-coffee_1153-548.jpg",
},
{
title: "Petit-déjeuner",
description: "Viennoiseries, œufs, jus frais",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-chocolate-dessert_114579-4327.jpg",
},
{
title: "Cuisine Marocaine",
description: "Tajines d'agneau et poulet",
imageSrc: "http://img.b2bpic.net/free-photo/bulgur-with-meat-zucchini-prunes-beans-bell-pepper-dry-fruits-side-view_141793-1756.jpg",
},
{
title: "Plats Internationaux",
description: "Burgers, pâtes, salades",
imageSrc: "http://img.b2bpic.net/free-photo/plate-fish-chips-potatoes-wooden-surface_839833-19792.jpg",
},
{
title: "Desserts Maison",
description: "Cheesecake, Tiramisu",
imageSrc: "http://img.b2bpic.net/free-photo/tiramisu-dessert-topped-with-greenery_140725-4093.jpg",
},
{
title: "Boissons Fraîches",
description: "Smoothies et cocktails",
imageSrc: "http://img.b2bpic.net/free-photo/bar-still-life-with-fruits-drinks_23-2147821275.jpg",
},
{
title: "Espace Détente",
description: "Cadre moderne et élégant",
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-fancy-restaurant-round-table-with-windows_181624-26298.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
tag="Notre Carte"
title="Spécialités Gourmandes"
description="Un voyage culinaire de l'espresso traditionnel aux tajines authentiques."
items={[
{ title: "Cafés Signature", description: "Espresso, Cappuccino, Latte", imageSrc: "http://img.b2bpic.net/free-photo/pouring-milk-cup-coffee_1153-548.jpg" },
{ title: "Petit-déjeuner", description: "Viennoiseries, œufs, jus frais", imageSrc: "http://img.b2bpic.net/free-photo/delicious-chocolate-dessert_114579-4327.jpg" },
{ title: "Cuisine Marocaine", description: "Tajines d'agneau et poulet", imageSrc: "http://img.b2bpic.net/free-photo/bulgur-with-meat-zucchini-prunes-beans-bell-pepper-dry-fruits-side-view_141793-1756.jpg" },
{ title: "Plats Internationaux", description: "Burgers, pâtes, salades", imageSrc: "http://img.b2bpic.net/free-photo/plate-fish-chips-potatoes-wooden-surface_839833-19792.jpg" },
{ title: "Desserts Maison", description: "Cheesecake, Tiramisu", imageSrc: "http://img.b2bpic.net/free-photo/tiramisu-dessert-topped-with-greenery_140725-4093.jpg" },
{ title: "Boissons Fraîches", description: "Smoothies et cocktails", imageSrc: "http://img.b2bpic.net/free-photo/bar-still-life-with-fruits-drinks_23-2147821275.jpg" },
{ title: "Espace Détente", description: "Cadre moderne et élégant", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-fancy-restaurant-round-table-with-windows_181624-26298.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialMarqueeCards
tag="Avis Clients"
title="Ce qu'ils disent de nous"
description="Des moments gourmands partagés par nos clients."
testimonials={[
{
id: "1",
name: "Ayoub Es.Salehy",
role: "Client",
quote: "Service rapide et excellente qualité.",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-brunette-asian-woman-sitting-with-graphic-pen-looking-happy-drawing_1258-199033.jpg",
},
{
id: "2",
name: "Ali Abouarab",
role: "Client",
quote: "L'endroit idéal pour moi.",
imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg",
},
{
id: "3",
name: "Jess Lee",
role: "Client",
quote: "Tajines délicieux et viande extrêmement tendre.",
imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-happy-young-man-relaxing-coffee-shop-spending-time-cafe-listening_1258-245399.jpg",
},
{
id: "4",
name: "TGV CAR",
role: "Client",
quote: "Cadre parfait et excellente cuisine.",
imageSrc: "http://img.b2bpic.net/free-photo/online-shopping-is-so-easy_329181-11751.jpg",
},
{
id: "5",
name: "Samine Brothers",
role: "Client",
quote: "Espace VIP exceptionnel.",
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-dark-skinned-teenager-with-charming-smile-dressed-casually-enjoys-spare-time_273609-18389.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
tag="Avis Clients"
title="Ce qu'ils disent de nous"
description="Des moments gourmands partagés par nos clients."
testimonials={[
{ name: "Ayoub Es.Salehy", role: "Client", quote: "Service rapide et excellente qualité.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-brunette-asian-woman-sitting-with-graphic-pen-looking-happy-drawing_1258-199033.jpg" },
{ name: "Ali Abouarab", role: "Client", quote: "L'endroit idéal pour moi.", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg" },
{ name: "Jess Lee", role: "Client", quote: "Tajines délicieux et viande extrêmement tendre.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-happy-young-man-relaxing-coffee-shop-spending-time-cafe-listening_1258-245399.jpg" },
{ name: "TGV CAR", role: "Client", quote: "Cadre parfait et excellente cuisine.", imageSrc: "http://img.b2bpic.net/free-photo/online-shopping-is-so-easy_329181-11751.jpg" },
{ name: "Samine Brothers", role: "Client", quote: "Espace VIP exceptionnel.", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-dark-skinned-teenager-with-charming-smile-dressed-casually-enjoys-spare-time_273609-18389.jpg" }
]}
/>
</SectionErrorBoundary>
</div>
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsIconCards
tag="En chiffres"
title="La passion en action"
description="Des standards élevés pour une satisfaction totale."
metrics={[
{
icon: Star,
title: "Note Moyenne",
value: "4,7",
},
{
icon: MessageSquare,
title: "Avis Clients",
value: "15+",
},
{
icon: Award,
title: "Passion & Qualité",
value: "100%",
},
]}
/>
</SectionErrorBoundary>
</div>
tag="En chiffres"
title="La passion en action"
description="Des standards élevés pour une satisfaction totale."
metrics={[
{ icon: "Star", title: "Note Moyenne", value: "4,7" },
{ icon: "MessageSquare", title: "Avis Clients", value: "15+" },
{ icon: "Award", title: "Passion & Qualité", value: "100%" }
]}
/>
</SectionErrorBoundary>
</div>
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Réservations"
text="Réservez votre table chez CAFFE-RESTO et profitez d'une expérience unique. Ouvert 07h00 - 23h00."
primaryButton={{
text: "+212 XX XX XX XX XX",
href: "tel:+212000000000",
}}
secondaryButton={{
text: "Itinéraire à Bouskoura",
href: "#",
}}
/>
</SectionErrorBoundary>
</div>
tag="Réservations"
text="Réservez votre table chez CAFFE-RESTO et profitez d'une expérience unique. Ouvert 07h00 - 23h00."
primaryButton={{ text: "+212 XX XX XX XX XX", href: "tel:+212000000000" }}
secondaryButton={{ text: "Itinéraire à Bouskoura", href: "#" }}
/>
</SectionErrorBoundary>
</div>
</>
);
}
}