Compare commits

...

2 Commits

Author SHA1 Message Date
537601ee19 Update src/app/page.tsx 2026-03-21 23:07:25 +00:00
9c23776465 Merge version_36 into main
Merge version_36 into main
2026-03-21 23:04:00 +00:00

View File

@@ -26,6 +26,9 @@ export default function LandingPage() {
const galleryContainerRef = useRef<HTMLDivElement>(null); const galleryContainerRef = useRef<HTMLDivElement>(null);
const shoesContainerRef = useRef<HTMLDivElement>(null); const shoesContainerRef = useRef<HTMLDivElement>(null);
const veilsContainerRef = useRef<HTMLDivElement>(null); const veilsContainerRef = useRef<HTMLDivElement>(null);
const galleryButtonContainerRef = useRef<HTMLDivElement>(null);
const shoesButtonContainerRef = useRef<HTMLDivElement>(null);
const veilsButtonContainerRef = useRef<HTMLDivElement>(null);
useEffect(() => { useEffect(() => {
let ticking = false; let ticking = false;
@@ -447,19 +450,17 @@ export default function LandingPage() {
}))} }))}
/> />
{/* View More Button - Appears when 6th item is scrolled to */} {/* View More Button - Positioned at bottom right of gallery section */}
{showGalleryViewMore && ( {showGalleryViewMore && (
<div className="relative mt-0"> <div ref={galleryButtonContainerRef} className="flex justify-end px-8 lg:px-16 pt-8 pb-4">
<div className="absolute -top-[280px] right-8 lg:right-16 z-30 flex justify-end animate-in fade-in slide-in-from-bottom-4 duration-300"> <button
<button onClick={() => setShowModal(true)}
onClick={() => setShowModal(true)} className="group relative inline-flex items-center gap-2 px-4 md:px-6 py-2 md:py-3 bg-gradient-to-r from-[#D4AF37] to-[#D4AF37] text-black rounded-lg font-semibold hover:shadow-lg transition-all duration-300 ease-out shadow-lg animate-in fade-in slide-in-from-bottom-4 duration-300"
className="group relative inline-flex items-center gap-2 px-4 md:px-6 py-2 md:py-3 bg-gradient-to-r from-[#D4AF37] to-[#D4AF37] text-black rounded-lg font-semibold hover:shadow-lg transition-all duration-300 ease-out shadow-lg" aria-label="View More Dresses"
aria-label="View More Dresses" >
> <span className="text-sm md:text-base">View More</span>
<span className="text-sm md:text-base">View More</span> <ChevronRight className="w-4 h-4 md:w-5 md:h-5 group-hover:translate-x-1 transition-transform" />
<ChevronRight className="w-4 h-4 md:w-5 md:h-5 group-hover:translate-x-1 transition-transform" /> </button>
</button>
</div>
</div> </div>
)} )}
</div> </div>
@@ -595,19 +596,17 @@ export default function LandingPage() {
]} ]}
/> />
{/* View More Button for Shoes - Appears when 6th item is scrolled to */} {/* View More Button for Shoes - Positioned at bottom right of shoes section */}
{showShoesViewMore && ( {showShoesViewMore && (
<div className="relative mt-0"> <div ref={shoesButtonContainerRef} className="flex justify-end px-8 lg:px-16 pt-8 pb-4">
<div className="absolute -top-[280px] right-8 lg:right-16 z-30 flex justify-end animate-in fade-in slide-in-from-bottom-4 duration-300"> <button
<button onClick={scrollToVeils}
onClick={scrollToVeils} className="group relative inline-flex items-center gap-2 px-4 md:px-6 py-2 md:py-3 bg-gradient-to-r from-[#D4AF37] to-[#D4AF37] text-black rounded-lg font-semibold hover:shadow-lg transition-all duration-300 ease-out shadow-lg animate-in fade-in slide-in-from-bottom-4 duration-300"
className="group relative inline-flex items-center gap-2 px-4 md:px-6 py-2 md:py-3 bg-gradient-to-r from-[#D4AF37] to-[#D4AF37] text-black rounded-lg font-semibold hover:shadow-lg transition-all duration-300 ease-out shadow-lg" aria-label="View More Shoes"
aria-label="View More Shoes" >
> <span className="text-sm md:text-base">View More</span>
<span className="text-sm md:text-base">View More</span> <ChevronRight className="w-4 h-4 md:w-5 md:h-5 group-hover:translate-x-1 transition-transform" />
<ChevronRight className="w-4 h-4 md:w-5 md:h-5 group-hover:translate-x-1 transition-transform" /> </button>
</button>
</div>
</div> </div>
)} )}
</div> </div>
@@ -647,20 +646,17 @@ export default function LandingPage() {
]} ]}
/> />
{/* View More Button for Veils - Appears when 6th item is scrolled to */} {/* View More Button for Veils - Positioned at bottom right of veils section */}
{showVeilsViewMore && ( {showVeilsViewMore && (
<div className="relative mt-0"> <div ref={veilsButtonContainerRef} className="flex justify-end px-8 lg:px-16 pt-8 pb-4">
<div className="absolute -top-[280px] right-8 lg:right-16 z-30 flex justify-end animate-in fade-in slide-in-from-bottom-4 duration-300"> <button
<button className="group relative inline-flex items-center gap-2 px-4 md:px-6 py-2 md:py-3 bg-gradient-to-r from-[#D4AF37] to-[#D4AF37] text-black rounded-lg font-semibold hover:shadow-lg transition-all duration-300 ease-out shadow-lg animate-in fade-in slide-in-from-bottom-4 duration-300"
onClick={() => { /* This section is the last product section, so no action needed */ }} aria-label="View More Veils"
className="group relative inline-flex items-center gap-2 px-4 md:px-6 py-2 md:py-3 bg-gradient-to-r from-[#D4AF37] to-[#D4AF37] text-black rounded-lg font-semibold hover:shadow-lg transition-all duration-300 ease-out shadow-lg" disabled
aria-label="View More Veils" >
disabled <span className="text-sm md:text-base">View More</span>
> <ChevronRight className="w-4 h-4 md:w-5 md:h-5 group-hover:translate-x-1 transition-transform" />
<span className="text-sm md:text-base">View More</span> </button>
<ChevronRight className="w-4 h-4 md:w-5 md:h-5 group-hover:translate-x-1 transition-transform" />
</button>
</div>
</div> </div>
)} )}
</div> </div>