Merge version_3_1781814635628 into main #3
@@ -8,11 +8,11 @@
|
||||
--background: #fdfaf6;
|
||||
--card: #ffffff;
|
||||
--foreground: #1a1a1a;
|
||||
--primary-cta: #1c4a4a;
|
||||
--primary-cta: #256388;
|
||||
--primary-cta-text: #ffffff;
|
||||
--secondary-cta: #a52a2a;
|
||||
--secondary-cta: #a63131;
|
||||
--secondary-cta-text: #ffffff;
|
||||
--accent: #e0c9a6;
|
||||
--accent: #d8b26e;
|
||||
--background-accent: #f3eee5;
|
||||
|
||||
/* @layout/border-radius/rounded */
|
||||
|
||||
@@ -1,139 +1,27 @@
|
||||
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
|
||||
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 RegistrationSection from './HomePage/sections/Registration';
|
||||
import ImpactSection from './HomePage/sections/Impact';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboard
|
||||
tag="مسجد السيدة عائشة أم المؤمنين"
|
||||
title="مرحباً بكم في منصتنا المجتمعية"
|
||||
description="منصة شاملة لتسجيل دورات القرآن، الأنشطة الفنية، والمشاريع الخيرية في بلدة الناعمة."
|
||||
primaryButton={{
|
||||
text: "تصفح الدورات",
|
||||
href: "#registration",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "موقعنا",
|
||||
href: "https://maps.app.goo.gl/BWJmpRoFgsLV41xC9?g_st=ic",
|
||||
}}
|
||||
imageSrc="https://storage.googleapis.com/webild/users/user_3FAzAXmfrjQEsWPrkA2IycKiOyK/uploaded-1781813255740-7uaczuuy.png"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="registration" data-section="registration">
|
||||
<SectionErrorBoundary name="registration">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="نماذج التسجيل"
|
||||
title="اختر الدورة المناسبة"
|
||||
description="انتقل بين نماذج التسجيل المتاحة للرجال، النساء، والبراعم."
|
||||
items={[
|
||||
{
|
||||
title: "مركز القرآن الكريم",
|
||||
description: "سجل الآن في دورات الرجال والنساء للحفظ والتجويد.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cartoon-illustration-muslim-family_23-2151811909.jpg",
|
||||
},
|
||||
{
|
||||
title: "دورة البراعم",
|
||||
description: "برامج خاصة لتعليم الصغار أساسيات القرآن الكريم.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cartoon-illustration-muslim-family_23-2151811872.jpg",
|
||||
},
|
||||
{
|
||||
title: "مشروع سفا وأثر",
|
||||
description: "برنامج مكثف لحفظ القرآن مع شروط خاصة.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/travelling-nepal_8327-284.jpg",
|
||||
},
|
||||
{
|
||||
title: "دورة الكروشيه",
|
||||
description: "ورشة عمل فنية للسيدات لتعلم فنون الكروشيه.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/working-together-with-girls-create-perfect-design_329181-14377.jpg",
|
||||
},
|
||||
{
|
||||
title: "دورة الرسم",
|
||||
description: "أطلق إبداعك في دورة الرسم المخصصة للإناث.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/group-young-artist-girls-having-draw-lesson-art-studio_839833-2606.jpg",
|
||||
},
|
||||
{
|
||||
title: "مشروع سقيا الماء",
|
||||
description: "مشروع خيري مستمر لخدمة المجتمع.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/charity-cursive-writing-word-concept_53876-125187.jpg",
|
||||
},
|
||||
{
|
||||
title: "مركز خدمي",
|
||||
description: "مزيد من المشاريع والأنشطة المجتمعية.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/artistic-pose-woman-leaning-chest_23-2148338067.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<RegistrationSection />
|
||||
|
||||
<div id="impact" data-section="impact">
|
||||
<SectionErrorBoundary name="impact">
|
||||
<AboutTestimonial
|
||||
tag="رسالتنا"
|
||||
quote="نحن نسعى لبناء مجتمع صالح ومترابط من خلال تعليم القرآن الكريم والأنشطة الإبداعية لخدمة الدين والمجتمع."
|
||||
author="إدارة المسجد"
|
||||
role="بلدة الناعمة"
|
||||
imageSrc="https://storage.googleapis.com/webild/users/user_3FAzAXmfrjQEsWPrkA2IycKiOyK/uploaded-1781812782734-taiv5muu.jpg?_wi=2"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ImpactSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTabbedAccordion
|
||||
tag="أسئلة شائعة"
|
||||
title="هل لديك استفسار؟"
|
||||
description="إليك إجابات حول كيفية الانضمام والمشاركة في الأنشطة."
|
||||
categories={[
|
||||
{
|
||||
name: "التسجيل",
|
||||
items: [
|
||||
{
|
||||
question: "كيف يمكنني التسجيل؟",
|
||||
answer: "عبر اختيار الدورة من قائمة الدورات والضغط على زر التسجيل.",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "الأعمال الخيرية",
|
||||
items: [
|
||||
{
|
||||
question: "كيف أتبرع للمشاريع؟",
|
||||
answer: "يمكنك التواصل معنا مباشرة عبر واتساب للحصول على تفاصيل التبرع.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCenter
|
||||
tag="تواصل معنا"
|
||||
title="ابق على اطلاع"
|
||||
description="سجل بريدك الإلكتروني ليصلك كل جديد عن أنشطة المسجد ومشاريعنا الخيرية."
|
||||
inputPlaceholder="أدخل بريدك الإلكتروني"
|
||||
buttonText="اشترك الآن"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
22
src/pages/HomePage/sections/Contact.tsx
Normal file
22
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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 ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCenter
|
||||
tag="تواصل معنا"
|
||||
title="ابق على اطلاع"
|
||||
description="سجل بريدك الإلكتروني ليصلك كل جديد عن أنشطة المسجد ومشاريعنا الخيرية."
|
||||
inputPlaceholder="أدخل بريدك الإلكتروني"
|
||||
buttonText="اشترك الآن"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
40
src/pages/HomePage/sections/Faq.tsx
Normal file
40
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,40 @@
|
||||
// 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 FaqTabbedAccordion from '@/components/sections/faq/FaqTabbedAccordion';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTabbedAccordion
|
||||
tag="أسئلة شائعة"
|
||||
title="هل لديك استفسار؟"
|
||||
description="إليك إجابات حول كيفية الانضمام والمشاركة في الأنشطة."
|
||||
categories={[
|
||||
{
|
||||
name: "التسجيل",
|
||||
items: [
|
||||
{
|
||||
question: "كيف يمكنني التسجيل؟",
|
||||
answer: "عبر اختيار الدورة من قائمة الدورات والضغط على زر التسجيل.",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "الأعمال الخيرية",
|
||||
items: [
|
||||
{
|
||||
question: "كيف أتبرع للمشاريع؟",
|
||||
answer: "يمكنك التواصل معنا مباشرة عبر واتساب للحصول على تفاصيل التبرع.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
29
src/pages/HomePage/sections/Hero.tsx
Normal file
29
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
// 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 HeroBillboard from '@/components/sections/hero/HeroBillboard';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroBillboard
|
||||
tag="مسجد السيدة عائشة أم المؤمنين"
|
||||
title="مرحباً بكم في منصتنا المجتمعية"
|
||||
description="منصة شاملة لتسجيل دورات القرآن، الأنشطة الفنية، والمشاريع الخيرية في بلدة الناعمة."
|
||||
primaryButton={{
|
||||
text: "تصفح الدورات",
|
||||
href: "#registration",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "موقعنا",
|
||||
href: "https://maps.app.goo.gl/BWJmpRoFgsLV41xC9?g_st=ic",
|
||||
}}
|
||||
imageSrc="https://storage.googleapis.com/webild/users/user_3FAzAXmfrjQEsWPrkA2IycKiOyK/uploaded-1781813255740-7uaczuuy.png"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
22
src/pages/HomePage/sections/Impact.tsx
Normal file
22
src/pages/HomePage/sections/Impact.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "impact" section.
|
||||
|
||||
import React from 'react';
|
||||
import AboutTestimonial from '@/components/sections/about/AboutTestimonial';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ImpactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="impact" data-section="impact">
|
||||
<SectionErrorBoundary name="impact">
|
||||
<AboutTestimonial
|
||||
tag="رسالتنا"
|
||||
quote="نحن نسعى لبناء مجتمع صالح ومترابط من خلال تعليم القرآن الكريم والأنشطة الإبداعية لخدمة الدين والمجتمع."
|
||||
author="إدارة المسجد"
|
||||
role="بلدة الناعمة"
|
||||
imageSrc="https://storage.googleapis.com/webild/users/user_3FAzAXmfrjQEsWPrkA2IycKiOyK/uploaded-1781812782734-taiv5muu.jpg?_wi=2"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
64
src/pages/HomePage/sections/Registration.tsx
Normal file
64
src/pages/HomePage/sections/Registration.tsx
Normal file
@@ -0,0 +1,64 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "registration" section.
|
||||
|
||||
import React from 'react';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function RegistrationSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="registration" data-section="registration">
|
||||
<SectionErrorBoundary name="registration">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="نماذج التسجيل"
|
||||
title="اختر الدورة المناسبة"
|
||||
description="انتقل بين نماذج التسجيل المتاحة للرجال، النساء، والبراعم."
|
||||
items={[
|
||||
{
|
||||
title: "مركز القرآن الكريم",
|
||||
description: "سجل الآن في دورات الرجال والنساء للحفظ والتجويد.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cartoon-illustration-muslim-family_23-2151811909.jpg",
|
||||
},
|
||||
{
|
||||
title: "دورة البراعم",
|
||||
description: "برامج خاصة لتعليم الصغار أساسيات القرآن الكريم.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cartoon-illustration-muslim-family_23-2151811872.jpg",
|
||||
},
|
||||
{
|
||||
title: "مشروع سفا وأثر",
|
||||
description: "برنامج مكثف لحفظ القرآن مع شروط خاصة.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/travelling-nepal_8327-284.jpg",
|
||||
},
|
||||
{
|
||||
title: "دورة الكروشيه",
|
||||
description: "ورشة عمل فنية للسيدات لتعلم فنون الكروشيه.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/working-together-with-girls-create-perfect-design_329181-14377.jpg",
|
||||
},
|
||||
{
|
||||
title: "دورة الرسم",
|
||||
description: "أطلق إبداعك في دورة الرسم المخصصة للإناث.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/group-young-artist-girls-having-draw-lesson-art-studio_839833-2606.jpg",
|
||||
},
|
||||
{
|
||||
title: "مشروع سقيا الماء",
|
||||
description: "مشروع خيري مستمر لخدمة المجتمع.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/charity-cursive-writing-word-concept_53876-125187.jpg",
|
||||
},
|
||||
{
|
||||
title: "مركز خدمي",
|
||||
description: "مزيد من المشاريع والأنشطة المجتمعية.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/artistic-pose-woman-leaning-chest_23-2148338067.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user