Switch to version 1: modified src/app/layout.tsx

This commit is contained in:
2026-03-04 12:46:01 +00:00
parent 6b5f90dc86
commit 00716fcb98

View File

@@ -1,22 +1,56 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Inter_Tight } from "next/font/google";
import "./globals.css";
import "./styles/variables.css";
import "./styles/base.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({ subsets: ["latin"] });
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const interTight = Inter_Tight({
variable: "--font-inter-tight", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "Chihab_070 - Wild Rift Gaming", description: "Gaming & Tech | Wild Rift Champion | Mobile Esports Creator"};
title: "Chihab_070 | Gaming & Tech | Wild Rift Pro", description: "Follow Chihab_070 for daily Wild Rift gameplay highlights, live streams, and pro-level esports content. Experience high-octane mobile gaming.", keywords: "gaming, wild rift, twitch, esports, mobile gaming, league of legends", metadataBase: new URL("https://chihab070.com"),
openGraph: {
title: "Chihab_070 Gaming Hub", description: "Join the gaming community and watch professional Wild Rift gameplay", url: "https://chihab070.com", siteName: "Chihab_070", type: "website", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATlPPnLrEwJ9owNF01ARl5RNSi/futuristic-dark-gaming-background-inspir-1772625535841-4a5f971e.png", alt: "Chihab_070 Gaming Hub"},
],
},
twitter: {
card: "summary_large_image", title: "Chihab_070 | Wild Rift Pro", description: "Watch professional gaming highlights and live streams", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ATlPPnLrEwJ9owNF01ARl5RNSi/futuristic-dark-gaming-background-inspir-1772625535841-4a5f971e.png"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1384,6 +1418,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}