Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ea3278202a | |||
| 26f36d45a2 | |||
| 7ea132f3e8 | |||
| 9b5329126e | |||
| b565b2848f | |||
| c3f339e9f3 | |||
| f70073ee5d | |||
| 7797295134 | |||
| 49bb7abaf3 |
@@ -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";
|
||||
|
||||
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", description: "Join thousands of gamers in the ultimate community hub. Connect with players, discover new games, and compete with the best."};
|
||||
|
||||
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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -160,15 +160,15 @@ export default function GameHubPage() {
|
||||
buttonAnimation="blur-reveal"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Legendary Battle Arena", price: "Free", imageSrc:
|
||||
id: "1", name: "Legendary Battle Arena", price: "Play Now Free", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/focus-shot-man-holding-controller-apartment-playing-videogames-smart-tv-display_482257-82235.jpg?_wi=2", imageAlt: "Legendary Battle Arena", initialQuantity: 1,
|
||||
},
|
||||
{
|
||||
id: "2", name: "Cosmic Runners", price: "Free", imageSrc:
|
||||
id: "2", name: "Cosmic Runners", price: "Play Now Free", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/team-teenage-gamers-plays-multiplayer-video-game-pc-gaming-club_613910-19132.jpg?_wi=1", imageAlt: "Cosmic Runners", initialQuantity: 1,
|
||||
},
|
||||
{
|
||||
id: "3", name: "Squad Tactics Online", price: "Free", imageSrc:
|
||||
id: "3", name: "Squad Tactics Online", price: "Play Now Free", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/team-teenage-gamers-plays-multiplayer-video-game-pc-gaming-club_613910-19132.jpg?_wi=2", imageAlt: "Squad Tactics Online", initialQuantity: 1,
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user