Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f9387c179 | |||
| 4c62ef2a1f | |||
| ddf33247c1 | |||
| 5dbeb2141f |
@@ -1,58 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
import "@/styles/globals.css";
|
||||||
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"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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"),
|
title: "Clash Royale", description: "Master the Arena in Clash Royale"
|
||||||
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,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<body>
|
||||||
<body
|
{children}
|
||||||
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1420,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ export default function ClashRoyalePage() {
|
|||||||
description="Join millions of players in the ultimate real-time strategy card game. Master your deck, climb the rankings, and become a legend in the arena. Available on iOS, Android, and PC."
|
description="Join millions of players in the ultimate real-time strategy card game. Master your deck, climb the rankings, and become a legend in the arena. Available on iOS, Android, and PC."
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Download Now", href: "https://clashroyale.com/download" },
|
{ text: "Download Now", href: "https://clashroyale.com/download" },
|
||||||
{ text: "Play Online", href: "https://clashroyale.com" },
|
{ text: "Watch Gameplay", href: "https://clashroyale.com" },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
background={{ variant: "radial-gradient" }}
|
background={{ variant: "radial-gradient" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user