From 44a13817bea267a0f269d3e0899d52625ba826a8 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 13:39:04 +0000 Subject: [PATCH 1/2] Update src/app/layout.tsx --- src/app/layout.tsx | 54 +++++++++++----------------------------------- 1 file changed, 13 insertions(+), 41 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 2441c16..47d5993 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,55 +1,28 @@ import type { Metadata } from "next"; -import { Halant } from "next/font/google"; -import { Inter } from "next/font/google"; -import { Source_Sans_3 } from "next/font/google"; -import "./globals.css"; -import { ServiceWrapper } from "@/components/ServiceWrapper"; -import Tag from "@/tag/Tag"; +import { Geist, Geist_Mono } from "next/font/google"; +import "@/styles/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 sourceSans3 = Source_Sans_3({ - variable: "--font-source-sans-3", subsets: ["latin"], +const geistMono = Geist_Mono({ + variable: "--font-geist-mono", subsets: ["latin"], }); export const metadata: Metadata = { - title: "StudyHub: AI-Powered Study Platform for Students", description: "Master any subject with interactive flashcards, progress tracking, and collaborative study tools. Join 50K+ students succeeding with StudyHub today.", keywords: "study app, flashcards, learning platform, exam preparation, study tools, student success", metadataBase: new URL("https://studyhub.com"), - alternates: { - canonical: "https://studyhub.com" - }, - openGraph: { - title: "StudyHub: Study Smarter, Learn Faster", description: "The ultimate study companion with intelligent flashcards, progress tracking, and collaborative learning tools.", url: "https://studyhub.com", siteName: "StudyHub", type: "website" - }, - twitter: { - card: "summary_large_image", title: "StudyHub: Study Smarter", description: "AI-powered flashcards and learning tools for academic success" - }, - robots: { - index: true, - follow: true - } -}; + title: "StudyHub | Master Any Subject with Smart Study Tools", description: "AI-powered study companion. Learn faster, retain better. Interactive flashcards, progress tracking, and study collaboration."}; export default function RootLayout({ children, -}: Readonly<{ +}: { children: React.ReactNode; -}>) { +}) { return ( - - - - - {children} - + + + {children} +