|
|
|
|
@@ -1,58 +1,20 @@
|
|
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Halant } from "next/font/google";
|
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
|
import { Montserrat } 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 inter = Inter({
|
|
|
|
|
variable: "--font-inter", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const montserrat = Montserrat({
|
|
|
|
|
variable: "--font-montserrat", subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
import "@/styles/globals.css";
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
|
|
|
title: "Clash Royale - Strategy Card Game | Real-Time Battles", description: "Master the arena in Clash Royale. Lead your troops, collect 100+ cards, and dominate real-time multiplayer battles. Play now on iOS, Android, and PC!", keywords: "Clash Royale, strategy game, card game, mobile gaming, esports, multiplayer battles", metadataBase: new URL("https://clashroyale.com"),
|
|
|
|
|
alternates: {
|
|
|
|
|
canonical: "https://clashroyale.com"},
|
|
|
|
|
openGraph: {
|
|
|
|
|
title: "Clash Royale - Real-Time Strategy Card Game", description: "Join millions of players in the ultimate competitive strategy game. Download now and start your journey to glory.", url: "https://clashroyale.com", siteName: "Clash Royale", type: "website", images: [
|
|
|
|
|
{
|
|
|
|
|
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AbgdbeafmsTtqRdlzedNYUbQpu/a-professional-esports-player-avatar-pro-1772866874148-5f651a5b.png", alt: "Clash Royale Gameplay"},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
twitter: {
|
|
|
|
|
card: "summary_large_image", title: "Clash Royale - Strategy Card Game", description: "Master real-time battles with 100+ unique cards. Play Clash Royale now.", images: [
|
|
|
|
|
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AbgdbeafmsTtqRdlzedNYUbQpu/a-professional-esports-player-avatar-pro-1772866874148-5f651a5b.png"],
|
|
|
|
|
},
|
|
|
|
|
robots: {
|
|
|
|
|
index: true,
|
|
|
|
|
follow: true,
|
|
|
|
|
},
|
|
|
|
|
title: "Clash Royale", description: "Master the Arena in Clash Royale"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
}: {
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
|
|
|
|
<html lang="en" suppressHydrationWarning>
|
|
|
|
|
<ServiceWrapper>
|
|
|
|
|
<body
|
|
|
|
|
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
|
|
|
|
>
|
|
|
|
|
<Tag />
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
{children}
|
|
|
|
|
|
|
|
|
|
<script
|
|
|
|
|
dangerouslySetInnerHTML={{
|
|
|
|
|
__html: `
|
|
|
|
|
@@ -1420,7 +1382,6 @@ export default function RootLayout({
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</body>
|
|
|
|
|
</ServiceWrapper>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|