Update src/app/layout.tsx

This commit is contained in:
2026-03-15 15:17:30 +00:00
parent 6f1a1652b4
commit 9ceed79fc2

View File

@@ -1,24 +1,61 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Open_Sans } 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 { Open_Sans } 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 openSans = Open_Sans({
variable: "--font-open-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "LearnSphere - AI-Powered Social Learning Ecosystem",
description: "Join a revolutionary 3D campus where students collaborate in real-time, powered by AI mentors. Experience immersive social learning with knowledge sharing, gamified streaks, and personalized mentorship.",
keywords: "online learning, collaborative education, AI mentors, virtual campus, social learning, student community, real-time collaboration, educational technology",
metadataBase: new URL("https://learnsphere.edu"),
alternates: {
canonical: "https://learnsphere.edu",
},
openGraph: {
title: "LearnSphere - Transform Your Learning Experience",
description: "Immerse yourself in a collaborative 3D university campus powered by AI. Learn together, grow faster, achieve more.",
url: "https://learnsphere.edu",
siteName: "LearnSphere",
type: "website",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AzFoKlbJuQyG2gWDQqUZG7eXow/a-stunning-bird-s-eye-view-of-a-futurist-1773587780184-be631a12.png",
alt: "LearnSphere Virtual Campus",
},
],
},
twitter: {
card: "summary_large_image",
title: "LearnSphere - The Future of Collaborative Learning",
description: "AI-powered multiplayer 3D campus for students who want to learn together",
images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AzFoKlbJuQyG2gWDQqUZG7eXow/a-stunning-bird-s-eye-view-of-a-futurist-1773587780184-be631a12.png"],
},
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={`${openSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${openSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}