Files
7edcea2d-9176-4f1a-8f8f-2c4…/src/app/layout.tsx
2026-03-14 10:09:11 +00:00

41 lines
1.1 KiB
TypeScript

import type { Metadata } from "next";
import { Halant } 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";
export const metadata: Metadata = {
title: 'Minecraft 1.8 Tournament Registration - Join Now',
description: 'Register for the ultimate Minecraft 1.8 competitive tournament. Join 500+ players competing for $50K in prizes. Solo or team registration available.',
};
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${inter.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}