From b32a105eee0415b42648797109f4c121a06022a3 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 4 Apr 2026 21:16:51 +0000 Subject: [PATCH 1/2] Add src/app/admin/page.tsx --- src/app/admin/page.tsx | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/app/admin/page.tsx diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx new file mode 100644 index 0000000..5539585 --- /dev/null +++ b/src/app/admin/page.tsx @@ -0,0 +1,60 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; +import MetricCardThree from "@/components/sections/metrics/MetricCardThree"; +import { BarChart3, TrendingUp, Users, DollarSign, Lock } from "lucide-react"; + +export default function AdminPage() { + const [isAuthenticated, setIsAuthenticated] = useState(false); + const [password, setPassword] = useState(""); + + if (!isAuthenticated) { + return ( +
+
+

Admin Authentication

+ setPassword(e.target.value)} + /> + +
+
+ ); + } + + return ( + + +
+
+ +
+
+
+ ); +} \ No newline at end of file -- 2.49.1 From a0d89f6011dab359bea31c67040fd825eb1480f2 Mon Sep 17 00:00:00 2001 From: bender Date: Sat, 4 Apr 2026 21:16:51 +0000 Subject: [PATCH 2/2] Update src/app/page.tsx --- src/app/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c93419b..9aff208 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -36,7 +36,8 @@ export default function LandingPage() { { name: "Features", id: "features" }, { name: "Results", id: "results" }, { name: "FAQ", id: "faq" }, - { name: "Contact", id: "contact" } + { name: "Contact", id: "contact" }, + { name: "Admin", id: "/admin" } ]} brandName="BoostPulse" /> -- 2.49.1