From 9771c4b2952f59e55dea9aa55ed22b202d65fdf4 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Fri, 3 Jul 2026 20:21:11 +0000 Subject: [PATCH 1/2] Bob AI: Add dashboard page --- src/App.tsx | 2 ++ src/components/Layout.tsx | 4 ++- src/pages/DashboardPage.tsx | 59 +++++++++++++++++++++++++++++++++++++ src/routes.ts | 1 + 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 src/pages/DashboardPage.tsx diff --git a/src/App.tsx b/src/App.tsx index 33d15f9..21c0cfa 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 DashboardPage from "@/pages/DashboardPage"; export default function App() { return ( }> } /> + } /> ); diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index ce8dfe6..4994796 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -27,7 +27,9 @@ export default function Layout() { }, { "name": "Metrics", "href": "#metrics" - } + }, + { name: "Dashboard", href: "/dashboard" }, + ]; return ( diff --git a/src/pages/DashboardPage.tsx b/src/pages/DashboardPage.tsx new file mode 100644 index 0000000..15a86d8 --- /dev/null +++ b/src/pages/DashboardPage.tsx @@ -0,0 +1,59 @@ +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 FooterMinimal from "@/components/sections/footer/FooterMinimal"; + +export default function DashboardPage() { + return ( +
+ ({ name: r.label, href: r.path }))} + ctaButton={{ text: "Login", href: "/login" }} + /> + +
+ + + +
+ + +
+ ); +} \ No newline at end of file diff --git a/src/routes.ts b/src/routes.ts index 362ecb5..6f95978 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: '/dashboard', label: 'Dashboard', pageFile: 'DashboardPage' }, ]; -- 2.49.1 From 169f355329116ae518bfedea1f8076dc7fc348d1 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Fri, 3 Jul 2026 20:22:56 +0000 Subject: [PATCH 2/2] Bob AI: Populate src/pages/DashboardPage.tsx (snippet builder, 4 sections) --- src/pages/DashboardPage.tsx | 97 ++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 55 deletions(-) diff --git a/src/pages/DashboardPage.tsx b/src/pages/DashboardPage.tsx index 15a86d8..8b5c725 100644 --- a/src/pages/DashboardPage.tsx +++ b/src/pages/DashboardPage.tsx @@ -1,59 +1,46 @@ -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 FooterMinimal from "@/components/sections/footer/FooterMinimal"; +import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi"; +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import GridOrCarousel from "@/components/ui/GridOrCarousel"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import MetricsIconCards from "@/components/sections/metrics/MetricsIconCards"; +import FeaturesBento from "@/components/sections/features/FeaturesBento"; export default function DashboardPage() { return ( -
- ({ name: r.label, href: r.path }))} - ctaButton={{ text: "Login", href: "/login" }} - /> - -
- - - -
- - -
+ <> +
+

System Overview

$450k

Net Profit (Monthly)

+
4,250

AI Leads Generated

+
342

Meetings Booked

+
$12.5k

Avg Employee Earnings

+
+
+ ); -} \ No newline at end of file +} -- 2.49.1