Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ed06d31ff | |||
| 4a3248a372 | |||
| cea126dddb | |||
| e9f7cf3eaf |
317
src/app/page.tsx
317
src/app/page.tsx
@@ -3,252 +3,109 @@
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
||||||
import FaqBase from '@/components/sections/faq/FaqBase';
|
|
||||||
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
|
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
|
||||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||||
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
|
||||||
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
||||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||||
import { Heart, Sparkles } from "lucide-react";
|
import { useState } from "react";
|
||||||
|
|
||||||
|
export default function ProposalPage() {
|
||||||
|
const [accepted, setAccepted] = useState(false);
|
||||||
|
|
||||||
export default function LandingPage() {
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="directional-hover"
|
defaultButtonVariant="hover-bubble"
|
||||||
defaultTextAnimation="entrance-slide"
|
defaultTextAnimation="reveal-blur"
|
||||||
borderRadius="soft"
|
borderRadius="pill"
|
||||||
contentWidth="mediumLarge"
|
contentWidth="mediumSmall"
|
||||||
sizing="medium"
|
sizing="medium"
|
||||||
background="aurora"
|
background="floatingGradient"
|
||||||
cardStyle="soft-shadow"
|
cardStyle="glass-elevated"
|
||||||
primaryButtonStyle="diagonal-gradient"
|
primaryButtonStyle="primary-glow"
|
||||||
secondaryButtonStyle="radial-glow"
|
secondaryButtonStyle="glass"
|
||||||
headingFontWeight="bold"
|
headingFontWeight="semibold"
|
||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingOverlay
|
<NavbarLayoutFloatingOverlay
|
||||||
navItems={[
|
navItems={[
|
||||||
{
|
{ name: "The Big Question", id: "hero" },
|
||||||
name: "Question",
|
{ name: "Why Us", id: "features" },
|
||||||
id: "hero",
|
{ name: "Our Story", id: "metric" }
|
||||||
},
|
]}
|
||||||
{
|
brandName="My Dearest"
|
||||||
name: "Surprise",
|
/>
|
||||||
id: "features",
|
</div>
|
||||||
},
|
|
||||||
]}
|
|
||||||
brandName="Proposal"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroSplitKpi
|
<HeroSplitKpi
|
||||||
background={{
|
background={{ variant: "sparkles-gradient" }}
|
||||||
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."}
|
||||||
title="Will you be my girlfriend?"
|
kpis={[
|
||||||
description="I've been waiting for the perfect moment to ask you this. You make my world a brighter, happier place every single day."
|
{ value: "100%", label: "Love" },
|
||||||
kpis={[
|
{ value: "∞", label: "Happiness" },
|
||||||
{
|
{ value: "Always", label: "Together" }
|
||||||
value: "100%",
|
]}
|
||||||
label: "Love",
|
enableKpiAnimation={true}
|
||||||
},
|
buttons={!accepted ? [
|
||||||
{
|
{ text: "Yes! 💖", onClick: () => setAccepted(true) },
|
||||||
value: "∞",
|
{ text: "Maybe later?", onClick: () => alert("Nice try! You're stuck with me! 😘") }
|
||||||
label: "Happiness",
|
] : []}
|
||||||
},
|
imageSrc="http://img.b2bpic.net/free-photo/front-view-black-heart-box-colored-flowers-dark-grey-abstract-background_140725-145184.jpg"
|
||||||
{
|
imageAlt="Romantic proposal"
|
||||||
value: "Always",
|
/>
|
||||||
label: "With You",
|
</div>
|
||||||
},
|
|
||||||
]}
|
|
||||||
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="features" data-section="features">
|
<div id="features" data-section="features">
|
||||||
<FeatureCardSix
|
<FeatureCardSix
|
||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
features={[
|
title="Everything I Love About Us"
|
||||||
{
|
description="Little reasons that build our big love story."
|
||||||
title: "Kindness",
|
features={[
|
||||||
description: "Your heart is the most beautiful thing I have ever known. You treat everyone with so much love.",
|
{ 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" },
|
||||||
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" },
|
||||||
imageAlt: "Heart icon",
|
{ 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" }
|
||||||
},
|
]}
|
||||||
{
|
/>
|
||||||
title: "Laughter",
|
</div>
|
||||||
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="faq" data-section="faq">
|
<div id="metric" data-section="metric">
|
||||||
<FaqBase
|
<MetricCardTwo
|
||||||
textboxLayout="default"
|
animationType="blur-reveal"
|
||||||
useInvertedBackground={false}
|
textboxLayout="default"
|
||||||
title="Questions?"
|
useInvertedBackground={false}
|
||||||
description="Everything you need to know about this big day."
|
gridVariant="bento-grid"
|
||||||
faqsAnimation="slide-up"
|
title="Our Story Metrics"
|
||||||
faqs={[
|
description="Quantifying the joy of us."
|
||||||
{
|
metrics={[
|
||||||
id: "1",
|
{ id: "1", value: "365", description: "Days of pure joy" },
|
||||||
title: "What happens when I click Yes?",
|
{ id: "2", value: "∞", description: "Reasons I love you" },
|
||||||
content: "A beautiful surprise awaits!",
|
{ id: "3", value: "1", description: "Lucky heartbeat" }
|
||||||
},
|
]}
|
||||||
{
|
/>
|
||||||
id: "2",
|
</div>
|
||||||
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">
|
<div id="contact" data-section="contact">
|
||||||
<MetricCardTwo
|
<ContactCTA
|
||||||
animationType="slide-up"
|
tag="Adventure Awaits"
|
||||||
textboxLayout="default"
|
title="Let's make it official?"
|
||||||
gridVariant="uniform-all-items-equal"
|
description="I can't wait to spend every single day creating memories with you."
|
||||||
useInvertedBackground={false}
|
buttons={[{ text: "I'm ready!", href: "#" }]}
|
||||||
title="Our Story in Numbers"
|
background={{ variant: "sparkles-gradient" }}
|
||||||
description="The tiny stats behind our huge love."
|
useInvertedBackground={false}
|
||||||
metrics={[
|
/>
|
||||||
{
|
</div>
|
||||||
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">
|
<div id="footer" data-section="footer">
|
||||||
<ContactCTA
|
<FooterSimple
|
||||||
useInvertedBackground={false}
|
columns={[]}
|
||||||
background={{
|
bottomLeftText="© 2024 Love Proposal"
|
||||||
variant: "plain",
|
bottomRightText="Made with infinite love"
|
||||||
}}
|
/>
|
||||||
tag="Get in touch"
|
</div>
|
||||||
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>
|
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user