|
|
@ -164,7 +164,7 @@ const paginate = (action: 'next' | 'prev') => { |
|
|
|
'text-gray-400': !isDateInCurrentMonth(date), |
|
|
|
'text-gray-400': !isDateInCurrentMonth(date), |
|
|
|
'nc-selected-week-start': isSameDate(date, dayjs(selectedWeek?.start)), |
|
|
|
'nc-selected-week-start': isSameDate(date, dayjs(selectedWeek?.start)), |
|
|
|
'nc-selected-week-end': isSameDate(date, dayjs(selectedWeek?.end)), |
|
|
|
'nc-selected-week-end': isSameDate(date, dayjs(selectedWeek?.end)), |
|
|
|
'rounded-md bg-brand-50 text-brand-500': dayjs(date).isSame(dayjs(), 'date'), |
|
|
|
'rounded-md bg-brand-50 text-brand-500': isSameDate(date, dayjs()) && isDateInCurrentMonth(date), |
|
|
|
}" |
|
|
|
}" |
|
|
|
class="h-9 w-9 px-1 py-2 relative font-medium flex items-center cursor-pointer justify-center" |
|
|
|
class="h-9 w-9 px-1 py-2 relative font-medium flex items-center cursor-pointer justify-center" |
|
|
|
@click="handleSelectDate(date)" |
|
|
|
@click="handleSelectDate(date)" |
|
|
|