From 614d90b17aea0415befe268f2cc26609ca3d4d01 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 8 Mar 2026 14:02:43 +0000 Subject: [PATCH 1/2] Update src/app/layout.tsx --- src/app/layout.tsx | 58 ++++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 41 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 84d88d8..364c0b6 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,55 +1,32 @@ -import type { Metadata } from "next"; -import { Halant } from "next/font/google"; -import { Inter } from "next/font/google"; -import { Nunito_Sans } from "next/font/google"; -import "./globals.css"; -import { ServiceWrapper } from "@/components/ServiceWrapper"; -import Tag from "@/tag/Tag"; +import type { Metadata } from 'next'; +import { Geist, Geist_Mono } from 'next/font/google'; +import './globals.css'; -const halant = Halant({ - variable: "--font-halant", subsets: ["latin"], - weight: ["300", "400", "500", "600", "700"], +const geist = Geist({ + variable: '--font-geist-sans', + subsets: ['latin'], }); -const inter = Inter({ - variable: "--font-inter", subsets: ["latin"], -}); - -const nunitoSans = Nunito_Sans({ - variable: "--font-nunito-sans", subsets: ["latin"], +const geistMono = Geist_Mono({ + variable: '--font-geist-mono', + subsets: ['latin'], }); export const metadata: Metadata = { - title: "CodeLearn - Master Coding at Your Own Pace", description: "Learn coding from beginner to expert with interactive courses, real-world projects, and mentorship. Join 50,000+ successful learners today.", keywords: "coding courses, learn programming, web development, Python, JavaScript, online coding, programming education", robots: { - index: true, - follow: true, - }, - openGraph: { - title: "CodeLearn - Master Coding at Your Own Pace", description: "Learn coding from beginner to expert with interactive courses, real-world projects, and mentorship.", type: "website", siteName: "CodeLearn", images: [ - { - url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AfKRAUYaDLszeLQYjCJmj2Js2X/a-modern-vibrant-coding-learning-dashboa-1772978274282-c017a009.png", alt: "CodeLearn platform interface"}, - ], - }, - twitter: { - card: "summary_large_image", title: "CodeLearn - Master Coding at Your Own Pace", description: "Learn coding from beginner to expert with interactive courses and mentorship.", images: [ - "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AfKRAUYaDLszeLQYjCJmj2Js2X/a-modern-vibrant-coding-learning-dashboa-1772978274282-c017a009.png"], - }, + title: 'CodeLearn - Master Coding at Your Own Pace', + description: 'Join thousands of learners transforming their careers with our interactive coding platform.', }; export default function RootLayout({ children, -}: Readonly<{ +}: { children: React.ReactNode; -}>) { +}) { return ( - - - - - {children} - + + + {children} +