import { motion } from 'motion/react'; import { CalendarFilled, GlobeFilled } from '@/shared/icons/FilledIcons'; function formatDate(raw: string): string { try { return new Date(raw).toLocaleDateString('ko-KR', { year: 'numeric', month: 'long', day: 'numeric', }); } catch { return raw; } } interface PlanHeaderProps { clinicName: string; clinicNameEn: string; date: string; targetUrl: string; } export default function PlanHeader({ clinicName, clinicNameEn, date, targetUrl, }: PlanHeaderProps) { return (
{/* Animated blobs — position only, no opacity */}
{/* Left: Text content — plain div, no opacity animation */}

Marketing Execution Plan

{clinicName}

{clinicNameEn}

{formatDate(date)} {targetUrl}
{/* Right: 90 Days badge */}
90 Days
); }