From 6873267e023ac6d9880f1f93f611cdc24122fcd9 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 18:52:44 +0000 Subject: [PATCH 1/2] Bob AI: Add products page --- src/pages/ProductsPage.tsx | 129 +++++++++++++++++++++++++++++-------- 1 file changed, 102 insertions(+), 27 deletions(-) diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx index 867aefe..70890af 100644 --- a/src/pages/ProductsPage.tsx +++ b/src/pages/ProductsPage.tsx @@ -1,31 +1,106 @@ -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 ProductQuantityCards from "@/components/sections/product/ProductQuantityCards"; -import FeaturesAttributeCards from "@/components/sections/features/FeaturesAttributeCards"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroBillboard from "@/components/sections/hero/HeroBillboard"; +import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; +import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; export default function ProductsPage() { return ( - <> -
-
-
- +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "View Cart", href: "/cart" }} + /> + +
+ + +
+ console.log("Clicked Kraken Teaser") + }, + { + name: "Pelagic Popper", + price: "$32.00", + imageSrc: "https://images.unsplash.com/photo-1611077544812-70b55238b1ce?auto=format&fit=crop&q=80", + onClick: () => console.log("Clicked Pelagic Popper") + }, + { + name: "Wahoo Bullet", + price: "$28.00", + imageSrc: "https://images.unsplash.com/photo-1551221602-181512141525?auto=format&fit=crop&q=80", + onClick: () => console.log("Clicked Wahoo Bullet") + } + ]} + /> +
+ + +
+ + +
); -} +} \ No newline at end of file -- 2.49.1 From 77e0e5e96d7a651b65e38ff837314059c5803339 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 18:53:16 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/ProductsPage.tsx (snippet builder, 2 sections) --- src/pages/ProductsPage.tsx | 116 +++++-------------------------------- 1 file changed, 14 insertions(+), 102 deletions(-) diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx index 70890af..d5aa390 100644 --- a/src/pages/ProductsPage.tsx +++ b/src/pages/ProductsPage.tsx @@ -1,106 +1,18 @@ -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroBillboard from "@/components/sections/hero/HeroBillboard"; -import ProductMediaCards from "@/components/sections/product/ProductMediaCards"; -import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards"; -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: "View Cart", href: "/cart" }} - /> - -
- - -
- console.log("Clicked Kraken Teaser") - }, - { - name: "Pelagic Popper", - price: "$32.00", - imageSrc: "https://images.unsplash.com/photo-1611077544812-70b55238b1ce?auto=format&fit=crop&q=80", - onClick: () => console.log("Clicked Pelagic Popper") - }, - { - name: "Wahoo Bullet", - price: "$28.00", - imageSrc: "https://images.unsplash.com/photo-1551221602-181512141525?auto=format&fit=crop&q=80", - onClick: () => console.log("Clicked Wahoo Bullet") - } - ]} - /> -
- - -
- - -
+ <> +
+
+ ); -} \ No newline at end of file +} -- 2.49.1