431 lines
13 KiB
TypeScript
431 lines
13 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
|
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
|
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
|
|
import FooterBase from '@/components/sections/footer/FooterBase';
|
|
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
|
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
|
|
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
|
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
|
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
|
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
|
import { Gauge, Settings, Zap } from "lucide-react";
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="text-shift"
|
|
defaultTextAnimation="reveal-blur"
|
|
borderRadius="rounded"
|
|
contentWidth="mediumLarge"
|
|
sizing="mediumSizeLargeTitles"
|
|
background="aurora"
|
|
cardStyle="gradient-radial"
|
|
primaryButtonStyle="double-inset"
|
|
secondaryButtonStyle="layered"
|
|
headingFontWeight="bold"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarLayoutFloatingOverlay
|
|
navItems={[
|
|
{
|
|
name: "Home",
|
|
id: "hero",
|
|
},
|
|
{
|
|
name: "Garage",
|
|
id: "products",
|
|
},
|
|
{
|
|
name: "Features",
|
|
id: "features",
|
|
},
|
|
{
|
|
name: "Community",
|
|
id: "testimonials",
|
|
},
|
|
{
|
|
name: "Join",
|
|
id: "contact",
|
|
},
|
|
]}
|
|
brandName="VelocityRacer"
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroSplitKpi
|
|
background={{
|
|
variant: "plain",
|
|
}}
|
|
title="Master the Apex"
|
|
description="Experience the world's most elite hypercars. From Pagani precision to Bugatti power, race your way to the top of the leaderboard in the most immersive driving simulation ever built."
|
|
kpis={[
|
|
{
|
|
value: "150+",
|
|
label: "Licensed Hypercars",
|
|
},
|
|
{
|
|
value: "2M+",
|
|
label: "Active Drivers",
|
|
},
|
|
{
|
|
value: "4K",
|
|
label: "Ultra HD Graphics",
|
|
},
|
|
]}
|
|
enableKpiAnimation={true}
|
|
buttons={[
|
|
{
|
|
text: "Start Driving",
|
|
href: "#products",
|
|
},
|
|
]}
|
|
imageSrc="http://img.b2bpic.net/free-photo/modern-car-driving-city_23-2151674224.jpg?_wi=1"
|
|
imageAlt="Bugatti Hypercar on Track"
|
|
mediaAnimation="blur-reveal"
|
|
avatars={[
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/modern-car-driving-snow_23-2151674293.jpg",
|
|
alt: "Modern car driving in the snow",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/modern-car-driving-city_23-2151674247.jpg",
|
|
alt: "Modern car driving in the city",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/modern-car-driving-city_23-2151674244.jpg",
|
|
alt: "Modern car driving in the city",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/modern-car-futuristic-road_23-2151021093.jpg",
|
|
alt: "Modern car on futuristic road",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/modern-car-driving-city_23-2151674316.jpg",
|
|
alt: "Modern car driving in the city",
|
|
},
|
|
]}
|
|
avatarText="Join our 2M+ community of racers"
|
|
marqueeItems={[
|
|
{
|
|
type: "text",
|
|
text: "Ultra-Realistic Physics",
|
|
},
|
|
{
|
|
type: "text",
|
|
text: "Global Esports Rankings",
|
|
},
|
|
{
|
|
type: "text",
|
|
text: "Real-Time Telemetry",
|
|
},
|
|
{
|
|
type: "text",
|
|
text: "Custom Setup Support",
|
|
},
|
|
{
|
|
type: "text",
|
|
text: "Weekly Track Events",
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="products" data-section="products">
|
|
<ProductCardThree
|
|
animationType="slide-up"
|
|
textboxLayout="split"
|
|
gridVariant="four-items-2x2-equal-grid"
|
|
useInvertedBackground={true}
|
|
products={[
|
|
{
|
|
id: "1",
|
|
name: "Pagani Huayra R",
|
|
price: "Unlockable",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-white-car-dark-background_181624-20300.jpg?_wi=1",
|
|
},
|
|
{
|
|
id: "2",
|
|
name: "Bugatti Chiron",
|
|
price: "Standard",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/it-has-few-special-functions-female-customer-modern-stylish-bearded-businessman-automobile-saloon_146671-16061.jpg?_wi=1",
|
|
},
|
|
{
|
|
id: "3",
|
|
name: "Lamborghini Revuelto",
|
|
price: "Standard",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/modern-car-driving-city_23-2151674245.jpg",
|
|
},
|
|
{
|
|
id: "4",
|
|
name: "Ferrari SF90",
|
|
price: "Unlockable",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-black-red-car-s-modern-interior_181624-33107.jpg",
|
|
},
|
|
{
|
|
id: "5",
|
|
name: "Pagani Utopia",
|
|
price: "Elite",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/buttons-turn-lights-more-close-up-view-interior-brand-new-modern-luxury-automobile_146671-16598.jpg",
|
|
},
|
|
{
|
|
id: "6",
|
|
name: "Lamborghini Huracan",
|
|
price: "Standard",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/superhero-car-vintage-style_23-2151636205.jpg",
|
|
},
|
|
]}
|
|
title="The Elite Garage"
|
|
description="Choose your weapon from our curated collection of legendary manufacturers."
|
|
/>
|
|
</div>
|
|
|
|
<div id="metrics" data-section="metrics">
|
|
<MetricCardFourteen
|
|
useInvertedBackground={false}
|
|
title="Unrivaled Engineering"
|
|
tag="Performance Stats"
|
|
metrics={[
|
|
{
|
|
id: "m1",
|
|
value: "0.1s",
|
|
description: "Latency performance",
|
|
},
|
|
{
|
|
id: "m2",
|
|
value: "320mph",
|
|
description: "Max speed simulation",
|
|
},
|
|
{
|
|
id: "m3",
|
|
value: "99.9%",
|
|
description: "Physics fidelity",
|
|
},
|
|
]}
|
|
metricsAnimation="slide-up"
|
|
/>
|
|
</div>
|
|
|
|
<div id="features" data-section="features">
|
|
<FeatureCardTwentyFive
|
|
animationType="depth-3d"
|
|
textboxLayout="split"
|
|
useInvertedBackground={true}
|
|
features={[
|
|
{
|
|
title: "Advanced HUD",
|
|
description: "Real-time telemetry and track data.",
|
|
icon: Zap,
|
|
mediaItems: [
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/drivers-hand-wheel-forest-road-speed-blur-effect_169016-68618.jpg",
|
|
},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-heart-studio_23-2150802161.jpg",
|
|
},
|
|
],
|
|
imageSrc: "http://img.b2bpic.net/free-photo/modern-car-driving-city_23-2151674224.jpg?_wi=2",
|
|
imageAlt: "gaming dashboard hud",
|
|
},
|
|
{
|
|
title: "Engine Dynamics",
|
|
description: "High-fidelity engine acoustic modeling.",
|
|
icon: Gauge,
|
|
mediaItems: [
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/car-engine_1373-569.jpg",
|
|
},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-vector/earth-display-futuristic-infographic-collection_23-2148203353.jpg",
|
|
},
|
|
],
|
|
imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-white-car-dark-background_181624-20300.jpg?_wi=2",
|
|
imageAlt: "gaming dashboard hud",
|
|
},
|
|
{
|
|
title: "Pro Controller",
|
|
description: "Full wheel support and feedback.",
|
|
icon: Settings,
|
|
mediaItems: [
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/cyberpunk-city-night-drive_23-2151999280.jpg",
|
|
},
|
|
{
|
|
imageSrc: "http://img.b2bpic.net/free-photo/3d-render-car-engine-cylinder-block_482257-76614.jpg",
|
|
},
|
|
],
|
|
imageSrc: "http://img.b2bpic.net/free-photo/it-has-few-special-functions-female-customer-modern-stylish-bearded-businessman-automobile-saloon_146671-16061.jpg?_wi=2",
|
|
imageAlt: "gaming dashboard hud",
|
|
},
|
|
]}
|
|
title="Racing Redefined"
|
|
description="Next-generation features designed for competitive sim-racing enthusiasts."
|
|
/>
|
|
</div>
|
|
|
|
<div id="testimonials" data-section="testimonials">
|
|
<TestimonialCardOne
|
|
animationType="slide-up"
|
|
textboxLayout="split"
|
|
gridVariant="uniform-all-items-equal"
|
|
useInvertedBackground={false}
|
|
testimonials={[
|
|
{
|
|
id: "t1",
|
|
name: "Alex R.",
|
|
role: "Pro Racer",
|
|
company: "Global League",
|
|
rating: 5,
|
|
imageSrc: "http://img.b2bpic.net/free-photo/african-american-freelancer-listening-podcast-being-focused-online-work_482257-121502.jpg",
|
|
},
|
|
{
|
|
id: "t2",
|
|
name: "Jamie S.",
|
|
role: "Sim Enthusiast",
|
|
company: "Racing Club",
|
|
rating: 5,
|
|
imageSrc: "http://img.b2bpic.net/free-photo/front-view-father-son-having-fun_23-2148404167.jpg",
|
|
},
|
|
{
|
|
id: "t3",
|
|
name: "Maria K.",
|
|
role: "Community Leader",
|
|
company: "Elite Sim",
|
|
rating: 5,
|
|
imageSrc: "http://img.b2bpic.net/free-photo/gamer-glasses-is-sitting-chair-while-pretty-girl-behide-his-back-is-smiling-camera_613910-21684.jpg",
|
|
},
|
|
{
|
|
id: "t4",
|
|
name: "Leo P.",
|
|
role: "Developer",
|
|
company: "Tech Lab",
|
|
rating: 5,
|
|
imageSrc: "http://img.b2bpic.net/free-photo/man-wears-headphones-playing-game-teaching-subscribers-esport-skills-close-up_482257-92679.jpg",
|
|
},
|
|
{
|
|
id: "t5",
|
|
name: "Sam D.",
|
|
role: "Creator",
|
|
company: "Twitch Streamer",
|
|
rating: 5,
|
|
imageSrc: "http://img.b2bpic.net/free-photo/smiley-young-man-with-camera_23-2148503626.jpg",
|
|
},
|
|
]}
|
|
title="Driver Reviews"
|
|
description="See why top sim-racers call VelocityRacer their home."
|
|
/>
|
|
</div>
|
|
|
|
<div id="social" data-section="social">
|
|
<SocialProofOne
|
|
textboxLayout="default"
|
|
useInvertedBackground={true}
|
|
names={[
|
|
"Microsoft",
|
|
"Logitech",
|
|
"Nvidia",
|
|
"Intel",
|
|
"Valve",
|
|
"Fanatec",
|
|
"Simucube",
|
|
]}
|
|
title="Industry Partners"
|
|
description="Working with the best in simulation technology."
|
|
/>
|
|
</div>
|
|
|
|
<div id="faq" data-section="faq">
|
|
<FaqDouble
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
faqs={[
|
|
{
|
|
id: "f1",
|
|
title: "Is it free to play?",
|
|
content: "Yes, standard access is free with premium upgrades.",
|
|
},
|
|
{
|
|
id: "f2",
|
|
title: "Does it support wheels?",
|
|
content: "Full support for all major brands including Fanatec and Thrustmaster.",
|
|
},
|
|
{
|
|
id: "f3",
|
|
title: "Can I race online?",
|
|
content: "Compete against players worldwide in real-time online tracks.",
|
|
},
|
|
]}
|
|
title="Frequently Asked Questions"
|
|
description="Have questions about the racing experience?"
|
|
faqsAnimation="blur-reveal"
|
|
/>
|
|
</div>
|
|
|
|
<div id="contact" data-section="contact">
|
|
<ContactCenter
|
|
useInvertedBackground={true}
|
|
background={{
|
|
variant: "gradient-bars",
|
|
}}
|
|
title="Start Your Engine"
|
|
description="Get early access to exclusive events and new car drops."
|
|
tag="Newsletter"
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterBase
|
|
columns={[
|
|
{
|
|
title: "Game",
|
|
items: [
|
|
{
|
|
label: "Cars",
|
|
href: "#products",
|
|
},
|
|
{
|
|
label: "Features",
|
|
href: "#features",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Support",
|
|
items: [
|
|
{
|
|
label: "FAQ",
|
|
href: "#faq",
|
|
},
|
|
{
|
|
label: "Contact",
|
|
href: "#contact",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Legal",
|
|
items: [
|
|
{
|
|
label: "Privacy",
|
|
href: "#",
|
|
},
|
|
{
|
|
label: "Terms",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
logoText="VelocityRacer"
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|