From 47ef18699150620c4dabe54f7ba150945fb6f2b1 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 11:55:21 +0000 Subject: [PATCH 1/2] Bob AI: Add inventory page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/InventoryPage.tsx | 107 ++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 src/pages/InventoryPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..5539644 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 InventoryPage from "@/pages/InventoryPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 1c19661..e4c1e19 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -27,7 +27,9 @@ export default function Layout() { }, { "name": "Contact", "href": "#contact" - } + }, + { name: "Inventory", href: "/inventory" }, + ]; return ( diff --git a/src/pages/InventoryPage.tsx b/src/pages/InventoryPage.tsx new file mode 100644 index 0000000..f44f9ab --- /dev/null +++ b/src/pages/InventoryPage.tsx @@ -0,0 +1,107 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroBrand from "@/components/sections/hero/HeroBrand"; +import ProductVariantCards from "@/components/sections/product/ProductVariantCards"; +import FooterMinimal from "@/components/sections/footer/FooterMinimal"; +import NoiseBackground from "@/components/ui/NoiseBackground"; + +export default function InventoryPage() { + return ( +
+ + +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "View Cart", href: "/cart" }} + /> + +
+ + +
+ +
+
+ + +
+
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..4c09f2e 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: '/inventory', label: 'Inventory', pageFile: 'InventoryPage' }, ]; -- 2.49.1 From 1ddb677ab1f1fbd86da7bf4072b92f0fc74ba1fa Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Mon, 22 Jun 2026 11:56:26 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/InventoryPage.tsx (snippet builder, 1 sections) --- src/pages/InventoryPage.tsx | 114 ++++-------------------------------- 1 file changed, 11 insertions(+), 103 deletions(-) diff --git a/src/pages/InventoryPage.tsx b/src/pages/InventoryPage.tsx index f44f9ab..0ec09a8 100644 --- a/src/pages/InventoryPage.tsx +++ b/src/pages/InventoryPage.tsx @@ -1,107 +1,15 @@ -import React from "react"; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroBrand from "@/components/sections/hero/HeroBrand"; -import ProductVariantCards from "@/components/sections/product/ProductVariantCards"; -import FooterMinimal from "@/components/sections/footer/FooterMinimal"; -import NoiseBackground from "@/components/ui/NoiseBackground"; +import { ArrowUpRight, Loader2 } from "lucide-react"; +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import useProducts from "@/hooks/useProducts"; export default function InventoryPage() { return ( -
- - -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "View Cart", href: "/cart" }} - /> - -
- - -
- -
-
- - -
-
+ <> +
+ ); -} \ No newline at end of file +} -- 2.49.1