Merge version_2_1781458434221 into main #1

Merged
bender merged 1 commits from version_2_1781458434221 into main 2026-06-14 17:35:37 +00:00
10 changed files with 370 additions and 211 deletions

View File

@@ -1,223 +1,38 @@
import AboutText from '@/components/sections/about/AboutText';
import ContactCta from '@/components/sections/contact/ContactCta';
import FaqSimple from '@/components/sections/faq/FaqSimple';
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee';
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
import { Award, Coffee, Users } from "lucide-react";
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 MetricsSection from './HomePage/sections/Metrics';
import TestimonialsSection from './HomePage/sections/Testimonials';
import PartnersSection from './HomePage/sections/Partners';
import FaqSection from './HomePage/sections/Faq';
import ContactSection from './HomePage/sections/Contact';
import NewsletterSection from './HomePage/sections/Newsletter';export default function HomePage(): React.JSX.Element {
return (
<>
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroSplitMediaGrid
tag="سفرتہ الجود"
title="تجربة القهوة التي تستحقها"
description="نقدم لكم أفضل المذاقات في أجواء هادئة وراقية، حيث تلتقي الجودة بالتميز في كل كوب."
primaryButton={{
text: "اكتشف القائمة",
href: "#menu",
}}
secondaryButton={{
text: "تواصل معنا",
href: "#contact",
}}
items={[
{
imageSrc: "http://img.b2bpic.net/free-photo/young-attractive-woman-striped-trench-coat-happily-talking-cellphone-sitting-near-big-window-while-spending-time-modern-cafe_574295-4851.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/breakfast_23-2148129727.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<>
<HeroSection />
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutText
title="قصة سفرتہ الجود هي قصة حب للقهوة والضيافة، حيث نحرص على اختيار أجود أنواع الحبوب وتقديمها بكل حب لعملائنا الأعزاء."
/>
</SectionErrorBoundary>
</div>
<AboutSection />
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesRevealCardsBento
tag="قائمة المنتجات"
title="أشهى ما نقدمه"
description="استكشف مجموعتنا المختارة من المشروبات والحلويات المعدة خصيصاً لتناسب ذوقكم الرفيع."
items={[
{
title: "كرواسون طازج",
description: "هش ومحضر يومياً في فرننا",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-cupcakes-with-berries-wooden-background-red-plate_169016-3313.jpg",
},
{
title: "قهوة مختصة",
description: "محمصة باحترافية لمحبي التميز",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/vertical-selective-focus-shot-glass-coffee-blue-surface_181624-32956.jpg",
},
{
title: "كيك الشوكولاتة",
description: "غنية ولذيذة لا تقاوم",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fruit-cake-slices-inside-round-plate-pink-table-cake-biscuit-sugar-sweet_140725-28589.jpg",
},
{
title: "لاتيه مثلج",
description: "الخيار الأفضل لأيام الصيف",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-adding-more-milk_114579-20073.jpg",
},
{
title: "خبز العجين",
description: "مخبوزات تقليدية بنكهة مميزة",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/homemade-bread-with-sesame-pumpkin-sunflower-seeds_114579-91535.jpg",
},
{
title: "كابتشينو كلاسيك",
description: "كلاسيكية دافئة لكل الأوقات",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-barista-smelling-coffee_23-2148865616.jpg",
},
{
title: "تارت الفاكهة",
description: "مزيج منعش من الفواكه الموسمية",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-cake-with-fresh-plums-raspberries_2829-5467.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<MenuSection />
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsIconCards
tag="أرقامنا"
title="نفخر بما حققناه"
description="الجودة والثقة هي ما دفعنا للاستمرار في تقديم الأفضل."
metrics={[
{
icon: Coffee,
title: "كوب قهوة قدمناه",
value: "٥٠,٠٠٠+",
},
{
icon: Users,
title: "عميل سعيد",
value: "١٠,٠٠٠+",
},
{
icon: Award,
title: "شهادات جودة",
value: "١٢",
},
]}
/>
</SectionErrorBoundary>
</div>
<MetricsSection />
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialTrustCard
quote="أفضل مكان للاستمتاع بقهوة مختصة في أجواء هادئة، دائماً ما يكون مكاني المفضل للعمل والاسترخاء."
rating={5}
author="أحمد السالم"
avatars={[
{
name: "Sarah",
imageSrc: "http://img.b2bpic.net/free-photo/older-man-with-silly-face_1149-277.jpg",
},
{
name: "Mike",
imageSrc: "http://img.b2bpic.net/free-photo/happy-asian-student-girl-writing-down-studying-smth-laptop-sits-outdoor-cafe-with-coffee_1258-198965.jpg",
},
{
name: "Emma",
imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",
},
{
name: "David",
imageSrc: "http://img.b2bpic.net/free-photo/coffee-cup-cheesecake-wooden-table-front-cushion-against-white-wall_23-2148067198.jpg",
},
{
name: "Lila",
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-table-holding-fresh-juice-bottle_23-2148784272.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
<TestimonialsSection />
<div id="partners" data-section="partners">
<SectionErrorBoundary name="partners">
<SocialProofMarquee
tag="شركاؤنا"
title="نحن نعمل مع الأفضل"
description="نفخر بتعاوننا مع أفضل الموردين لضمان جودة قهوتنا."
names={[
"بن العمدة",
"روستريز",
"مزارع الجبل",
"أصالة القهوة",
"نخبة التحميص",
"حبوب الذهب",
"تجار البن",
]}
/>
</SectionErrorBoundary>
</div>
<PartnersSection />
<div id="faq" data-section="faq">
<SectionErrorBoundary name="faq">
<FaqSimple
tag="أسئلة شائعة"
title="هل لديك استفسار؟"
description="إليك الإجابات على الأسئلة الأكثر شيوعاً."
items={[
{
question: "هل تتوفر خيارات نباتية؟",
answer: "نعم، نقدم خيارات متنوعة من الحلويات والمشروبات النباتية.",
},
{
question: "هل يوجد واي فاي؟",
answer: "نعم، نوفر خدمة إنترنت مجانية وسريعة لعملائنا.",
},
{
question: "هل يمكن الحجز للفعاليات؟",
answer: "بالتأكيد، يسعدنا استضافة فعالياتكم الخاصة.",
},
]}
/>
</SectionErrorBoundary>
</div>
<FaqSection />
<NewsletterSection />
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="تواصل معنا"
text="سعداء بخدمتكم دائماً، لا تترددوا في التواصل معنا لطلب القهوة أو الاستفسار."
primaryButton={{
text: "اتصل بنا",
href: "tel:+966500000000",
}}
secondaryButton={{
text: "زرنا في الموقع",
href: "#",
}}
/>
</SectionErrorBoundary>
</div>
<ContactSection />
</>
);
}

View File

@@ -0,0 +1,18 @@
// 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 AboutText from '@/components/sections/about/AboutText';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function AboutSection(): React.JSX.Element {
return (
<div id="about" data-section="about">
<SectionErrorBoundary name="about">
<AboutText
title="قصة سفرتہ الجود هي قصة حب للقهوة والضيافة، حيث نحرص على اختيار أجود أنواع الحبوب وتقديمها بكل حب لعملائنا الأعزاء."
/>
</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 "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="تواصل معنا"
text="سعداء بخدمتكم دائماً، لا تترددوا في التواصل معنا لطلب القهوة أو الاستفسار."
primaryButton={{
text: "اتصل بنا",
href: "tel:+966500000000",
}}
secondaryButton={{
text: "زرنا في الموقع",
href: "#",
}}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,34 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "faq" section.
import React from 'react';
import FaqSimple from '@/components/sections/faq/FaqSimple';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function FaqSection(): React.JSX.Element {
return (
<div id="faq" data-section="faq">
<SectionErrorBoundary name="faq">
<FaqSimple
tag="أسئلة شائعة"
title="هل لديك استفسار؟"
description="إليك الإجابات على الأسئلة الأكثر شيوعاً."
items={[
{
question: "هل تتوفر خيارات نباتية؟",
answer: "نعم، نقدم خيارات متنوعة من الحلويات والمشروبات النباتية.",
},
{
question: "هل يوجد واي فاي؟",
answer: "نعم، نوفر خدمة إنترنت مجانية وسريعة لعملائنا.",
},
{
question: "هل يمكن الحجز للفعاليات؟",
answer: "بالتأكيد، يسعدنا استضافة فعالياتكم الخاصة.",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,36 @@
// 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 HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function HeroSection(): React.JSX.Element {
return (
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroSplitMediaGrid
tag="سفرتہ الجود"
title="تجربة القهوة التي تستحقها"
description="نقدم لكم أفضل المذاقات في أجواء هادئة وراقية، حيث تلتقي الجودة بالتميز في كل كوب."
primaryButton={{
text: "اكتشف القائمة",
href: "#menu",
}}
secondaryButton={{
text: "تواصل معنا",
href: "#contact",
}}
items={[
{
imageSrc: "http://img.b2bpic.net/free-photo/young-attractive-woman-striped-trench-coat-happily-talking-cellphone-sitting-near-big-window-while-spending-time-modern-cafe_574295-4851.jpg",
},
{
imageSrc: "http://img.b2bpic.net/free-photo/breakfast_23-2148129727.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,64 @@
// 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 FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MenuSection(): React.JSX.Element {
return (
<div id="menu" data-section="menu">
<SectionErrorBoundary name="menu">
<FeaturesRevealCardsBento
tag="قائمة المنتجات"
title="أشهى ما نقدمه"
description="استكشف مجموعتنا المختارة من المشروبات والحلويات المعدة خصيصاً لتناسب ذوقكم الرفيع."
items={[
{
title: "كرواسون طازج",
description: "هش ومحضر يومياً في فرننا",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-cupcakes-with-berries-wooden-background-red-plate_169016-3313.jpg",
},
{
title: "قهوة مختصة",
description: "محمصة باحترافية لمحبي التميز",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/vertical-selective-focus-shot-glass-coffee-blue-surface_181624-32956.jpg",
},
{
title: "كيك الشوكولاتة",
description: "غنية ولذيذة لا تقاوم",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/top-view-fruit-cake-slices-inside-round-plate-pink-table-cake-biscuit-sugar-sweet_140725-28589.jpg",
},
{
title: "لاتيه مثلج",
description: "الخيار الأفضل لأيام الصيف",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-adding-more-milk_114579-20073.jpg",
},
{
title: "خبز العجين",
description: "مخبوزات تقليدية بنكهة مميزة",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/homemade-bread-with-sesame-pumpkin-sunflower-seeds_114579-91535.jpg",
},
{
title: "كابتشينو كلاسيك",
description: "كلاسيكية دافئة لكل الأوقات",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-barista-smelling-coffee_23-2148865616.jpg",
},
{
title: "تارت الفاكهة",
description: "مزيج منعش من الفواكه الموسمية",
href: "#contact",
imageSrc: "http://img.b2bpic.net/free-photo/delicious-cake-with-fresh-plums-raspberries_2829-5467.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,38 @@
// 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 MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
import { Award, Coffee, Users } from "lucide-react";
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function MetricsSection(): React.JSX.Element {
return (
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsIconCards
tag="أرقامنا"
title="نفخر بما حققناه"
description="الجودة والثقة هي ما دفعنا للاستمرار في تقديم الأفضل."
metrics={[
{
icon: Coffee,
title: "كوب قهوة قدمناه",
value: "٥٠,٠٠٠+",
},
{
icon: Users,
title: "عميل سعيد",
value: "١٠,٠٠٠+",
},
{
icon: Award,
title: "شهادات جودة",
value: "١٢",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,56 @@
import { useState } from "react";
import ScrollReveal from "@/components/ui/ScrollReveal";
import TextAnimation from "@/components/ui/TextAnimation";
import Tag from "@/components/ui/Tag";
import Input from "@/components/ui/Input";
import Button from "@/components/ui/Button";
export default function NewsletterSection() {
const [email, setEmail] = useState("");
const [submitted, setSubmitted] = useState(false);
const handleSubmit = (e: React.FormEvent) => {
e.preventDefault();
if (email) {
setSubmitted(true);
setEmail("");
setTimeout(() => setSubmitted(false), 3000);
}
};
return (
<section data-webild-section="newsletter" id="newsletter" className="py-24 bg-card relative overflow-hidden">
<div className="w-content-width mx-auto px-4 md:px-6 relative z-10">
<ScrollReveal variant="fade" className="max-w-2xl mx-auto text-center">
<Tag text="Newsletter" className="mb-6" />
<TextAnimation
text="Stay Connected with سفرتہ الجود"
variant="fade-blur"
tag="h2"
gradientText={false}
className="text-4xl md:text-5xl font-bold text-foreground mb-6"
/>
<p className="text-lg text-muted-foreground mb-10">
Join our community to receive special offers, event invitations, and updates on our latest seasonal blends.
</p>
<form onSubmit={handleSubmit} className="flex flex-col sm:flex-row gap-3 max-w-md mx-auto">
<Input
type="email"
placeholder="Enter your email address"
required
value={email}
onChange={(e) => setEmail(e.target.value)}
className="flex-1"
/>
<Button
text={submitted ? "Subscribed!" : "Subscribe"}
variant="primary"
className="w-full sm:w-auto"
/>
</form>
</ScrollReveal>
</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 "partners" section.
import React from 'react';
import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function PartnersSection(): React.JSX.Element {
return (
<div id="partners" data-section="partners">
<SectionErrorBoundary name="partners">
<SocialProofMarquee
tag="شركاؤنا"
title="نحن نعمل مع الأفضل"
description="نفخر بتعاوننا مع أفضل الموردين لضمان جودة قهوتنا."
names={[
"بن العمدة",
"روستريز",
"مزارع الجبل",
"أصالة القهوة",
"نخبة التحميص",
"حبوب الذهب",
"تجار البن",
]}
/>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -0,0 +1,42 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "testimonials" section.
import React from 'react';
import TestimonialTrustCard from '@/components/sections/testimonial/TestimonialTrustCard';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
export default function TestimonialsSection(): React.JSX.Element {
return (
<div id="testimonials" data-section="testimonials">
<SectionErrorBoundary name="testimonials">
<TestimonialTrustCard
quote="أفضل مكان للاستمتاع بقهوة مختصة في أجواء هادئة، دائماً ما يكون مكاني المفضل للعمل والاسترخاء."
rating={5}
author="أحمد السالم"
avatars={[
{
name: "Sarah",
imageSrc: "http://img.b2bpic.net/free-photo/older-man-with-silly-face_1149-277.jpg",
},
{
name: "Mike",
imageSrc: "http://img.b2bpic.net/free-photo/happy-asian-student-girl-writing-down-studying-smth-laptop-sits-outdoor-cafe-with-coffee_1258-198965.jpg",
},
{
name: "Emma",
imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",
},
{
name: "David",
imageSrc: "http://img.b2bpic.net/free-photo/coffee-cup-cheesecake-wooden-table-front-cushion-against-white-wall_23-2148067198.jpg",
},
{
name: "Lila",
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-table-holding-fresh-juice-bottle_23-2148784272.jpg",
},
]}
/>
</SectionErrorBoundary>
</div>
);
}