6 Commits

Author SHA1 Message Date
f7972bed70 Merge version_2 into main
Merge version_2 into main
2026-03-07 08:05:53 +00:00
8f9387c179 Update src/app/layout.tsx 2026-03-07 08:05:49 +00:00
a27e764be4 Merge version_2 into main
Merge version_2 into main
2026-03-07 08:04:26 +00:00
4c62ef2a1f Update src/app/page.tsx 2026-03-07 08:04:22 +00:00
ddf33247c1 Update src/app/layout.tsx 2026-03-07 08:04:21 +00:00
5dbeb2141f Merge version_1 into main
Merge version_1 into main
2026-03-07 07:03:43 +00:00
2 changed files with 8 additions and 47 deletions

View File

@@ -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>
);
}

View File

@@ -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."
buttons={[
{ 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"
background={{ variant: "radial-gradient" }}