226 lines
6.7 KiB
TypeScript
226 lines
6.7 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
|
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
|
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
|
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
|
|
import MediaAbout from '@/components/sections/about/MediaAbout';
|
|
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
|
import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="shift-hover"
|
|
defaultTextAnimation="background-highlight"
|
|
borderRadius="rounded"
|
|
contentWidth="smallMedium"
|
|
sizing="medium"
|
|
background="floatingGradient"
|
|
cardStyle="soft-shadow"
|
|
primaryButtonStyle="shadow"
|
|
secondaryButtonStyle="layered"
|
|
headingFontWeight="light"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarStyleFullscreen
|
|
navItems={[
|
|
{
|
|
name: "Home",
|
|
id: "/",
|
|
},
|
|
{
|
|
name: "BPM Lab",
|
|
id: "/bpm-lab",
|
|
},
|
|
{
|
|
name: "Charts",
|
|
id: "/charts",
|
|
},
|
|
{
|
|
name: "Discover",
|
|
id: "/discover",
|
|
},
|
|
{
|
|
name: "Blog",
|
|
id: "/blog",
|
|
},
|
|
]}
|
|
brandName="AltVibe"
|
|
/>
|
|
</div>
|
|
|
|
<div id="hero" data-section="hero">
|
|
<HeroOverlay
|
|
title="The Pulse of What's Playing Now"
|
|
description="Real-time Spotify data. Artist deep-dives. BPM analysis. All in one place."
|
|
buttons={[
|
|
{
|
|
text: "Explore Now",
|
|
href: "/discover",
|
|
},
|
|
{
|
|
text: "Connect Spotify",
|
|
href: "/login",
|
|
},
|
|
]}
|
|
imageSrc="http://img.b2bpic.net/free-photo/green-optical-fiber-glass-light_23-2148241343.jpg"
|
|
avatars={[
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/beautiful-optical-fiber-detail_23-2149182526.jpg",
|
|
alt: "User avatar 1",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/abstract-blurred-green-background-with-bokeh-generative-ai_169016-30462.jpg",
|
|
alt: "User avatar 2",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/fiber-optics-lights-abstract-background_23-2148241280.jpg",
|
|
alt: "User avatar 3",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/3d-modern-background-with-futuristic-flowing-dots_1048-11993.jpg",
|
|
alt: "User avatar 4",
|
|
},
|
|
{
|
|
src: "http://img.b2bpic.net/free-photo/3d-network-technology-background-with-particle-waves_1048-17881.jpg",
|
|
alt: "User avatar 5",
|
|
},
|
|
]}
|
|
avatarText="Join 50k+ music lovers"
|
|
/>
|
|
</div>
|
|
|
|
<div id="spotlight" data-section="spotlight">
|
|
<MediaAbout
|
|
useInvertedBackground={false}
|
|
title="This Week's Spotlight"
|
|
description="Exploding tracks hitting the charts this Monday."
|
|
imageSrc="http://img.b2bpic.net/free-photo/defocused-lights-violet-background_23-2147786015.jpg"
|
|
/>
|
|
</div>
|
|
|
|
<div id="trending" data-section="trending">
|
|
<ProductCardFour
|
|
animationType="slide-up"
|
|
textboxLayout="split"
|
|
gridVariant="four-items-2x2-equal-grid"
|
|
useInvertedBackground={false}
|
|
products={[
|
|
{
|
|
id: "1",
|
|
name: "Neon Dreams",
|
|
price: "847M Streams",
|
|
variant: "Hip-Hop",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/abstract-orange-background-layout-designstudioroom-web-template-business-report-with-smooth-circle-gradient-color_1258-92100.jpg",
|
|
},
|
|
{
|
|
id: "2",
|
|
name: "Cyber Pulse",
|
|
price: "620M Streams",
|
|
variant: "Electronic",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-sitting-bar_23-2149220917.jpg",
|
|
},
|
|
{
|
|
id: "3",
|
|
name: "Midnight Vibe",
|
|
price: "450M Streams",
|
|
variant: "Pop",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/vibrant-clear-cassette-tape-with-vivid-background-color_23-2148289020.jpg",
|
|
},
|
|
{
|
|
id: "4",
|
|
name: "Green Signal",
|
|
price: "320M Streams",
|
|
variant: "Rock",
|
|
imageSrc: "http://img.b2bpic.net/free-photo/royal-blue-colour-flower-pattern-background-abstract-banner-multipurpose-design_1340-17115.jpg",
|
|
},
|
|
]}
|
|
title="Albums Exploding Right Now"
|
|
description="The hottest trending albums on Spotify globally."
|
|
/>
|
|
</div>
|
|
|
|
<div id="faq" data-section="faq">
|
|
<FaqSplitText
|
|
useInvertedBackground={false}
|
|
sideTitle="Questions? We've got answers."
|
|
sideDescription="Everything you need to know about the platform."
|
|
faqs={[
|
|
{
|
|
id: "1",
|
|
title: "How does the BPM Lab work?",
|
|
content: "Our engine analyzes your library tracks and detects tempo and key in real-time.",
|
|
},
|
|
{
|
|
id: "2",
|
|
title: "Can I connect my Spotify?",
|
|
content: "Yes, use the Spotify API integration to sync your personal data instantly.",
|
|
},
|
|
]}
|
|
faqsAnimation="slide-up"
|
|
/>
|
|
</div>
|
|
|
|
<div id="feature" data-section="feature">
|
|
<FeatureHoverPattern
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
useInvertedBackground={false}
|
|
title="Unlock Advanced Discovery"
|
|
description="Powerful tools for the modern music researcher."
|
|
features={[
|
|
{
|
|
title: "Sonic Clustering",
|
|
description: "Group similar tracks by spectral signatures.",
|
|
},
|
|
{
|
|
title: "Trend Forecasting",
|
|
description: "Predict viral potential before the charts do.",
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterMedia
|
|
imageSrc="http://img.b2bpic.net/free-photo/3d-render-network-communications-with-flowing-lines-design_1048-14250.jpg?_wi=1"
|
|
logoText="AltVibe"
|
|
columns={[
|
|
{
|
|
title: "Explore",
|
|
items: [
|
|
{
|
|
label: "Charts",
|
|
href: "/charts",
|
|
},
|
|
{
|
|
label: "BPM Lab",
|
|
href: "/bpm-lab",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Company",
|
|
items: [
|
|
{
|
|
label: "About",
|
|
href: "/about",
|
|
},
|
|
{
|
|
label: "Contact",
|
|
href: "/contact",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|