From 750965190d89ef023e0aa80166e5c73d8e6d2c9e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 12:43:02 +0000 Subject: [PATCH 1/3] Bob AI: Add product page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/ProductPage.tsx | 77 +++++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 src/pages/ProductPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..6c49c86 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 ProductPage from "@/pages/ProductPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 5dacdd6..5389ec6 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -35,7 +35,9 @@ export default function Layout() { { "name": "Featured", "href": "#featured" - } + }, + { name: "Product", href: "/product" }, + ]; return ( diff --git a/src/pages/ProductPage.tsx b/src/pages/ProductPage.tsx new file mode 100644 index 0000000..c71b978 --- /dev/null +++ b/src/pages/ProductPage.tsx @@ -0,0 +1,77 @@ +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import SocialProofMarquee from "@/components/sections/social-proof/SocialProofMarquee"; +import FaqSimple from "@/components/sections/faq/FaqSimple"; + +export default function ProductPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "View Cart", href: "/cart" }} + /> + +
+ 🔥 High Demand: 47 units sold in the last 24 hours! Limited stock remaining. +
+ + + + + + + +
+
+ Total: + $129.00 +
+ +
+
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..3b045ad 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: '/product', label: 'Product', pageFile: 'ProductPage' }, ]; -- 2.49.1 From dfe49226b35ff29554e3acc173a61215f645cd2b Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 12:43:39 +0000 Subject: [PATCH 2/3] Bob AI: Populate src/pages/ProductPage.tsx (snippet builder, 3 sections) --- src/pages/ProductPage.tsx | 108 +++++++++++++------------------------- 1 file changed, 36 insertions(+), 72 deletions(-) diff --git a/src/pages/ProductPage.tsx b/src/pages/ProductPage.tsx index c71b978..a232e0c 100644 --- a/src/pages/ProductPage.tsx +++ b/src/pages/ProductPage.tsx @@ -1,77 +1,41 @@ -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroSplit from "@/components/sections/hero/HeroSplit"; -import SocialProofMarquee from "@/components/sections/social-proof/SocialProofMarquee"; +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 FaqSimple from "@/components/sections/faq/FaqSimple"; export default function ProductPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "View Cart", href: "/cart" }} - /> - -
- 🔥 High Demand: 47 units sold in the last 24 hours! Limited stock remaining. -
- - - - - - - -
-
- Total: - $129.00 -
- -
-
+ <> +

🔥 Limited Stock

+

Verified Buyers

Ananya S.
+
Rahul V.
+
Priya M.
+
Vikram J.
+
Sneha K.
+
Ananya S.
+
Rahul V.
+
Priya M.
+
Vikram J.
+
Sneha K.
+
Ananya S.
+
Rahul V.
+
Priya M.
+
Vikram J.
+
Sneha K.
+
Ananya S.
+
Rahul V.
+
Priya M.
+
Vikram J.
+
Sneha K.
+
+ ); -} \ No newline at end of file +} -- 2.49.1 From ed4055362884df0d878933c8361a2d3fa3d3b23c Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 12:44:28 +0000 Subject: [PATCH 3/3] Bob AI: fix build errors (attempt 1) --- src/pages/ProductPage.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/pages/ProductPage.tsx b/src/pages/ProductPage.tsx index a232e0c..6bf1bac 100644 --- a/src/pages/ProductPage.tsx +++ b/src/pages/ProductPage.tsx @@ -8,8 +8,8 @@ import FaqSimple from "@/components/sections/faq/FaqSimple"; export default function ProductPage() { return ( <> -

🔥 Limited Stock

-

Verified Buyers

Ananya S.
+

🔥 Limited Stock

+

Verified Buyers

Ananya S.
Rahul V.
Priya M.
Vikram J.
@@ -30,12 +30,11 @@ export default function ProductPage() {
Vikram J.
Sneha K.
); -} +} \ No newline at end of file -- 2.49.1