From b2b022950d9a7e0dc6772ae26f35f40f8cc692f9 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 01:40:27 +0000 Subject: [PATCH] Bob AI: Add community logo to navbar --- src/components/Layout.tsx | 5 +- src/pages/HomePage.tsx | 190 +++------------------- src/pages/HomePage/sections/About.tsx | 20 +++ src/pages/HomePage/sections/Community.tsx | 32 ++++ src/pages/HomePage/sections/Contact.tsx | 23 +++ src/pages/HomePage/sections/Courses.tsx | 36 ++++ src/pages/HomePage/sections/Faq.tsx | 28 ++++ src/pages/HomePage/sections/Hero.tsx | 25 +++ src/pages/HomePage/sections/Kids.tsx | 32 ++++ src/pages/HomePage/sections/Quran.tsx | 24 +++ src/pages/HomePage/sections/Videos.tsx | 32 ++++ 11 files changed, 281 insertions(+), 166 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Community.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Courses.tsx create mode 100644 src/pages/HomePage/sections/Faq.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/Kids.tsx create mode 100644 src/pages/HomePage/sections/Quran.tsx create mode 100644 src/pages/HomePage/sections/Videos.tsx diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index ef45f98..da4390e 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,5 +1,5 @@ import FooterMinimal from '@/components/sections/footer/FooterMinimal'; -import NavbarDropdown from '@/components/ui/NavbarDropdown'; +import NavbarFloatingLogo from '@/components/ui/NavbarFloatingLogo'; import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; import SiteBackgroundSlot from "@/components/ui/SiteBackgroundSlot"; import { Film, Instagram, Twitter } from "lucide-react"; @@ -42,8 +42,9 @@ export default function Layout() { - /sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import AboutSection from './HomePage/sections/About'; +import QuranSection from './HomePage/sections/Quran'; +import CoursesSection from './HomePage/sections/Courses'; +import VideosSection from './HomePage/sections/Videos'; +import KidsSection from './HomePage/sections/Kids'; +import FaqSection from './HomePage/sections/Faq'; +import CommunitySection from './HomePage/sections/Community'; +import ContactSection from './HomePage/sections/Contact'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..ab7f119 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,20 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Community.tsx b/src/pages/HomePage/sections/Community.tsx new file mode 100644 index 0000000..e95707b --- /dev/null +++ b/src/pages/HomePage/sections/Community.tsx @@ -0,0 +1,32 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "community" section. + +import React from 'react'; +import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CommunitySection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..26743d0 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,23 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Courses.tsx b/src/pages/HomePage/sections/Courses.tsx new file mode 100644 index 0000000..be7a101 --- /dev/null +++ b/src/pages/HomePage/sections/Courses.tsx @@ -0,0 +1,36 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "courses" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CoursesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..8fdbd7b --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,28 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..ab8bbe5 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,25 @@ +// 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 HeroOverlay from '@/components/sections/hero/HeroOverlay'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Kids.tsx b/src/pages/HomePage/sections/Kids.tsx new file mode 100644 index 0000000..b394678 --- /dev/null +++ b/src/pages/HomePage/sections/Kids.tsx @@ -0,0 +1,32 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "kids" section. + +import React from 'react'; +import FeaturesBento from '@/components/sections/features/FeaturesBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function KidsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Quran.tsx b/src/pages/HomePage/sections/Quran.tsx new file mode 100644 index 0000000..5d7737d --- /dev/null +++ b/src/pages/HomePage/sections/Quran.tsx @@ -0,0 +1,24 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "quran" section. + +import React from 'react'; +import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function QuranSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Videos.tsx b/src/pages/HomePage/sections/Videos.tsx new file mode 100644 index 0000000..471eaa2 --- /dev/null +++ b/src/pages/HomePage/sections/Videos.tsx @@ -0,0 +1,32 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "videos" section. + +import React from 'react'; +import FeaturesBento from '@/components/sections/features/FeaturesBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function VideosSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} -- 2.49.1