From 67325fbe3ccc2e70a0d8cf313cda5dd627bcbce5 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 00:09:39 +0000 Subject: [PATCH] Bob AI: Replace contact section with custom Google Maps integration --- src/pages/HomePage.tsx | 182 +++---------------- src/pages/HomePage/sections/About.tsx | 20 ++ src/pages/HomePage/sections/Contact.tsx | 85 +++++++++ src/pages/HomePage/sections/Faq.tsx | 31 ++++ src/pages/HomePage/sections/Features.tsx | 28 +++ src/pages/HomePage/sections/Hero.tsx | 30 +++ src/pages/HomePage/sections/Location.tsx | 82 +++++++++ src/pages/HomePage/sections/Menu.tsx | 36 ++++ src/pages/HomePage/sections/Team.tsx | 28 +++ src/pages/HomePage/sections/Testimonials.tsx | 37 ++++ 10 files changed, 403 insertions(+), 156 deletions(-) create mode 100644 src/pages/HomePage/sections/About.tsx create mode 100644 src/pages/HomePage/sections/Contact.tsx create mode 100644 src/pages/HomePage/sections/Faq.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/Location.tsx create mode 100644 src/pages/HomePage/sections/Menu.tsx create mode 100644 src/pages/HomePage/sections/Team.tsx create mode 100644 src/pages/HomePage/sections/Testimonials.tsx diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 249d2b0..4a2e2f3 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,168 +1,38 @@ -import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroSplitMediaGrid from '@/components/sections/hero/HeroSplitMediaGrid'; -import TeamStackedCards from '@/components/sections/team/TeamStackedCards'; -import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; -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 TeamSection from './HomePage/sections/Team'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import LocationSection from './HomePage/sections/Location';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..8f70329 --- /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 AboutTextSplit from '@/components/sections/about/AboutTextSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): 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..0380801 --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,85 @@ +// 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 SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import Tag from "@/components/ui/Tag"; +import TextAnimation from "@/components/ui/TextAnimation"; +import Button from "@/components/ui/Button"; +import { MapPin, Phone, Clock } from "lucide-react"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ +
+
+
+ + +

+ Join us for an unforgettable dining experience. We are located in the heart of the city, offering a warm and elegant atmosphere. +

+ +
+
+
+ +
+
+

Address

+

123 Culinary Avenue
Gourmet District, NY 10001

+
+
+ +
+
+ +
+
+

Hours

+

Mon-Thu: 5:00 PM - 10:00 PM
Fri-Sun: 4:00 PM - 11:00 PM

+
+
+ +
+
+ +
+
+

Contact

+

+1 (555) 123-4567
reservations@luxebistro.com

+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ ); +} diff --git a/src/pages/HomePage/sections/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..1611b5d --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,31 @@ +// 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 FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): 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..039bfeb --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,28 @@ +// 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 FeaturesDetailedSteps from '@/components/sections/features/FeaturesDetailedSteps'; +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..7514a01 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,30 @@ +// 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 ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Location.tsx b/src/pages/HomePage/sections/Location.tsx new file mode 100644 index 0000000..7f5bdd5 --- /dev/null +++ b/src/pages/HomePage/sections/Location.tsx @@ -0,0 +1,82 @@ +import React from 'react'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +import Tag from "@/components/ui/Tag"; +import TextAnimation from "@/components/ui/TextAnimation"; +import Button from "@/components/ui/Button"; +import { MapPin, Phone, Clock } from "lucide-react"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ +
+
+
+ + +

+ Join us for an unforgettable dining experience. We are located in the heart of the city, offering a warm and elegant atmosphere. +

+ +
+
+
+ +
+
+

Address

+

123 Culinary Avenue
Gourmet District, NY 10001

+
+
+ +
+
+ +
+
+

Hours

+

Mon-Thu: 5:00 PM - 10:00 PM
Fri-Sun: 4:00 PM - 11:00 PM

+
+
+ +
+
+ +
+
+

Contact

+

+1 (555) 123-4567
reservations@luxebistro.com

+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+ ); +} \ 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..f8ce420 --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,36 @@ +// 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/Team.tsx b/src/pages/HomePage/sections/Team.tsx new file mode 100644 index 0000000..4ffbc09 --- /dev/null +++ b/src/pages/HomePage/sections/Team.tsx @@ -0,0 +1,28 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "team" section. + +import React from 'react'; +import TeamStackedCards from '@/components/sections/team/TeamStackedCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TeamSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..7653a3f --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,37 @@ +// 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 TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + +
+ ); +} -- 2.49.1