Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b8c8ddee3 | |||
| 4d1d1b1001 | |||
| a274e1e910 | |||
| 2107ce5dc6 | |||
| 8bae28eb34 | |||
| ebcb541ab2 | |||
| 20c84cb1b5 |
@@ -1,39 +1,22 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Manrope } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { DM_Sans } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import "./styles/variables.css";
|
||||||
import Tag from "@/tag/Tag";
|
import "./styles/base.css";
|
||||||
|
|
||||||
const manrope = Manrope({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-manrope", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const dmSans = DM_Sans({
|
|
||||||
variable: "--font-dm-sans", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Chess Club - Master Your Game", description: "Join our vibrant chess community for tournaments, coaching, and competitive play. Build your skills and connect with chess enthusiasts.", keywords: "chess club, tournaments, chess lessons, community, competitive chess", openGraph: {
|
title: "Chess Club", description: "A vibrant chess community for players of all skill levels"};
|
||||||
title: "Chess Club - Master Your Game", description: "Join our vibrant chess community for tournaments, coaching, and competitive play.", siteName: "Chess Club", type: "website"},
|
|
||||||
twitter: {
|
|
||||||
card: "summary_large_image", title: "Chess Club - Master Your Game", description: "Join our vibrant chess community for tournaments, coaching, and competitive play."},
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${manrope.variable} ${dmSans.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1401,7 +1384,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,16 +104,20 @@ export default function ChessClubPage() {
|
|||||||
useInvertedBackground={true}
|
useInvertedBackground={true}
|
||||||
features={[
|
features={[
|
||||||
{
|
{
|
||||||
id: 1, title: "Expert Coaching & Training", description: "Learn from experienced instructors who help you master openings, middlegame tactics, and endgame strategies tailored to your skill level.", imageSrc: "http://img.b2bpic.net/free-photo/father-son-playing-chess_23-2148441010.jpg"
|
id: 1,
|
||||||
|
title: "Expert Coaching & Training", description: "Learn from experienced instructors who help you master openings, middlegame tactics, and endgame strategies tailored to your skill level.", imageSrc: "http://img.b2bpic.net/free-photo/father-son-playing-chess_23-2149833667.jpg"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2, title: "Weekly Meetups & Events", description: "Participate in casual games, blitz tournaments, and themed chess nights every week, building connections with fellow enthusiasts.", imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-friends-enjoying-while-playing-chess-coffee-time-home_637285-4535.jpg?_wi=2"
|
id: 2,
|
||||||
|
title: "Weekly Meetups & Events", description: "Participate in casual games, blitz tournaments, and themed chess nights every week, building connections with fellow enthusiasts.", imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-friends-enjoying-while-playing-chess-coffee-time-home_637285-4535.jpg?_wi=2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3, title: "Competitive Tournaments", description: "Test your skills in our regular internal tournaments and annual championship events with prizes and recognition.", imageSrc: "http://img.b2bpic.net/free-vector/neon-chess-club-fun-night-flyer_742173-6368.jpg"
|
id: 3,
|
||||||
|
title: "Competitive Tournaments", description: "Test your skills in our regular internal tournaments and annual championship events with prizes and recognition.", imageSrc: "http://img.b2bpic.net/free-vector/neon-chess-club-fun-night-flyer_742173-6368.jpg"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 4, title: "Access to Resources", description: "Explore our library of chess books, online databases, training platforms, and analysis tools exclusively for members.", imageSrc: "http://img.b2bpic.net/free-photo/colorful-books-wooden-table_23-2147850024.jpg"
|
id: 4,
|
||||||
|
title: "Access to Resources", description: "Explore our library of chess books, online databases, training platforms, and analysis tools exclusively for members.", imageSrc: "http://img.b2bpic.net/free-photo/colorful-books-wooden-table_23-2147850024.jpg"
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
@@ -275,4 +279,4 @@ export default function ChessClubPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,15 +10,15 @@
|
|||||||
--accent: #ffffff;
|
--accent: #ffffff;
|
||||||
--background-accent: #ffffff; */
|
--background-accent: #ffffff; */
|
||||||
|
|
||||||
--background: #f5f5f5;
|
--background: #000000;
|
||||||
--card: #ffffff;
|
--card: #1a2f1d;
|
||||||
--foreground: #1c1c1c;
|
--foreground: #ffffff;
|
||||||
--primary-cta: #1c1c1c;
|
--primary-cta: #ffffff;
|
||||||
--primary-cta-text: #f5f5f5;
|
--primary-cta-text: #f5f5f5;
|
||||||
--secondary-cta: #ffffff;
|
--secondary-cta: #0d200f;
|
||||||
--secondary-cta-text: #1c1c1c;
|
--secondary-cta-text: #1c1c1c;
|
||||||
--accent: #15479c;
|
--accent: #1a3d1f;
|
||||||
--background-accent: #a8cce8;
|
--background-accent: #355e3b;
|
||||||
|
|
||||||
/* text sizing - set by ThemeProvider */
|
/* text sizing - set by ThemeProvider */
|
||||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||||
|
|||||||
Reference in New Issue
Block a user