Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-05 14:26:54 +00:00
2 changed files with 8 additions and 40 deletions

View File

@@ -1,51 +1,20 @@
import type { Metadata } from "next";
import { DM_Sans } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "@/styles/globals.css";
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "GameHub - Ultimate Gaming Community Platform", description: "Join 500K+ gamers on GameHub. Competitive matchmaking, tournaments, rankings, and streaming integration. Connect, compete, and dominate.", keywords: "gaming, esports, community, tournaments, multiplayer, competitive gaming, gaming platform", metadataBase: new URL("https://gamehub.example.com"),
alternates: {
canonical: "https://gamehub.example.com"},
openGraph: {
title: "GameHub - Gaming Community Redefined", description: "The ultimate platform for gamers to connect, compete, and level up their gaming experience.", url: "https://gamehub.example.com", siteName: "GameHub", type: "website", images: [
{
url: "https://gamehub.example.com/og-image.jpg", alt: "GameHub - Gaming Community Platform"},
],
},
twitter: {
card: "summary_large_image", title: "GameHub - Gaming Community Redefined", description: "Join 500K+ gamers on GameHub. Competitive play, tournaments, and community features.", images: ["https://gamehub.example.com/twitter-image.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "GameHub - Ultimate Gaming Community Platform", description: "Connect with gamers worldwide, compete in tournaments, and level up your gaming experience on GameHub."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${dmSans.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1413,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -59,7 +59,7 @@ export default function GameHubPage() {
tagIcon={Zap}
tagAnimation="slide-up"
buttons={[
{ text: "Join Now", href: "https://example.com/signup" },
{ text: "Start Playing Free", href: "https://example.com/signup" },
{ text: "Explore Games", href: "#games" },
]}
buttonAnimation="blur-reveal"