From 039a20cf183f8567971f2be2e3ce0d50efed186f Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 28 Jun 2026 11:09:17 +0000 Subject: [PATCH 1/2] Bob AI: Add products page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/ProductsPage.tsx | 94 ++++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 100 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 a6e678a..7c54d99 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -27,7 +27,9 @@ export default function Layout() { }, { "name": "Metrics", "href": "#metrics" - } + }, + { name: "Products", href: "/products" }, + ]; return ( diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx new file mode 100644 index 0000000..371bafe --- /dev/null +++ b/src/pages/ProductsPage.tsx @@ -0,0 +1,94 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroSplit from "@/components/sections/hero/HeroSplit"; +import FeaturesDetailedCards from "@/components/sections/features/FeaturesDetailedCards"; +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: "Open Account", href: "/contact" }} + /> + +
+ + +
+
+ + +
+ + +
+ ); +} \ 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 772b1999cd0ff41056983803b44326475b56621e Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 28 Jun 2026 11:09:54 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/ProductsPage.tsx (snippet builder, 1 sections) --- src/pages/ProductsPage.tsx | 101 ++++--------------------------------- 1 file changed, 11 insertions(+), 90 deletions(-) diff --git a/src/pages/ProductsPage.tsx b/src/pages/ProductsPage.tsx index 371bafe..68189b6 100644 --- a/src/pages/ProductsPage.tsx +++ b/src/pages/ProductsPage.tsx @@ -1,94 +1,15 @@ -import React from "react"; -import { routes } from "@/routes"; -import NavbarCentered from "@/components/ui/NavbarCentered"; -import HeroSplit from "@/components/sections/hero/HeroSplit"; -import FeaturesDetailedCards from "@/components/sections/features/FeaturesDetailedCards"; -import ContactCta from "@/components/sections/contact/ContactCta"; -import FooterSimple from "@/components/sections/footer/FooterSimple"; +import FeaturesAlternatingSplit from "@/components/sections/features/FeaturesAlternatingSplit"; export default function ProductsPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Open Account", href: "/contact" }} - /> - -
- - -
-
- - -
- - -
+ <> +
+ ); -} \ No newline at end of file +} -- 2.49.1