3 Commits

Author SHA1 Message Date
c18160484a Update src/app/page.tsx 2026-05-02 07:36:38 +00:00
29863efb09 Update src/app/page.tsx 2026-05-02 07:36:15 +00:00
7c28681f23 Merge version_2 into main
Merge version_2 into main
2026-05-02 07:31:04 +00:00

View File

@@ -31,7 +31,7 @@ export default function LandingPage() {
{ name: "Home", id: "home" },
{ name: "Leaderboard", id: "leaderboard" },
{ name: "Matches", id: "matches" },
{ name: "Admin", id: "admin" },
{ name: "Dashboard", id: "/dashboard" },
]}
brandName="MarbleCityFC"
/>
@@ -119,6 +119,11 @@ export default function LandingPage() {
title="Match & Stats Entry"
description="Use this secure panel to input new player data, soccer match scores, and update weekly stats."
inputPlaceholder="Enter admin authorization code"
onSubmit={(email: string) => {
if (email === "admin") {
window.location.href = "/dashboard";
}
}}
/>
</div>
@@ -127,7 +132,7 @@ export default function LandingPage() {
columns={[
{
title: "Platform", items: [
{ label: "Dashboard", href: "#home" },
{ label: "Dashboard", href: "/dashboard" },
{ label: "Stats", href: "#leaderboard" },
],
},
@@ -141,4 +146,70 @@ export default function LandingPage() {
</ReactLenis>
</ThemeProvider>
);
}"
},
{
"path": "src/app/dashboard/page.tsx", "content": "\"use client\";
import { ThemeProvider } from \"@/providers/themeProvider/ThemeProvider\";
import ReactLenis from \"lenis/react\";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import FooterBase from '@/components/sections/footer/FooterBase';
export default function DashboardPage() {
return (
<ThemeProvider
defaultButtonVariant=\"bounce-effect\"
defaultTextAnimation=\"entrance-slide\"
borderRadius=\"rounded\"
contentWidth=\"medium\"
sizing=\"medium\"
background=\"circleGradient\"
cardStyle=\"glass-elevated\"
primaryButtonStyle=\"gradient\"
secondaryButtonStyle=\"glass\"
headingFontWeight=\"normal\"
>
<ReactLenis root>
<div id=\"nav\" data-section=\"nav\">
<NavbarStyleCentered
navItems={[
{ name: \"Home\", id: \"/\" },
{ name: \"Dashboard\", id: \"/dashboard\" },
]}
brandName=\"MarbleCityFC\"
/>
</div>
<div className=\"py-20\">
<MetricCardFourteen
useInvertedBackground={false}
title=\"Executive Dashboard\"
tag=\"System Insights\"
metrics={[
{ id: \"d1\", value: \"$1.2M\", description: \"Annual Revenue\" },
{ id: \"d2\", value: \"89%\", description: \"Player Retention\" },
{ id: \"d3\", value: \"450+\", description: \"Monthly Active Users\" },
]}
metricsAnimation=\"slide-up\"
/>
</div>
<div id=\"footer\" data-section=\"footer\">
<FooterBase
columns={[
{
title: \"Navigation\", items: [
{ label: \"Back to Home\", href: \"/\" },
],
},
]}
logoText=\"MarbleCityFC\"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}"
}
]
}