From 835072c29fae649b2f65993ae36ff0367964f6c6 Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Thu, 23 Apr 2026 13:17:54 +0300 Subject: [PATCH 1/2] Bob AI: Add products page --- src/App.tsx | 346 +---------------------------------- src/pages/HomePage.tsx | 361 +++++++++++++++++++++++++++++++++++-- src/pages/ProductsPage.tsx | 49 +++++ src/routes.ts | 1 + 4 files changed, 400 insertions(+), 357 deletions(-) create mode 100644 src/pages/ProductsPage.tsx diff --git a/src/App.tsx b/src/App.tsx index e8642e8..cc2eba5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,344 +1,12 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesStatisticsCards from '@/components/sections/features/FeaturesStatisticsCards'; -import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia'; -import HeroOverlay from '@/components/sections/hero/HeroOverlay'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import NavbarCentered from '@/components/ui/NavbarCentered'; -import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; -import { Award, Users, Zap } from "lucide-react"; +import { Routes, Route } from "react-router-dom"; +import HomePage from "@/pages/HomePage"; +import ProductsPage from "@/pages/ProductsPage"; export default function App() { return ( - <> - - -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- - - + + } /> + } /> + ); } diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index a3e7160..896611d 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,22 +1,347 @@ -import NavbarCentered from "@/components/ui/NavbarCentered"; -import { routes } from "@/routes"; +import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; +import FeaturesStatisticsCards from '@/components/sections/features/FeaturesStatisticsCards'; +import FooterSimpleMedia from '@/components/sections/footer/FooterSimpleMedia'; +import HeroOverlay from '@/components/sections/hero/HeroOverlay'; +import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; +import NavbarCentered from '@/components/ui/NavbarCentered'; +import PricingCenteredCards from '@/components/sections/pricing/PricingCenteredCards'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import TestimonialQuoteCards from '@/components/sections/testimonial/TestimonialQuoteCards'; +import { Award, Users, Zap } from "lucide-react"; -const HomePage = () => { + +export default function HomePage() { return ( -
+ <> + - ); -}; + logo="Flow" + navItems={[ + { + name: "Features", + href: "#features", + }, + { + name: "Pricing", + href: "#pricing", + }, + { + name: "Testimonials", + href: "#testimonials", + }, + { name: "Products", href: "/products" }, -export default HomePage; + ]} + ctaButton={{ + text: "Get Started", + href: "#contact", + }} + /> +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + ); +} diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx new file mode 100644 index 0000000..21df1cc --- /dev/null +++ b/src/pages/ProductsPage.tsx @@ -0,0 +1,49 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path +import HeroBillboard from "@/components/sections/hero/HeroBillboard"; +import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; +import ProductRatingCards from "@/components/sections/product/ProductRatingCards"; +import ContactCta from "@/components/sections/contact/ContactCta"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +const ProductsPage: React.FC = () => { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> +
+ + + + +
+ +
+ ); +}; + +export default ProductsPage; \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..93d7fae 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -6,4 +6,5 @@ export interface Route { export const routes: Route[] = [ { path: '/', label: 'Home', pageFile: 'HomePage' }, + { path: '/products', label: 'Products', pageFile: 'ProductsPage' }, ]; -- 2.49.1 From 140e12c856ae7d1cbc1ecabe19d1be01212ee47f Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Thu, 23 Apr 2026 13:18:16 +0300 Subject: [PATCH 2/2] Bob AI: Populate src/pages/ProductsPage.tsx (snippet builder, 3 sections) --- src/pages/ProductsPage.tsx | 51 ++++++++++++-------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx index 21df1cc..9cf583f 100644 --- a/src/pages/ProductsPage.tsx +++ b/src/pages/ProductsPage.tsx @@ -1,49 +1,30 @@ -import React from "react"; import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; // Corrected import path -import HeroBillboard from "@/components/sections/hero/HeroBillboard"; +import NavbarCentered from "@/components/ui/NavbarCentered"; import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; -import ProductRatingCards from "@/components/sections/product/ProductRatingCards"; -import ContactCta from "@/components/sections/contact/ContactCta"; import FooterSimple from "@/components/sections/footer/FooterSimple"; -const ProductsPage: React.FC = () => { +export default function ProductsPage() { return (
({ name: r.label, href: r.path }))} - ctaButton={{ text: "Get Started", href: "/contact" }} + navItems={[{"name":"Home","href":"/"},{"name":"Products","href":"/products"},{"name":"Solutions","href":"/solutions"},{"name":"About Us","href":"/about"},{"name":"Contact","href":"/contact"}]} + ctaButton={{"text":"View Pricing","href":"/pricing"}} + /> + -
- - - - -
); -}; - -export default ProductsPage; \ No newline at end of file +} -- 2.49.1