From 2a04f7e09c6a1057d394251a63afb78005b26d05 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 20 Mar 2026 19:12:03 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 136 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 135 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 38bd776..15f207e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,9 +7,64 @@ import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSp import FeatureBento from "@/components/sections/feature/FeatureBento"; import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo"; import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"; -import { Gift, Sparkles, Image, BookOpen, Heart } from "lucide-react"; +import { Gift, Sparkles, Image, BookOpen, Heart, ChevronLeft, ChevronRight } from "lucide-react"; +import { useState } from "react"; export default function LandingPage() { + const [currentPage, setCurrentPage] = useState(0); + + const bookPages = [ + { + title: "Papa's 47th Birthday", subtitle: "A Celebration of Love and Family", images: [ + "http://img.b2bpic.net/free-photo/medium-shot-people-celebrating-birthday_52683-88947.jpg", "http://img.b2bpic.net/free-photo/family-generations-looking-camera_23-2148314901.jpg?_wi=1" + ] + }, + { + title: "Cherished Moments", subtitle: "Family Through the Years", images: [ + "http://img.b2bpic.net/free-photo/lifestyle-queer-couples-celebrating-birthday_23-2149668049.jpg?_wi=1", "http://img.b2bpic.net/free-photo/smiling-family-lying-autumn-park_23-2147888337.jpg" + ] + }, + { + title: "Forever Together", subtitle: "Memories That Last a Lifetime", images: [ + "http://img.b2bpic.net/free-photo/happy-family-spending-time-together-green-nature_1098-1063.jpg", "http://img.b2bpic.net/free-photo/family-generations-looking-camera_23-2148314901.jpg?_wi=1" + ] + }, + { + title: "A Father's Heart", subtitle: "The Greatest Gift of All", fullPageImage: "http://img.b2bpic.net/free-photo/family-generations-looking-camera_23-2148314901.jpg?_wi=1", content: "With endless gratitude and heartfelt love, we celebrate you today." + }, + { + title: "Thank You, Papa", subtitle: "For All the Love You've Given", isClosing: true, + poem: `Your hands have guided us through every season, +Your heart has been our reason. +Your wisdom, our compass true, +Our strength found always in you. + +Seventy-seven rings around the sun, +Each one a battle valiantly won. +But greater than years is the love you give, +The way you teach us all to live. + +Happy 47th, dear Papa dear, +We celebrate you, year after year. +With the Patel family, strong and true, +We honor and cherish all that is you."` + } + ]; + + const handleNextPage = () => { + if (currentPage < bookPages.length - 1) { + setCurrentPage(currentPage + 1); + } + }; + + const handlePreviousPage = () => { + if (currentPage > 0) { + setCurrentPage(currentPage - 1); + } + }; + + const currentBookPage = bookPages[currentPage]; + return ( +
+
+ {/* Book Cover Design */} +
+ {/* Stickers decoration */} +
šŸŽ‰
+
šŸ’
+
⭐
+ + {currentBookPage.isClosing ? ( +
+

Thank You, Papa

+

{currentBookPage.subtitle}

+
+ {currentBookPage.poem} +
+
+ ) : currentBookPage.fullPageImage ? ( +
+ Full page +

{currentBookPage.content}

+
+ ) : ( +
+

{currentBookPage.title}

+

{currentBookPage.subtitle}

+
+ {currentBookPage.images?.map((img, idx) => ( + {`Page + ))} +
+
+ )} +
+ + {/* Page Navigation */} +
+ + +
+

Patel Family

+

Page {currentPage + 1} of {bookPages.length}

+
+ + +
+ + {/* Page Indicators */} +
+ {bookPages.map((_, idx) => ( +
+
+
+