diff --git a/frontend/src/pages/pc/admin/AdminSchedule.jsx b/frontend/src/pages/pc/admin/AdminSchedule.jsx index 9d7cfa8..dc5c56b 100644 --- a/frontend/src/pages/pc/admin/AdminSchedule.jsx +++ b/frontend/src/pages/pc/admin/AdminSchedule.jsx @@ -794,7 +794,7 @@ function AdminSchedule() { year === y ? 'bg-primary text-white' : isCurrentYear(y) && year !== y - ? 'border border-primary text-primary hover:bg-primary/10' + ? 'text-primary font-medium hover:bg-primary/10' : 'hover:bg-gray-100 text-gray-700' }`} > @@ -814,7 +814,7 @@ function AdminSchedule() { month === i ? 'bg-primary text-white' : isCurrentMonth(i) && month !== i - ? 'border border-primary text-primary hover:bg-primary/10' + ? 'text-primary font-medium hover:bg-primary/10' : 'hover:bg-gray-100 text-gray-700' }`} > @@ -844,7 +844,7 @@ function AdminSchedule() { month === i ? 'bg-primary text-white' : isCurrentMonth(i) && month !== i - ? 'border border-primary text-primary hover:bg-primary/10' + ? 'text-primary font-medium hover:bg-primary/10' : 'hover:bg-gray-100 text-gray-700' }`} > diff --git a/frontend/src/pages/pc/public/Schedule.jsx b/frontend/src/pages/pc/public/Schedule.jsx index 9039fac..62e30bb 100644 --- a/frontend/src/pages/pc/public/Schedule.jsx +++ b/frontend/src/pages/pc/public/Schedule.jsx @@ -327,6 +327,8 @@ function Schedule() { // 연도 선택 범위 const [yearRangeStart, setYearRangeStart] = useState(currentYear - 1); + const yearRange = Array.from({ length: 12 }, (_, i) => yearRangeStart + i); + const monthNames = ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월']; const prevYearRange = () => setYearRangeStart(prev => prev - 3); const nextYearRange = () => setYearRangeStart(prev => prev + 3); @@ -455,7 +457,7 @@ function Schedule() { onClick={() => selectYear(y)} className={`py-2 text-sm rounded-lg transition-colors ${ year === y ? 'bg-primary text-white' : - isCurrentYear(y) && year !== y ? 'border border-primary text-primary hover:bg-primary/10' : + isCurrentYear(y) && year !== y ? 'text-primary font-medium hover:bg-primary/10' : 'hover:bg-gray-100 text-gray-700' }`} > @@ -471,7 +473,7 @@ function Schedule() { onClick={() => selectMonth(i)} className={`py-2 text-sm rounded-lg transition-colors ${ month === i ? 'bg-primary text-white' : - isCurrentMonth(i) && month !== i ? 'border border-primary text-primary hover:bg-primary/10' : + isCurrentMonth(i) && month !== i ? 'text-primary font-medium hover:bg-primary/10' : 'hover:bg-gray-100 text-gray-700' }`} > @@ -491,7 +493,7 @@ function Schedule() { onClick={() => selectMonth(i)} className={`py-2.5 text-sm rounded-lg transition-colors ${ month === i ? 'bg-primary text-white' : - isCurrentMonth(i) && month !== i ? 'border border-primary text-primary hover:bg-primary/10' : + isCurrentMonth(i) && month !== i ? 'text-primary font-medium hover:bg-primary/10' : 'hover:bg-gray-100 text-gray-700' }`} >