From 8feae5d918f5d884af3fb5fd3867a2c2491cbe65 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 17:55:18 +0000 Subject: [PATCH 1/2] Bob AI: Add products page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/ProductsPage.tsx | 117 +++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 src/pages/ProductsPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..c9c6d8e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import { Routes, Route } from 'react-router-dom'; import Layout from './components/Layout'; import HomePage from './pages/HomePage'; +import ProductsPage from "@/pages/ProductsPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index e1a208a..4281e3e 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -34,7 +34,9 @@ export default function Layout() { { "name": "Testimonials", "href": "#testimonials" - } + }, + { name: "Products", href: "/products" }, + ]; return ( diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx new file mode 100644 index 0000000..bbebfbd --- /dev/null +++ b/src/pages/ProductsPage.tsx @@ -0,0 +1,117 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; +import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards"; +import ContactCta from "@/components/sections/contact/ContactCta"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function ProductsPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Get Started", href: "/contact" }} + /> + +
+ + +
+ console.log("Clicked Watch") + }, + { + name: "Premium Leather Tote", + price: "$249.00", + imageSrc: "https://images.unsplash.com/photo-1548036328-c9fa89d128fa?auto=format&fit=crop&q=80", + onClick: () => console.log("Clicked Bag") + }, + { + name: "Polarized Aviator Sunglasses", + price: "$129.00", + imageSrc: "https://images.unsplash.com/photo-1511499767150-a48a237f0083?auto=format&fit=crop&q=80", + onClick: () => console.log("Clicked Sunglasses") + } + ]} + /> +
+ +
+ +
+ + +
+ + +
+ ); +} \ 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 b8f7c95d20a174cb2db611cd7a39d854c67b35d5 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 17:55:45 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/ProductsPage.tsx (snippet builder, 2 sections) --- src/pages/ProductsPage.tsx | 127 ++++--------------------------------- 1 file changed, 14 insertions(+), 113 deletions(-) diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx index bbebfbd..833bfa5 100644 --- a/src/pages/ProductsPage.tsx +++ b/src/pages/ProductsPage.tsx @@ -1,117 +1,18 @@ -import React from "react"; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroSplit from "@/components/sections/hero/HeroSplit"; -import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; -import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards"; -import ContactCta from "@/components/sections/contact/ContactCta"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; +import Button from "@/components/ui/Button"; +import HeroBackgroundSlot from "@/components/ui/HeroBackgroundSlot"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import AvatarGroup from "@/components/ui/AvatarGroup"; +import { ArrowUpRight, Loader2 } from "lucide-react"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import useProducts from "@/hooks/useProducts"; export default function ProductsPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Get Started", href: "/contact" }} - /> - -
- - -
- console.log("Clicked Watch") - }, - { - name: "Premium Leather Tote", - price: "$249.00", - imageSrc: "https://images.unsplash.com/photo-1548036328-c9fa89d128fa?auto=format&fit=crop&q=80", - onClick: () => console.log("Clicked Bag") - }, - { - name: "Polarized Aviator Sunglasses", - price: "$129.00", - imageSrc: "https://images.unsplash.com/photo-1511499767150-a48a237f0083?auto=format&fit=crop&q=80", - onClick: () => console.log("Clicked Sunglasses") - } - ]} - /> -
- -
- -
- - -
- - -
+ <> +
+
+ ); -} \ No newline at end of file +} -- 2.49.1