Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0286cc1a7e | |||
| 8a02e88689 | |||
| 05b1405e58 | |||
| 93cee5d551 | |||
| db680bb977 | |||
| 48d6a19182 | |||
| bca0b08941 | |||
| 53e59d4584 | |||
| 4a1a270b29 | |||
| 48b772093d | |||
| cd6c522ec0 |
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user