Update src/app/page.tsx
This commit is contained in:
316
src/app/page.tsx
316
src/app/page.tsx
@@ -9,247 +9,103 @@ import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import { Heart, Sparkles } from "lucide-react";
|
||||
import { Heart, Sparkles, Smile, PartyPopper } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
|
||||
export default function ProposalPage() {
|
||||
const [accepted, setAccepted] = useState(false);
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumLarge"
|
||||
defaultButtonVariant="hover-bubble"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="medium"
|
||||
background="aurora"
|
||||
cardStyle="soft-shadow"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="bold"
|
||||
background="floatingGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Question",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Surprise",
|
||||
id: "features",
|
||||
},
|
||||
]}
|
||||
brandName="Proposal"
|
||||
/>
|
||||
</div>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{ name: "The Big Question", id: "hero" },
|
||||
{ name: "Why Us", id: "features" },
|
||||
{ name: "Our Story", id: "metric" }
|
||||
]}
|
||||
brandName="My Dearest"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
title="Will you be my girlfriend?"
|
||||
description="I've been waiting for the perfect moment to ask you this. You make my world a brighter, happier place every single day."
|
||||
kpis={[
|
||||
{
|
||||
value: "100%",
|
||||
label: "Love",
|
||||
},
|
||||
{
|
||||
value: "∞",
|
||||
label: "Happiness",
|
||||
},
|
||||
{
|
||||
value: "Always",
|
||||
label: "With You",
|
||||
},
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Yes! 💖",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
text: "No",
|
||||
href: "#",
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/front-view-black-heart-box-colored-flowers-dark-grey-abstract-background_140725-145184.jpg"
|
||||
imageAlt="Romantic proposal background"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-vector/heartshaped-illustration-symbolizes-love-romance_24877-82646.jpg",
|
||||
alt: "Couple 1",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/dark-style-valentines-day-celebration_23-2151289958.jpg",
|
||||
alt: "Couple 2",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/happy-graduation-celebration_23-2151966298.jpg",
|
||||
alt: "Couple 3",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-vector/heartshaped-illustration-symbolizes-love-romance_24877-82646.jpg",
|
||||
alt: "Couple 4",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/dark-style-valentines-day-celebration_23-2151289958.jpg",
|
||||
alt: "Couple 5",
|
||||
},
|
||||
]}
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Forever",
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Love",
|
||||
icon: Heart,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Joy",
|
||||
},
|
||||
{
|
||||
type: "text-icon",
|
||||
text: "Together",
|
||||
icon: Sparkles,
|
||||
},
|
||||
{
|
||||
type: "text",
|
||||
text: "Always",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
title={accepted ? "I'm the happiest person alive! 💖" : "Will you be my forever?"}
|
||||
description={accepted ? "You just made my entire year, decade, and lifetime. I love you endlessly!" : "I've been waiting for the perfect moment to ask you this. You make my world a brighter, happier place every single day."}
|
||||
kpis={[
|
||||
{ value: "100%", label: "Love" },
|
||||
{ value: "∞", label: "Happiness" },
|
||||
{ value: "Always", label: "Together" }
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={!accepted ? [
|
||||
{ text: "Yes! 💖", onClick: () => setAccepted(true) },
|
||||
{ text: "Maybe later?", onClick: () => alert("Nice try! You're stuck with me! 😘") }
|
||||
] : []}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/front-view-black-heart-box-colored-flowers-dark-grey-abstract-background_140725-145184.jpg"
|
||||
imageAlt="Romantic proposal"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardSix
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Kindness",
|
||||
description: "Your heart is the most beautiful thing I have ever known. You treat everyone with so much love.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/heartshaped-illustration-symbolizes-love-romance_24877-82646.jpg",
|
||||
imageAlt: "Heart icon",
|
||||
},
|
||||
{
|
||||
title: "Laughter",
|
||||
description: "I can't imagine my life without the way you make me smile every day.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dark-style-valentines-day-celebration_23-2151289958.jpg",
|
||||
imageAlt: "Message icon",
|
||||
},
|
||||
{
|
||||
title: "Celebration",
|
||||
description: "Life is just better when we are together, sharing every tiny moment of joy.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-graduation-celebration_23-2151966298.jpg",
|
||||
imageAlt: "Confetti icon",
|
||||
},
|
||||
]}
|
||||
title="Why I want you in my life"
|
||||
description="Here's why I'm asking you this today..."
|
||||
/>
|
||||
</div>
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardSix
|
||||
textboxLayout="default"
|
||||
title="Everything I Love About Us"
|
||||
description="Little reasons that build our big love story."
|
||||
features={[
|
||||
{ title: "Your Kindness", description: "You treat everyone with so much love, it inspires me daily.", imageSrc: "http://img.b2bpic.net/free-vector/heartshaped-illustration-symbolizes-love-romance_24877-82646.jpg" },
|
||||
{ title: "Our Laughter", description: "I live for the silly moments and the way you make me smile.", imageSrc: "http://img.b2bpic.net/free-photo/dark-style-valentines-day-celebration_23-2151289958.jpg" },
|
||||
{ title: "Our Future", description: "Every day with you is a tiny adventure I never want to end.", imageSrc: "http://img.b2bpic.net/free-photo/happy-graduation-celebration_23-2151966298.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqBase
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
title="Questions?"
|
||||
description="Everything you need to know about this big day."
|
||||
faqsAnimation="slide-up"
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "What happens when I click Yes?",
|
||||
content: "A beautiful surprise awaits!",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "Is this forever?",
|
||||
content: "Absolutely, 100% forever.",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Can I say no?",
|
||||
content: "You can try, but the button might run away!",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="metric" data-section="metric">
|
||||
<MetricCardTwo
|
||||
animationType="blur-reveal"
|
||||
textboxLayout="default"
|
||||
gridVariant="bento-grid"
|
||||
title="Our Story Metrics"
|
||||
description="Quantifying the joy of us."
|
||||
metrics={[
|
||||
{ id: "1", value: "365", description: "Days of pure joy" },
|
||||
{ id: "2", value: "∞", description: "Reasons I love you" },
|
||||
{ id: "3", value: "1", description: "Lucky heartbeat" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metric" data-section="metric">
|
||||
<MetricCardTwo
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
title="Our Story in Numbers"
|
||||
description="The tiny stats behind our huge love."
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "365",
|
||||
description: "Days of happiness",
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
value: "∞",
|
||||
description: "Reasons I love you",
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
value: "1",
|
||||
description: "Heart beating for you",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCTA
|
||||
tag="Adventure Awaits"
|
||||
title="Let's make it official?"
|
||||
description="I can't wait to spend every single day creating memories with you."
|
||||
buttons={[{ text: "I'm ready!", href: "#" }]}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCTA
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
tag="Get in touch"
|
||||
title="Ready to start our adventure?"
|
||||
description="Let's make memories that last a lifetime."
|
||||
buttons={[
|
||||
{
|
||||
text: "Send a Message",
|
||||
href: "mailto:hello@love.com",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Proposal",
|
||||
items: [
|
||||
{
|
||||
label: "Back to Top",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Contact Me",
|
||||
href: "mailto:test@example.com",
|
||||
},
|
||||
],
|
||||
},
|
||||
]}
|
||||
bottomLeftText="© 2024 Love Proposal"
|
||||
bottomRightText="Made with 💖"
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[]}
|
||||
bottomLeftText="© 2024 Love Proposal"
|
||||
bottomRightText="Made with infinite love"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user