Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c2c3326caa | |||
| 143d590326 | |||
| f5b7aeabd1 | |||
| 2e8c2d69bb |
@@ -1,67 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Public_Sans } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const publicSans = Public_Sans({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-public-sans",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
const inter = Inter({
|
|
||||||
variable: "--font-inter",
|
|
||||||
subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "National Model High School | Premier Education in Kolkata",
|
title: "National Model High School", description: "Excellence in Education Since 1995"};
|
||||||
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,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
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={`${publicSans.variable} ${inter.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1429,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -57,7 +57,7 @@ export default function HomePage() {
|
|||||||
rating={5}
|
rating={5}
|
||||||
ratingText="Trusted by 2500+ Families"
|
ratingText="Trusted by 2500+ Families"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Explore Programs", href: "/academics" },
|
{ text: "Schedule Campus Tour", href: "/admissions" },
|
||||||
{ text: "Apply Now", href: "/admissions" },
|
{ text: "Apply Now", href: "/admissions" },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user