Merge version_2 into main #3
@@ -1,67 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Public_Sans } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const publicSans = Public_Sans({
|
||||
variable: "--font-public-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "National Model High School | Premier Education in Kolkata",
|
||||
description: "NMHS offers premium education with academic excellence, modern facilities, and holistic development for students. Trusted by 2500+ families since 1995.",
|
||||
keywords: "school, education, Kolkata, NMHS, high school, academics, admissions",
|
||||
metadataBase: new URL("https://nmhs.edu"),
|
||||
alternates: {
|
||||
canonical: "https://nmhs.edu",
|
||||
},
|
||||
openGraph: {
|
||||
title: "National Model High School",
|
||||
description: "Excellence in Education Since 1995",
|
||||
url: "https://nmhs.edu",
|
||||
siteName: "National Model High School",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/multiethnic-group-students-library-participate-lesson-with-doctor_482257-118528.jpg",
|
||||
alt: "NMHS Campus",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "National Model High School",
|
||||
description: "Premier educational institution in Kolkata",
|
||||
images: ["http://img.b2bpic.net/free-photo/multiethnic-group-students-library-participate-lesson-with-doctor_482257-118528.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "National Model High School", description: "Excellence in Education Since 1995"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${publicSans.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1429,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function HomePage() {
|
||||
rating={5}
|
||||
ratingText="Trusted by 2500+ Families"
|
||||
buttons={[
|
||||
{ text: "Explore Programs", href: "/academics" },
|
||||
{ text: "Schedule Campus Tour", href: "/admissions" },
|
||||
{ text: "Apply Now", href: "/admissions" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
@@ -187,4 +187,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user