Merge version_2 into main #2

Merged
bender merged 2 commits from version_2 into main 2026-03-08 06:56:20 +00:00
2 changed files with 66 additions and 64 deletions

View File

@@ -1,54 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito } from "next/font/google";
import { Geist, Geist_Mono } 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 geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const nunito = Nunito({
variable: "--font-nunito", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "MahdiPlay - Game Reviews, Ratings & Recommendations", description: "Discover honest game reviews, ratings, and recommendations for Windows and Android games. Find your next favorite game on MahdiPlay.", keywords: "game reviews, game ratings, Windows games, Android games, gaming recommendations, best games", robots: {
index: true,
follow: true,
},
openGraph: {
title: "MahdiPlay - Your Gaming Guide", description: "Explore comprehensive game reviews and ratings for Windows and Android platforms", type: "website", siteName: "MahdiPlay", images: [
{
url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-stunning-action-game-screenshot-showin-1772952736883-29ed9608.png", alt: "MahdiPlay Gaming Guide"},
],
},
twitter: {
card: "summary_large_image", title: "MahdiPlay - Game Reviews & Ratings", description: "Your source for honest game reviews and recommendations across all platforms", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-stunning-action-game-screenshot-showin-1772952736883-29ed9608.png"],
},
};
title: "Create Next App", description: "Generated by create next app"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1416,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -50,23 +50,31 @@ export default function LandingPage() {
background={{ variant: "radial-gradient" }}
leftCarouselItems={[
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-stunning-action-game-screenshot-showin-1772952736883-29ed9608.png", imageAlt: "Action game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-stunning-action-game-screenshot-showin-1772952736883-29ed9608.png", imageAlt: "Action game screenshot"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/an-immersive-rpg-game-screenshot-featuri-1772952736734-2c45e21f.png", imageAlt: "RPG game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/an-immersive-rpg-game-screenshot-featuri-1772952736734-2c45e21f.png", imageAlt: "RPG game screenshot"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-tactical-strategy-game-screenshot-show-1772952737589-99d3baea.png", imageAlt: "Strategy game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-tactical-strategy-game-screenshot-show-1772952737589-99d3baea.png", imageAlt: "Strategy game screenshot"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/an-adventure-game-screenshot-depicting-a-1772952735117-231d08da.png", imageAlt: "Adventure game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/an-adventure-game-screenshot-depicting-a-1772952735117-231d08da.png", imageAlt: "Adventure game screenshot"
},
]}
rightCarouselItems={[
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-puzzle-game-screenshot-showing-colorfu-1772952736392-dc2f78c6.png", imageAlt: "Puzzle game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-puzzle-game-screenshot-showing-colorfu-1772952736392-dc2f78c6.png", imageAlt: "Puzzle game screenshot"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-sports-game-screenshot-featuring-athle-1772952736798-2ede0263.png", imageAlt: "Sports game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-sports-game-screenshot-featuring-athle-1772952736798-2ede0263.png", imageAlt: "Sports game screenshot"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-racing-game-screenshot-showing-a-high--1772952736822-26a2d2e4.png", imageAlt: "Racing game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-racing-game-screenshot-showing-a-high--1772952736822-26a2d2e4.png", imageAlt: "Racing game screenshot"
},
{
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-casual-game-screenshot-showing-relaxin-1772952736607-ee24f439.png", imageAlt: "Casual game screenshot"},
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-casual-game-screenshot-showing-relaxin-1772952736607-ee24f439.png", imageAlt: "Casual game screenshot"
},
]}
buttons={[
{ text: "Browse All Games", href: "games" },
@@ -106,6 +114,10 @@ export default function LandingPage() {
id: "game-6", name: "Honkai Star Rail", price: "Free", variant: "Turn-Based RPG • Windows/Mobile", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-honkai-star-rail-game-cover-featuring--1772952737390-df6dd10d.png", imageAlt: "Honkai Star Rail game cover", isFavorited: false,
},
]}
buttons={[
{ text: "View All Games", href: "games" },
]}
buttonAnimation="slide-up"
/>
</div>
@@ -121,16 +133,20 @@ export default function LandingPage() {
blogs={[
{
id: "review-1", category: ["Windows", "RPG"],
title: "Elden Ring: A Masterpiece of Challenge and Beauty", excerpt: "FromSoftware delivers their most ambitious title yet with intricate level design and unforgettable boss encounters.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-detailed-elden-ring-review-image-showi-1772952737115-82385d49.png", imageAlt: "Elden Ring review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "15 Jan 2025"},
title: "Elden Ring: A Masterpiece of Challenge and Beauty", excerpt: "FromSoftware delivers their most ambitious title yet with intricate level design and unforgettable boss encounters.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-detailed-elden-ring-review-image-showi-1772952737115-82385d49.png", imageAlt: "Elden Ring review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "15 Jan 2025"
},
{
id: "review-2", category: ["Android", "Casual"],
title: "Top 5 Must-Play Casual Games for Android 2025", excerpt: "Discover the best casual gaming experiences that you can enjoy on your Android device anytime, anywhere.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-collection-of-casual-android-games-dis-1772952737368-42a7885e.png", imageAlt: "Casual games review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "12 Jan 2025"},
title: "Top 5 Must-Play Casual Games for Android 2025", excerpt: "Discover the best casual gaming experiences that you can enjoy on your Android device anytime, anywhere.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-collection-of-casual-android-games-dis-1772952737368-42a7885e.png", imageAlt: "Casual games review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "12 Jan 2025"
},
{
id: "review-3", category: ["Windows", "Strategy"],
title: "Palworld: Innovation Meets Creature Collection", excerpt: "This unique blend of creature collection and survival mechanics creates an engaging and addictive gaming experience.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-palworld-review-image-showcasing-creat-1772952737412-ed7ae16f.png", imageAlt: "Palworld review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "10 Jan 2025"},
title: "Palworld: Innovation Meets Creature Collection", excerpt: "This unique blend of creature collection and survival mechanics creates an engaging and addictive gaming experience.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-palworld-review-image-showcasing-creat-1772952737412-ed7ae16f.png", imageAlt: "Palworld review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "10 Jan 2025"
},
{
id: "review-4", category: ["Mobile", "Action"],
title: "Genshin Impact: The Free-to-Play Standard Bearer", excerpt: "Explore a breathtaking open world with stunning visuals and engaging combat in this groundbreaking mobile title.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-genshin-impact-review-image-featuring--1772952737496-43d533a8.png", imageAlt: "Genshin Impact review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "08 Jan 2025"},
title: "Genshin Impact: The Free-to-Play Standard Bearer", excerpt: "Explore a breathtaking open world with stunning visuals and engaging combat in this groundbreaking mobile title.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-genshin-impact-review-image-featuring--1772952737496-43d533a8.png", imageAlt: "Genshin Impact review", authorName: "Mustaneer Mahdi Khan", authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-professional-portrait-photograph-of-a--1772952736667-414cc399.png", date: "08 Jan 2025"
},
]}
carouselMode="buttons"
/>
@@ -149,11 +165,14 @@ export default function LandingPage() {
mediaAnimation="slide-up"
accordionItems={[
{
id: "windows", title: "Windows Games", content: "Experience premium gaming on Windows with AAA titles, indie gems, and exclusive releases. Our Windows collection features action RPGs, competitive shooters, strategy games, and immersive experiences optimized for PC performance."},
id: "windows", title: "Windows Games", content: "Experience premium gaming on Windows with AAA titles, indie gems, and exclusive releases. Our Windows collection features action RPGs, competitive shooters, strategy games, and immersive experiences optimized for PC performance."
},
{
id: "android", title: "Android Games", content: "Play on-the-go with our curated Android game selection. From casual puzzlers to graphically impressive action games, discover titles perfectly optimized for mobile devices with touch-friendly interfaces and flexible gameplay sessions."},
id: "android", title: "Android Games", content: "Play on-the-go with our curated Android game selection. From casual puzzlers to graphically impressive action games, discover titles perfectly optimized for mobile devices with touch-friendly interfaces and flexible gameplay sessions."
},
{
id: "multiplayer", title: "Multiplayer & Online", content: "Connect with players worldwide in multiplayer experiences. Whether competitive esports titles or cooperative adventures, find games that bring the community together with engaging online gameplay and social features."},
id: "multiplayer", title: "Multiplayer & Online", content: "Connect with players worldwide in multiplayer experiences. Whether competitive esports titles or cooperative adventures, find games that bring the community together with engaging online gameplay and social features."
},
]}
useInvertedBackground={false}
/>
@@ -170,13 +189,17 @@ export default function LandingPage() {
useInvertedBackground={true}
metrics={[
{
id: "1", value: "9.8/10", title: "Baldur's Gate 3", description: "Best Story-Driven RPG Experience", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-baldur-s-gate-3-gameplay-image-highlig-1772952736949-72dcc323.png", imageAlt: "Baldur's Gate 3 gameplay"},
id: "1", value: "9.8/10", title: "Baldur's Gate 3", description: "Best Story-Driven RPG Experience", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-baldur-s-gate-3-gameplay-image-highlig-1772952736949-72dcc323.png", imageAlt: "Baldur's Gate 3 gameplay"
},
{
id: "2", value: "9.7/10", title: "Elden Ring", description: "Most Challenging Action RPG", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/an-elden-ring-gameplay-image-showcasing--1772952736716-bc3f386c.png", imageAlt: "Elden Ring boss fight"},
id: "2", value: "9.7/10", title: "Elden Ring", description: "Most Challenging Action RPG", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/an-elden-ring-gameplay-image-showcasing--1772952736716-bc3f386c.png", imageAlt: "Elden Ring boss fight"
},
{
id: "3", value: "9.5/10", title: "Palworld", description: "Most Innovative Gameplay", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-palworld-gameplay-image-showcasing-inn-1772952735866-f4192836.png", imageAlt: "Palworld creatures and gameplay"},
id: "3", value: "9.5/10", title: "Palworld", description: "Most Innovative Gameplay", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-palworld-gameplay-image-showcasing-inn-1772952735866-f4192836.png", imageAlt: "Palworld creatures and gameplay"
},
{
id: "4", value: "9.3/10", title: "Honkai Star Rail", description: "Best Free Mobile RPG", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-honkai-star-rail-gameplay-image-featur-1772952736486-b3fb3c50.png", imageAlt: "Honkai Star Rail characters"},
id: "4", value: "9.3/10", title: "Honkai Star Rail", description: "Best Free Mobile RPG", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-honkai-star-rail-gameplay-image-featur-1772952736486-b3fb3c50.png", imageAlt: "Honkai Star Rail characters"
},
]}
/>
</div>
@@ -190,17 +213,23 @@ export default function LandingPage() {
useInvertedBackground={false}
testimonials={[
{
id: "1", name: "Alex Rodriguez", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-friendly-portrait-photograph-of-a-youn-1772952734350-ba61845b.png", imageAlt: "Alex Rodriguez"},
id: "1", name: "Alex Rodriguez", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-friendly-portrait-photograph-of-a-youn-1772952734350-ba61845b.png", imageAlt: "Alex Rodriguez"
},
{
id: "2", name: "Sarah Chen", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-friendly-portrait-photograph-of-a-youn-1772952740057-cd95a919.png", imageAlt: "Sarah Chen"},
id: "2", name: "Sarah Chen", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-friendly-portrait-photograph-of-a-youn-1772952740057-cd95a919.png", imageAlt: "Sarah Chen"
},
{
id: "3", name: "Marcus Johnson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-mid-aged-male-1772952734499-09d531d3.png", imageAlt: "Marcus Johnson"},
id: "3", name: "Marcus Johnson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-mid-aged-male-1772952734499-09d531d3.png", imageAlt: "Marcus Johnson"
},
{
id: "4", name: "Emily Thompson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-young-woman-w-1772952734999-6d3bbe14.png", imageAlt: "Emily Thompson"},
id: "4", name: "Emily Thompson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-young-woman-w-1772952734999-6d3bbe14.png", imageAlt: "Emily Thompson"
},
{
id: "5", name: "David Kim", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-young-male-wi-1772952734669-983f6d4e.png", imageAlt: "David Kim"},
id: "5", name: "David Kim", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-young-male-wi-1772952734669-983f6d4e.png", imageAlt: "David Kim"
},
{
id: "6", name: "Jessica Liu", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-young-woman-i-1772952736758-28aa6735.png", imageAlt: "Jessica Liu"},
id: "6", name: "Jessica Liu", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AeTnnCRGzxY49fCExeTMTvRV8O/a-portrait-photograph-of-a-young-woman-i-1772952736758-28aa6735.png", imageAlt: "Jessica Liu"
},
]}
/>
</div>