Files
dcaa7dc3-7f1b-4916-8b2f-c1c…/src/app/layout.tsx
2026-05-26 03:06:31 +00:00

73 lines
2.1 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 { DM_Sans } from "next/font/google";
export const metadata: Metadata = {
title: 'World Cup Predictor - Predict, Compete, Win!',
description: 'Join the ultimate World Cup prediction game. Predict match scores, challenge friends, and climb the global leaderboard to prove your football knowledge!',
openGraph: {
"title": "Your Brand - Innovative Solutions",
"description": "Empowering your journey with innovative solutions and unparalleled support.",
"url": "https://yourbrand.com",
"siteName": "Your Brand",
"images": [
{
"url": "http://img.b2bpic.net/free-photo/3d-geometric-shapes-indoors-background_23-2150697326.jpg",
"alt": "Your Brand main landing image"
}
],
"type": "website"
},
twitter: {
"card": "summary_large_image",
"title": "Your Brand - Innovative Solutions",
"description": "Empowering your journey with innovative solutions and unparalleled support.",
"images": [
"http://img.b2bpic.net/free-photo/3d-geometric-shapes-indoors-background_23-2150697326.jpg"
]
},
robots: {
"index": true,
"follow": true
},
};
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"]
});
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={`${dmSans.variable} ${inter.variable} antialiased`}>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `${getVisualEditScript()}`
}}
/>
</body>
</ServiceWrapper>
</html>
);
}