From 559b801a623ed213a123401e5058af0f9b8bf0be Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 7 Jun 2026 23:21:33 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 203 ++++++++++++++++------------------------------- 1 file changed, 68 insertions(+), 135 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e6ab5f3..40e6f5d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,153 +1,86 @@ "use client"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import ReactLenis from "lenis/react"; -import FaqDouble from '@/components/sections/faq/FaqDouble'; -import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll'; -import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo'; -import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; -import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix'; -import TextAbout from '@/components/sections/about/TextAbout'; -import { Book, Gift, Heart, MessageCircle, Smile, Sparkles, Star } from "lucide-react"; +import React, { useState } from "react"; export default function LandingPage() { - // Define navItems for NavbarStyleCentered as it's a required prop - const navItems = [ - { name: "Home", id: "#" } + const [yesClicked, setYesClicked] = useState(false); + const [noClickCount, setNoClickCount] = useState(0); + + const noMessages = [ + "Please kar lo na 🥺", "Main tum se bohat pyar karta hoon ❤️", "Ab to yes kar do na 🥹", "Please Bisma, maan jao na ❤️", "Mere liye yes kar do 💕" ]; + const handleYesClick = () => { + setYesClicked(true); + }; + + const handleNoClick = () => { + if (noClickCount < noMessages.length) { + setNoClickCount((prevCount) => prevCount + 1); + } + }; + return ( - - +
+
+ {yesClicked ? ( +

Thank you for accept me ❤️

+ ) : ( + <> +

Bisma, will you marry me?

+ {noClickCount > 0 && noClickCount <= noMessages.length && ( +

+ {noMessages[noClickCount - 1]} +

+ )} -
- console.log("Yes clicked!"), - }, - { - text: "No", onClick: () => console.log("No clicked!"), - }, - ]} - slides={[ - { - imageSrc: "http://img.b2bpic.net/free-photo/young-couple-hugging-sea-shore-evening_23-2148020113.jpg", imageAlt: "Romantic couple silhouette at sunset on a beach"}, - { - imageSrc: "http://img.b2bpic.net/free-photo/valentines-day-marry-me-wedding-engagement-ring-box-with-red-rose-gift_114579-443.jpg", imageAlt: "Close-up of an engagement ring on a single red rose"}, - { - imageSrc: "http://img.b2bpic.net/free-photo/sensitive-hands-making-delicate-expressions_23-2149524508.jpg", imageAlt: "Two hands gently intertwined, symbolizing connection"}, - { - imageSrc: "http://img.b2bpic.net/free-photo/romantic-candlelight-dinner-elegant-decor-comfort-generated-by-ai_188544-16342.jpg", imageAlt: "Elegant candlelit dinner setting for two, romantic atmosphere"}, - { - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-people-looking-each-other_23-2149478749.jpg", imageAlt: "Couple dancing slowly in soft, warm light in an embrace"}, - ]} - autoplayDelay={0} - showDimOverlay={false} - /> -
+ {noClickCount === noMessages.length && ( +

+ Ab to sirf yes hi option hai ❤️ +

+ )} -
- -
+
+ -
- + {noClickCount < noMessages.length ? ( + + ) : ( + + )} +
+ + )} +
- -
- -
- -
- -
- ); } -- 2.49.1