From 567ff2fa8a26af6fe04e2ed30e23a5b0d531211c Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 17:17:01 +0000 Subject: [PATCH] Bob AI: Add portfolio page --- src/App.tsx | 2 + src/components/Layout.tsx | 4 +- src/pages/PortfolioPage.tsx | 99 +++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 src/pages/PortfolioPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..4cc1975 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 PortfolioPage from "@/pages/PortfolioPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 9d99953..46b6439 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -34,7 +34,9 @@ export default function Layout() { { "name": "Faq", "href": "#faq" - } + }, + { name: "Portfolio", href: "/portfolio" }, + ]; return ( diff --git a/src/pages/PortfolioPage.tsx b/src/pages/PortfolioPage.tsx new file mode 100644 index 0000000..0ed46f5 --- /dev/null +++ b/src/pages/PortfolioPage.tsx @@ -0,0 +1,99 @@ +import React from "react"; +import { routes } from "@/routes"; +import NavbarCentered from "@/components/ui/NavbarCentered"; +import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi"; +import MetricsFeatureCards from "@/components/sections/metrics/MetricsFeatureCards"; +import FeaturesIconCards from "@/components/sections/features/FeaturesIconCards"; +import FooterSimple from "@/components/sections/footer/FooterSimple"; + +export default function PortfolioPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Connect Wallet", href: "#" }} + /> + +
+ + + + + +
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..bf82e0c 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: '/portfolio', label: 'Portfolio', pageFile: 'PortfolioPage' }, ];