Update src/app/layout.tsx

This commit is contained in:
2026-03-12 13:59:44 +00:00
parent 8589d41e03
commit 21ccc1a4c1

View File

@@ -1,24 +1,61 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Mulish } 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 { Mulish } 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 mulish = Mulish({
variable: "--font-mulish",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Next Step Academy - Online Learning Platform for Students",
description: "Join Next Step Academy for comprehensive online education. Access English Language, Literature, and Mathematics courses with interactive lessons, homework submission, and progress tracking for students up to Class 8.",
keywords: "online learning, education platform, student dashboard, homework submission, English, Mathematics, classes, interactive learning",
metadataBase: new URL("https://www.nextstepacademy.local"),
alternates: {
canonical: "https://www.nextstepacademy.local",
},
openGraph: {
title: "Next Step Academy - Learn Online",
description: "Empower your learning journey with Next Step Academy. Quality education for young learners.",
url: "https://www.nextstepacademy.local",
siteName: "Next Step Academy",
images: [
{
url: "http://img.b2bpic.net/free-photo/study-group-learning-library_23-2149215381.jpg",
alt: "Next Step Academy - Online Learning Platform",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Next Step Academy - Quality Online Education",
description: "Join thousands of students learning with Next Step Academy",
images: ["http://img.b2bpic.net/free-photo/study-group-learning-library_23-2149215381.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={`${mulish.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${mulish.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}