Update src/app/layout.tsx

This commit is contained in:
2026-03-15 23:45:22 +00:00
parent 80cb69b9ec
commit 9b534bc653

View File

@@ -1,29 +1,43 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
import { Inter } 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 { Libre_Baskerville } from "next/font/google";
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const libreBaskerville = Libre_Baskerville({
variable: "--font-libre-baskerville",
subsets: ["latin"],
weight: ["400", "700"],
});
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "LearnHub - Online Learning Platform",
description: "Secure access to professional video courses. Log in with your email and license key to access comprehensive learning materials.",
keywords: "online learning, video courses, education platform, professional development",
openGraph: {
title: "LearnHub - Online Learning Platform",
description: "Access professional video courses and enhance your skills",
siteName: "LearnHub",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "LearnHub - Online Learning Platform",
description: "Secure online learning with professional video courses",
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -32,7 +46,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
<body
className={`${libreBaskerville.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -44,4 +60,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}