Update src/app/layout.tsx
This commit is contained in:
@@ -1,24 +1,61 @@
|
||||
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 { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
import { Source_Sans_3 } from "next/font/google";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const sourceSans3 = Source_Sans_3({
|
||||
variable: "--font-source-sans-3",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "E2 Academy - Premium Mathematics Tuition | CBSE Exam Prep",
|
||||
description: "Expert mathematics tuition focused on concept clarity and board exam success. Learn from Sachin Sir with proven teaching methods for Class 8-10.",
|
||||
keywords: "mathematics tuition, CBSE exam preparation, math coaching, Class 10 board exam, concept learning, mathematics teacher, online tuition, education",
|
||||
metadataBase: new URL("https://e2academy.in"),
|
||||
alternates: {
|
||||
canonical: "https://e2academy.in",
|
||||
},
|
||||
openGraph: {
|
||||
title: "E2 Academy - Master Mathematics with Confidence",
|
||||
description: "Concept-focused mathematics tuition designed for true understanding and exam excellence.",
|
||||
url: "https://e2academy.in",
|
||||
siteName: "E2 Academy",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/beautiful-hispanic-student-writing-white-board-school-smiling_662251-1797.jpg",
|
||||
alt: "E2 Academy Mathematics Tuition",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "E2 Academy - Premium Mathematics Tuition",
|
||||
description: "Build confidence and excellence in mathematics with concept-focused teaching.",
|
||||
images: ["http://img.b2bpic.net/free-photo/beautiful-hispanic-student-writing-white-board-school-smiling_662251-1797.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -27,7 +64,9 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${sourceSans3.variable} antialiased`}>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${sourceSans3.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
@@ -39,4 +78,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user