import { memo } from 'react'; import { motion } from 'framer-motion'; import { dayjs, decodeHtmlEntities } from '@/utils'; /** * Mobile용 생일 카드 컴포넌트 * @param {Object} schedule - 일정 데이터 * @param {boolean} showYear - 년도 표시 여부 * @param {number} delay - 애니메이션 딜레이 (초) * @param {function} onClick - 클릭 핸들러 */ const BirthdayCard = memo(function BirthdayCard({ schedule, showYear = false, delay = 0, onClick }) { const scheduleDate = dayjs(schedule.date); const formatted = { year: scheduleDate.year(), month: scheduleDate.month() + 1, day: scheduleDate.date(), }; const CardContent = (