11 Commits

Author SHA1 Message Date
0286cc1a7e Merge version_6 into main
Merge version_6 into main
2026-05-02 07:43:17 +00:00
8a02e88689 Update theme colors 2026-05-02 07:43:11 +00:00
05b1405e58 Merge version_5 into main
Merge version_5 into main
2026-05-02 07:43:01 +00:00
93cee5d551 Update theme fonts 2026-05-02 07:42:58 +00:00
db680bb977 Update theme fonts 2026-05-02 07:42:58 +00:00
48d6a19182 Merge version_5 into main
Merge version_5 into main
2026-05-02 07:42:55 +00:00
bca0b08941 Update theme fonts 2026-05-02 07:42:52 +00:00
53e59d4584 Update theme fonts 2026-05-02 07:42:52 +00:00
4a1a270b29 Merge version_5 into main
Merge version_5 into main
2026-05-02 07:41:41 +00:00
48b772093d Update src/app/dashboard/page.tsx 2026-05-02 07:41:35 +00:00
cd6c522ec0 Merge version_4 into main
Merge version_4 into main
2026-05-02 07:39:58 +00:00
4 changed files with 25 additions and 23 deletions

View File

@@ -27,21 +27,16 @@ export default function DashboardPage() {
]}
brandName="MarbleCityFC"
/>
<div className="pt-24">
<MetricCardSeven
title="Performance Insights"
description="Detailed performance analysis for all club players."
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
metrics={[
{ id: "m1", value: "92%", title: "Passing Accuracy", items: ["High precision in midfield", "Improved transition play"] },
{ id: "m2", value: "14", title: "Key Assists", items: ["Leading in league", "Consistent wing delivery"] },
{ id: "m3", value: "8", title: "Clean Sheets", items: ["Strong defensive line", "Goalkeeper dominance"] }
]}
/>
<div className="pt-24 min-h-screen flex items-center justify-center p-8">
<div className="text-center space-y-4">
<h1 className="text-4xl font-bold">Login Required</h1>
<p>Please authenticate your credentials to access the statistics dashboard.</p>
<button className="px-6 py-3 bg-primary text-white rounded-md shadow hover:opacity-90">
Authenticate Now
</button>
</div>
</div>
</ReactLenis>
</ThemeProvider>
);
}
}

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Montserrat } from "next/font/google";
import { Open_Sans } from "next/font/google";
@@ -15,8 +16,14 @@ export const metadata: Metadata = {
description: 'Manage player stats, matches, and team rankings for MarbleCityFC.',
};
const montserrat = Montserrat({
variable: "--font-montserrat",
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
@@ -28,7 +35,7 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${montserrat.variable} antialiased`}>
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
<Tag />
{children}
<script

View File

@@ -11,7 +11,7 @@ html {
body {
background-color: var(--background);
color: var(--foreground);
font-family: var(--font-montserrat), sans-serif;
font-family: var(--font-open-sans), sans-serif;
position: relative;
min-height: 100vh;
overscroll-behavior: none;
@@ -24,5 +24,5 @@ h3,
h4,
h5,
h6 {
font-family: var(--font-montserrat), sans-serif;
font-family: var(--font-inter), sans-serif;
}

View File

@@ -12,13 +12,13 @@
--background: #ffffff;
--card: #f9f9f9;
--foreground: #000612;
--primary-cta: #15479c;
--foreground: #000612e6;
--primary-cta: #106EFB;
--primary-cta-text: #ffffff;
--secondary-cta: #f9f9f9;
--secondary-cta-text: #000612;
--secondary-cta-text: #000612e6;
--accent: #e2e2e2;
--background-accent: #c4c4c4;
--background-accent: #106EFB;
/* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);