Merge version_1 into main #2
@@ -9,7 +9,7 @@ import PricingCardFive from '@/components/sections/pricing/PricingCardFive';
|
||||
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
|
||||
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
||||
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
||||
import { Zap, Fire, Grid3X3, TrendingUp, Star, Flame, Package, Sparkles, Gamepad2 } from 'lucide-react';
|
||||
import { Zap, Grid3X3, TrendingUp, Star, Flame, Package, Sparkles, Gamepad2 } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="largeSmall"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -46,13 +46,13 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
title="Your Ultimate Gaming Marketplace"
|
||||
description="Discover thousands of premium games across all genres. From blockbuster AAA titles to indie gems, find your next favorite game with exclusive deals and early access."
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "plain" }}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/black-friday-sale-glowing-abstract-web-banner_1017-28047.jpg", imageAlt: "Epic gaming showcase"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-psd/horizontal-banner-template-mega-sale_23-2148729528.jpg?_wi=1", imageAlt: "Featured game title"
|
||||
imageSrc: "http://img.b2bpic.net/free-psd/horizontal-banner-template-mega-sale_23-2148729528.jpg", imageAlt: "Featured game title"
|
||||
}
|
||||
]}
|
||||
rating={5}
|
||||
@@ -71,15 +71,15 @@ export default function LandingPage() {
|
||||
title="Featured Releases"
|
||||
description="Explore our latest and most anticipated game releases"
|
||||
tag="New Arrivals"
|
||||
tagIcon={Fire}
|
||||
tagIcon={Flame}
|
||||
features={[
|
||||
{
|
||||
id: "feature-1", title: "Quantum Edge Pro", author: "SynergyGames Studio", description: "Experience cutting-edge graphics and immersive gameplay with our flagship sci-fi action title. Now available with day-one DLC bundle.", tags: ["Action", "Sci-Fi"],
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/gradient-abstract-fluid-technology-landing-page_23-2149128788.jpg?_wi=1", imageAlt: "RPG game artwork cover dark mode"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/gradient-abstract-fluid-technology-landing-page_23-2149128788.jpg", imageAlt: "RPG game artwork cover dark mode"
|
||||
},
|
||||
{
|
||||
id: "feature-2", title: "Realm's Awakening", author: "Mythic Narratives Inc", description: "An epic RPG adventure featuring a sprawling world to explore. Craft your legend in this critically acclaimed fantasy masterpiece.", tags: ["RPG", "Fantasy"],
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/video-game-skyline-with-video-game-neon-style_24908-58913.jpg?_wi=1", imageAlt: "shooter game cover art dark"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/video-game-skyline-with-video-game-neon-style_24908-58913.jpg", imageAlt: "shooter game cover art dark"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -97,7 +97,7 @@ export default function LandingPage() {
|
||||
tagIcon={Grid3X3}
|
||||
products={[
|
||||
{
|
||||
id: "cat-1", name: "Action & Adventure", price: "From $9.99", variant: "50+ Titles", imageSrc: "http://img.b2bpic.net/free-vector/modern-happy-halloween-banners_23-2147939008.jpg?_wi=1", imageAlt: "action games genre icon illustration"
|
||||
id: "cat-1", name: "Action & Adventure", price: "From $9.99", variant: "50+ Titles", imageSrc: "http://img.b2bpic.net/free-vector/modern-happy-halloween-banners_23-2147939008.jpg", imageAlt: "action games genre icon illustration"
|
||||
},
|
||||
{
|
||||
id: "cat-2", name: "RPG & Fantasy", price: "From $14.99", variant: "45+ Titles", imageSrc: "http://img.b2bpic.net/free-vector/gamification-motivation-flat-elements-set_1284-24974.jpg", imageAlt: "RPG role playing game genre icon"
|
||||
@@ -153,16 +153,16 @@ export default function LandingPage() {
|
||||
id: "2", name: "Jordan Lee, Esports Enthusiast", date: "Date: 20 January 2025", title: "Finally found all my competitive games in one place", quote: "The early access to new competitive titles is a game changer. I can prep for tournaments without waiting for official releases. Worth every penny of the membership!", tag: "Esports Member", avatarSrc: "http://img.b2bpic.net/free-photo/young-sporty-man-wearing-sportswear-headband-holding-soccer-ball-looking-front-with-serious-face-standing-white-wall_141793-96887.jpg", avatarAlt: "gaming community member avatar", imageSrc: "http://img.b2bpic.net/free-psd/gradient-cyber-monday-template_23-2149734941.jpg", imageAlt: "mega sale gaming promotional banner"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Casey Rivera, Indie Game Lover", date: "Date: 22 January 2025", title: "Supporting indie devs has never been easier", quote: "I love how this platform highlights indie games alongside AAA titles. Found some hidden gems I never would have discovered elsewhere. The recommendation algorithm is spot-on!", tag: "Premium Member", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-man-with-headphones_23-2148937643.jpg", avatarAlt: "hardcore gamer avatar portrait", imageSrc: "http://img.b2bpic.net/free-vector/gradient-abstract-fluid-technology-landing-page_23-2149128788.jpg?_wi=2", imageAlt: "RPG game artwork cover dark mode"
|
||||
id: "3", name: "Casey Rivera, Indie Game Lover", date: "Date: 22 January 2025", title: "Supporting indie devs has never been easier", quote: "I love how this platform highlights indie games alongside AAA titles. Found some hidden gems I never would have discovered elsewhere. The recommendation algorithm is spot-on!", tag: "Premium Member", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-man-with-headphones_23-2148937643.jpg", avatarAlt: "hardcore gamer avatar portrait", imageSrc: "http://img.b2bpic.net/free-vector/gradient-abstract-fluid-technology-landing-page_23-2149128788.jpg", imageAlt: "RPG game artwork cover dark mode"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Morgan Chen, Casual Gamer", date: "Date: 25 January 2025", title: "Perfect for someone getting into gaming", quote: "The helpful guides and community reviews made it super easy to find games suitable for a beginner. The sales made building my library affordable. Highly recommended!", tag: "Standard Member", avatarSrc: "http://img.b2bpic.net/free-photo/front-view-man-playing-videogames_23-2150573843.jpg", avatarAlt: "casual gamer player avatar", imageSrc: "http://img.b2bpic.net/free-vector/video-game-skyline-with-video-game-neon-style_24908-58913.jpg?_wi=2", imageAlt: "shooter game cover art dark"
|
||||
id: "4", name: "Morgan Chen, Casual Gamer", date: "Date: 25 January 2025", title: "Perfect for someone getting into gaming", quote: "The helpful guides and community reviews made it super easy to find games suitable for a beginner. The sales made building my library affordable. Highly recommended!", tag: "Standard Member", avatarSrc: "http://img.b2bpic.net/free-photo/front-view-man-playing-videogames_23-2150573843.jpg", avatarAlt: "casual gamer player avatar", imageSrc: "http://img.b2bpic.net/free-vector/video-game-skyline-with-video-game-neon-style_24908-58913.jpg", imageAlt: "shooter game cover art dark"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Riley Johnson, Streaming Gamer", date: "Date: 28 January 2025", title: "Streamers get premium perks here", quote: "The streamer program benefits are fantastic. Early game access means I always have fresh content for my audience. The partnership team is incredibly supportive!", tag: "Streamer Partner", avatarSrc: "http://img.b2bpic.net/free-photo/scene-professional-esports-gamer-profile-colored-with-red-blue-light-generative-ai_191095-1964.jpg", avatarAlt: "gamer profile avatar portrait", imageSrc: "http://img.b2bpic.net/free-psd/horizontal-banner-template-mega-sale_23-2148729528.jpg?_wi=2", imageAlt: "action game screenshot cover art"
|
||||
id: "5", name: "Riley Johnson, Streaming Gamer", date: "Date: 28 January 2025", title: "Streamers get premium perks here", quote: "The streamer program benefits are fantastic. Early game access means I always have fresh content for my audience. The partnership team is incredibly supportive!", tag: "Streamer Partner", avatarSrc: "http://img.b2bpic.net/free-photo/scene-professional-esports-gamer-profile-colored-with-red-blue-light-generative-ai_191095-1964.jpg", avatarAlt: "gamer profile avatar portrait", imageSrc: "http://img.b2bpic.net/free-psd/horizontal-banner-template-mega-sale_23-2148729528.jpg", imageAlt: "action game screenshot cover art"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Dakota Wu, Retro Game Collector", date: "Date: 1 February 2025", title: "Amazing classic game library", quote: "I was thrilled to find a curated collection of retro classics alongside modern titles. The preservation of gaming history here is remarkable and much appreciated.", tag: "Collector Member", avatarSrc: "http://img.b2bpic.net/free-photo/young-sporty-man-wearing-sportswear-headband-holding-soccer-ball-looking-front-with-serious-face-standing-white-wall_141793-96887.jpg", avatarAlt: "gaming community member avatar", imageSrc: "http://img.b2bpic.net/free-vector/modern-happy-halloween-banners_23-2147939008.jpg?_wi=2", imageAlt: "action games genre icon illustration"
|
||||
id: "6", name: "Dakota Wu, Retro Game Collector", date: "Date: 1 February 2025", title: "Amazing classic game library", quote: "I was thrilled to find a curated collection of retro classics alongside modern titles. The preservation of gaming history here is remarkable and much appreciated.", tag: "Collector Member", avatarSrc: "http://img.b2bpic.net/free-photo/young-sporty-man-wearing-sportswear-headband-holding-soccer-ball-looking-front-with-serious-face-standing-white-wall_141793-96887.jpg", avatarAlt: "gaming community member avatar", imageSrc: "http://img.b2bpic.net/free-vector/modern-happy-halloween-banners_23-2147939008.jpg", imageAlt: "action games genre icon illustration"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -216,7 +216,7 @@ export default function LandingPage() {
|
||||
{ text: "Create Account", href: "#games" },
|
||||
{ text: "Browse Free Games", href: "#categories" }
|
||||
]}
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,51 +1,42 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
className?: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
className = '',
|
||||
width = 200,
|
||||
height = 60,
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<defs>
|
||||
<linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" style={{ stopColor: '#3b82f6', stopOpacity: 1 }} />
|
||||
<stop offset="100%" style={{ stopColor: '#8b5cf6', stopOpacity: 1 }} />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x={width / 2}
|
||||
y={height / 2}
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
fontSize={height * 0.6}
|
||||
fontWeight="bold"
|
||||
fill="url(#textGradient)"
|
||||
fontFamily="system-ui, -apple-system, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
WebLogo
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
};
|
||||
Reference in New Issue
Block a user