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 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" />