Update src/app/layout.tsx

This commit is contained in:
2026-03-06 02:00:45 +00:00
parent 18afe2750e
commit 7ec0e9d132

View File

@@ -1,47 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Team Black Code | Elite Esports Organization", description: "Championship-winning esports team competing at the highest levels of competitive gaming. Join the elite squad of professional gamers.", keywords: "esports, team, competitive gaming, professional gamers, gaming team, esports tournament", metadataBase: new URL("https://teamblackcode.gg"),
alternates: {
canonical: "https://teamblackcode.gg"},
openGraph: {
title: "Team Black Code | Elite Esports Organization", description: "Championship-winning esports team. Professional gamers dominating competitive gaming.", url: "https://teamblackcode.gg", siteName: "Team Black Code", type: "website"},
twitter: {
card: "summary_large_image", title: "Team Black Code | Elite Esports Organization", description: "Championship-winning esports team competing at the highest levels."},
robots: {
index: true,
follow: true,
},
};
title: "Team Black Code - Elite Esports Squad", description: "Elite esports squad dominating competitive gaming with championship mentality and cutting-edge strategy."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1409,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}