diff --git a/frontend/src/components/pc/public/schedule/Calendar.jsx b/frontend/src/components/pc/public/schedule/Calendar.jsx
index 8ce8c5d..1eac069 100644
--- a/frontend/src/components/pc/public/schedule/Calendar.jsx
+++ b/frontend/src/components/pc/public/schedule/Calendar.jsx
@@ -1,6 +1,6 @@
import { useState, useRef, useEffect, useMemo } from 'react';
import { motion, AnimatePresence } from 'framer-motion';
-import { ChevronLeft, ChevronRight, ChevronDown } from 'lucide-react';
+import { ChevronLeft, ChevronRight, ChevronDown, CalendarDays } from 'lucide-react';
import { getTodayKST, dayjs } from '@/utils';
import { MIN_YEAR, WEEKDAYS, MONTH_NAMES } from '@/constants';
@@ -93,6 +93,17 @@ function Calendar({
}
};
+ // 오늘 날짜로 이동
+ const goToToday = () => {
+ const today = new Date();
+ const isFuture =
+ today.getFullYear() > year ||
+ (today.getFullYear() === year && today.getMonth() > month);
+ setSlideDirection(isFuture ? 1 : -1);
+ onDateChange(today);
+ onSelectDate(getTodayKST());
+ };
+
const selectYear = (newYear) => {
onDateChange(new Date(newYear, month, 1));
};
@@ -133,7 +144,7 @@ function Calendar({
transition={{ duration: 0.2 }}
className={disabled ? 'pointer-events-none' : ''}
>
-
+
{/* 헤더 */}