import React from "react"; import { motion } from "motion/react"; import { MemorialMilestone } from "../types"; import { Calendar, Eye, Heart, Sparkles, Plus, Trash2 } from "lucide-react"; interface InteractiveTimelineProps { milestones: MemorialMilestone[]; gfNickname: string; } export default function InteractiveTimeline({ milestones, gfNickname }: InteractiveTimelineProps) { return (
{/* Dynamic Section Theme Title */}
Chapter I • Our Chapters Together

How we became us

Every moment with you is a favorite, but here are the key magical chapters that changed my life forever.

{/* The Timeline Spine Line */}
{/* Milestones Loop */}
{milestones.map((milestone, index) => { const isEven = index % 2 === 0; return ( {/* Timeline Center Indicator Icon */}
{milestone.emoji || "❤️"}
{/* Box Content Card */}
{/* Decorative badge with cute date */}
{milestone.date}

{milestone.title}

{milestone.description}

{/* Sparkle detailing */}
{/* Space holding panel for aesthetic spacing */}
); })}
); }