/* sections.jsx — Countdown, Invitation, Details + Map, Five Decades */ const { useState: useStateSec, useEffect: useEffectSec } = React; const EVENT_DATE = new Date('2026-07-11T16:00:00'); const ADDRESS = '1934 Saint Andrews Ct, Jamison, PA 18929'; function Countdown() { const calc = () => { const ms = Math.max(0, EVENT_DATE - new Date()); const s = Math.floor(ms / 1000); return { days: Math.floor(s / 86400), hours: Math.floor((s % 86400) / 3600), mins: Math.floor((s % 3600) / 60), secs: s % 60 }; }; const [t, setT] = useStateSec(calc); useEffectSec(() => { const id = setInterval(() => setT(calc()), 1000); return () => clearInterval(id); }, []); const pad = (n) => String(n).padStart(2, '0'); const units = [['Days', t.days], ['Hours', pad(t.hours)], ['Minutes', pad(t.mins)], ['Seconds', pad(t.secs)]]; return (
Counting down to the celebration

July 11th, 2026

{units.map(([lbl, val]) => (
{lbl === 'Seconds' ? {val} : val}
{lbl}
))}
); } function Invitation() { return (
You're warmly invited

Five wonderful decades
of Rajshree

For fifty years she has filled rooms with warmth, fed us with love, and made every gathering feel like home. Now it's our turn to celebrate her. Join us for an afternoon of food, music, and memories — and help us make her milestone unforgettable.

With love, the Chokhany family

Let us know you're coming
); } function Details() { const mapSrc = `https://www.google.com/maps?q=${encodeURIComponent(ADDRESS)}&output=embed`; const mapLink = `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(ADDRESS)}`; return (
The Details

When & where

The Date
Saturday, July 11th 2026
The Time
4:00 in the afternoon, until late
The Place
The Chokhany Residence
1934 Saint Andrews Ct
Jamison, PA 18929
Good to know
Dress to celebrate. Come hungry. Bring a memory to share.
Open in Maps →
📍1934 Saint Andrews CtJamison, PA 18929
Tap to open in Maps →
); } function Decades() { const years = [1976, 1986, 1996, 2006, 2016, 2026]; return (
A life worth celebrating

Five decades, countless memories

From 1976 to today — a daughter, a friend, a mother, a force of warmth. Every one of you is part of her story. Add your favorite memory below.

{years.map((y, i) => (
{`'${String(y).slice(2)}`}
{i === 0 ? 'The beginning' : i === years.length - 1 ? 'Fifty!' : `Decade ${i}`}
))}
Share a memory
); } Object.assign(window, { Countdown, Invitation, Details, Decades });