"use client"; import { motion } from "framer-motion"; import Link from "next/link"; import { Button } from "@heroui/button"; import { useEffect, useState } from "react"; import ImportantNews from "./importantNews"; import CertificatePage from "./certificate"; import WeddingCard from "./weddingcard"; import WeddingCard2 from "./weddingcard2"; import { HeartFilledIcon } from "./icons"; import Updates from "./updates"; import CountdownTimer from "./CountdownTimer"; import LiveVideos from "./LiveVideos"; import { fontCursive, fontMono } from "@/config/fonts"; const fadeInUp = { initial: { opacity: 0, y: 20 }, whileInView: { opacity: 1, y: 0 }, viewport: { once: true }, transition: { duration: 0.8 }, }; const Herohome = () => { const [showReception, setShowReception] = useState(false); useEffect(() => { const now = new Date(); const weddingDate = new Date("2026-01-23"); weddingDate.setHours(23, 59, 59, 999); if (now > weddingDate) { setShowReception(true); } }, []); return (
{/* Latest Update Bar */}
{/* 1. Hero Banner */}
{/* Abstract Background Element */}
A Journey of Forever Begins. Groom & Bride
{/* Countdown Section */}
{/* 2. The Invitation */}

The Invitation

{showReception ? : }
{/* Live Videos Section */} {/* 3. The Couple Intro */}

From college classmates to soulmates, our journey of ten beautiful years has been filled with shared laughter, quiet strength, and a deep love for the mountains. Now, we are ready to write the next chapter as one.

{/* 4. Important News / Events */}
{/* 5. Mini Game Section */}

A Little Fun

Take a moment to enjoy a small wedding-themed memory game while you are here!

{/* 6. Official Record */}
); }; export default Herohome;