74 lines
2.6 KiB
TypeScript
74 lines
2.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Open_Sans } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'The Matrix Gaming Arena: Ultimate Gaming Experience',
|
|
description: 'Step into the future of gaming at The Matrix Gaming Arena. Experience high-end consoles, racing simulators, VR, and PC gaming with flexible pricing and exclusive memberships. Level up your game!',
|
|
keywords: ["gaming arena, esports, PS5, racing simulator, VR gaming, PC gaming, gaming center, gaming memberships, virtual reality, competitive gaming"],
|
|
openGraph: {
|
|
"title": "The Matrix Gaming Arena: Ultimate Gaming Experience",
|
|
"description": "Step into the future of gaming at The Matrix Gaming Arena. Experience high-end consoles, racing simulators, VR, and PC gaming with flexible pricing and exclusive memberships. Level up your game!",
|
|
"url": "https://www.matrixgamingarena.com",
|
|
"siteName": "The Matrix Gaming Arena",
|
|
"images": [
|
|
{
|
|
"url": "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3E4HAueePLMUOSM1zCwKpH5IeMs/uploaded-1780316248644-01rv4dls.jpg",
|
|
"alt": "Gaming simulator setup"
|
|
}
|
|
],
|
|
"type": "website"
|
|
},
|
|
twitter: {
|
|
"card": "summary_large_image",
|
|
"title": "The Matrix Gaming Arena: Ultimate Gaming Experience",
|
|
"description": "Step into the future of gaming at The Matrix Gaming Arena. Experience high-end consoles, racing simulators, VR, and PC gaming with flexible pricing and exclusive memberships. Level up your game!",
|
|
"images": [
|
|
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3E4HAueePLMUOSM1zCwKpH5IeMs/uploaded-1780316248644-01rv4dls.jpg"
|
|
]
|
|
},
|
|
robots: {
|
|
"index": true,
|
|
"follow": true
|
|
},
|
|
};
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
const openSans = Open_Sans({
|
|
variable: "--font-open-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|