Update src/app/layout.tsx

This commit is contained in:
2026-03-05 06:05:34 +00:00
parent 469a81f334
commit d8ce5d8805

View File

@@ -1,52 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { DM_Sans } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
const geistSans = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Shaswat Chetna Sr Sec School | Quality Education in Ganaur, Haryana", description: "Top CBSE school in Ganaur offering quality education from Nursery to Class 12. Experienced teachers, modern facilities, and focus on character development. Admissions open now.", keywords: "school in Ganaur, best school near Garhi Haryana, CBSE school, senior secondary school, private school near Ganaur", metadataBase: new URL("https://shaswatchetnaschool.com"),
alternates: {
canonical: "https://shaswatchetnaschool.com"},
openGraph: {
title: "Shaswat Chetna Sr Sec School | Quality Education in Ganaur", description: "Trusted educational institution providing quality academics and holistic development for students age 3-18 in Ganaur, Haryana.", url: "https://shaswatchetnaschool.com", siteName: "Shaswat Chetna Sr Sec School", type: "website"},
twitter: {
card: "summary_large_image", title: "Shaswat Chetna Sr Sec School - Quality Education", description: "Admission open now at Shaswat Chetna Sr Sec School in Ganaur, Haryana. Call 090171 71769 or apply online."},
robots: {
index: true,
follow: true,
},
};
title: "Create Next App", description: "Generated by create next app"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1414,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}