From 9aaed529ac2fcee7cfd6f5cecc1ab04b5bfdcc58 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 15 Jun 2026 12:33:48 +0000 Subject: [PATCH] Bob AI: Added a dedicated map and hours of operation section --- src/pages/HomePage.tsx | 305 ++---------------- src/pages/HomePage/sections/About.tsx | 39 +++ src/pages/HomePage/sections/AboutHeritage.tsx | 50 +++ src/pages/HomePage/sections/Contact.tsx | 27 ++ src/pages/HomePage/sections/Features.tsx | 42 +++ src/pages/HomePage/sections/Hero.tsx | 48 +++ src/pages/HomePage/sections/LocationHours.tsx | 99 ++++++ src/pages/HomePage/sections/Menu.tsx | 64 ++++ src/pages/HomePage/sections/Metrics.tsx | 34 ++ src/pages/HomePage/sections/Reviews.tsx | 52 +++ 10 files changed, 481 insertions(+), 279 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/AboutHeritage.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Features.tsx create mode 100644 src/pages/HomePage/sections/Hero.tsx create mode 100644 src/pages/HomePage/sections/LocationHours.tsx create mode 100644 src/pages/HomePage/sections/Menu.tsx create mode 100644 src/pages/HomePage/sections/Metrics.tsx create mode 100644 src/pages/HomePage/sections/Reviews.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 1d935d0..102d9ae 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,291 +1,38 @@ -import AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesBentoGrid from '@/components/sections/features/FeaturesBentoGrid'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; -import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; -import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards'; -import TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; -import { Clock, Leaf, Utensils } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//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 FeaturesSection from './HomePage/sections/Features'; +import MenuSection from './HomePage/sections/Menu'; +import AboutHeritageSection from './HomePage/sections/AboutHeritage'; +import ReviewsSection from './HomePage/sections/Reviews'; +import MetricsSection from './HomePage/sections/Metrics'; +import ContactSection from './HomePage/sections/Contact'; + + +import LocationHoursSection from './HomePage/sections/LocationHours';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..28eb4b0 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,39 @@ +// 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 AboutFeaturesSplit from '@/components/sections/about/AboutFeaturesSplit'; +import { Clock, Leaf, Utensils } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/AboutHeritage.tsx b/src/pages/HomePage/sections/AboutHeritage.tsx new file mode 100644 index 0000000..7f34f8c --- /dev/null +++ b/src/pages/HomePage/sections/AboutHeritage.tsx @@ -0,0 +1,50 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "about-heritage" section. + +import React from 'react'; +import PricingLayeredCards from '@/components/sections/pricing/PricingLayeredCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutHeritageSection(): 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..972a351 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Features.tsx b/src/pages/HomePage/sections/Features.tsx new file mode 100644 index 0000000..072a82c --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,42 @@ +// 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 FeaturesBentoGrid from '@/components/sections/features/FeaturesBentoGrid'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesSection(): 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..7078d7c --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,48 @@ +// 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 HeroBillboardTiltedCarousel from '@/components/sections/hero/HeroBillboardTiltedCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/LocationHours.tsx b/src/pages/HomePage/sections/LocationHours.tsx new file mode 100644 index 0000000..cc82808 --- /dev/null +++ b/src/pages/HomePage/sections/LocationHours.tsx @@ -0,0 +1,99 @@ +import { MapPin, Clock, Phone } from 'lucide-react'; +import ScrollReveal from '@/components/ui/ScrollReveal'; +import TextAnimation from '@/components/ui/TextAnimation'; +import Card from '@/components/ui/Card'; + +export default function LocationHoursSection() { + return ( +
+
+
+ + + + + + +
+
+ +

+ Visit us in the heart of Kingston for an authentic Jamaican dining experience. +

+
+ + + +
+
+ +
+
+

Hours of Operation

+
    +
  • + Monday + Closed +
  • +
  • + Tuesday - Thursday + 11:00 AM - 9:00 PM +
  • +
  • + Friday - Saturday + 11:00 AM - 10:00 PM +
  • +
  • + Sunday + 12:00 PM - 8:00 PM +
  • +
+
+
+ +
+ +
+
+ +
+
+

Address

+

123 Kingston Ave, Kingston, Jamaica

+
+
+ +
+ +
+
+ +
+
+

Phone

+

(876) 555-0198

+
+
+ + +
+
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Menu.tsx b/src/pages/HomePage/sections/Menu.tsx new file mode 100644 index 0000000..3af618f --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -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 ( + + ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..0eb756a --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,34 @@ +// 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 MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Reviews.tsx b/src/pages/HomePage/sections/Reviews.tsx new file mode 100644 index 0000000..a1d99f7 --- /dev/null +++ b/src/pages/HomePage/sections/Reviews.tsx @@ -0,0 +1,52 @@ +// 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 TestimonialColumnMarqueeCards from '@/components/sections/testimonial/TestimonialColumnMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ReviewsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}