Update src/app/layout.tsx

This commit is contained in:
2026-03-19 12:53:35 +00:00
parent 984d8df5d9
commit 3d1b3f8bc1

View File

@@ -1,24 +1,62 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Montserrat } 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 { Montserrat } 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 montserrat = Montserrat({
variable: "--font-montserrat",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "GameHub - Play CS:GO, PUBG & More | Secure Gaming Platform",
description: "Join 5M+ gamers on GameHub. Play CS:GO, PUBG, Fortnite, and 100+ games. Secure login, tournaments, and global community. Free-to-play with OAuth support.",
keywords: "gaming platform, CS:GO, PUBG, Fortnite, online games, esports, tournaments, secure gaming",
metadataBase: new URL("https://gamehub.io"),
alternates: {
canonical: "https://gamehub.io",
},
robots: {
index: true,
follow: true,
},
openGraph: {
title: "GameHub - Your Ultimate Gaming Platform",
description: "Join millions of gamers worldwide. Play popular games like CS:GO and PUBG on GameHub.",
type: "website",
siteName: "GameHub",
images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BAGp099pCnf5XFLO6JNqb1PgTy/a-modern-gaming-platform-dashboard-inter-1773924756649-a4484117.png",
alt: "GameHub Gaming Platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "GameHub - Gaming Platform",
description: "Play CS:GO, PUBG & more on GameHub. Secure. Free. Global.",
images: [
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BAGp099pCnf5XFLO6JNqb1PgTy/a-modern-gaming-platform-dashboard-inter-1773924756649-a4484117.png",
],
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +65,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${montserrat.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +79,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}