@@ -32,34 +32,29 @@ export const ScheduleCalendar = () => {
3232
3333 return (
3434 < div className = "w-full max-w-7xl mx-auto p-4 sm:p-6 overflow-x-auto" >
35- { /* Header with day names */ }
3635 < div className = "flex gap-2 sm:gap-4 mb-6 min-w-[800px]" >
3736 < div className = "w-8 text-sm font-medium text-base-content/60" > </ div >
3837 { days . map ( day => {
3938 const { dayOfWeek, dateString } = getDayInfo ( day ) ;
4039 return (
4140 < div key = { day } className = "flex-1 text-center" >
42- < h2 className = "text-lg font-bold text-primary" > { dayOfWeek } </ h2 >
43- < p className = "text-sm text-base-content/70" > { dateString } </ p >
41+ < h2 className = "text-lg font-bold text-primary m-0 " > { dayOfWeek } </ h2 >
42+ < p className = "text-sm text-base-content/70 m-0 " > { dateString } </ p >
4443 </ div >
4544 ) ;
4645 } ) }
4746 </ div >
4847
49- { /* Time grid container */ }
5048 < div className = "relative min-w-[800px]" >
51- { /* Time grid background */ }
5249 < div className = "flex gap-2 sm:gap-4" >
53- { /* Time column */ }
5450 < div className = "w-12 space-y-0" >
5551 { timeSlots . map ( timeSlot => (
5652 < div key = { timeSlot . time24 } className = "h-16 border-b border-base-300 flex items-start pt-1" >
57- < span className = "text-sm font-medium text-base-content/60 " > { timeSlot . time12 } </ span >
53+ < span className = "text-sm font-medium text-base-content/70 " > { timeSlot . time12 } </ span >
5854 </ div >
5955 ) ) }
6056 </ div >
6157
62- { /* Day columns */ }
6358 { days . map ( day => (
6459 < div key = { day } className = "flex-1 relative space-y-0" >
6560 { timeSlots . map ( timeSlot => (
@@ -69,12 +64,9 @@ export const ScheduleCalendar = () => {
6964 ) ) }
7065 </ div >
7166
72- { /* Positioned sessions overlay */ }
7367 < div className = "absolute inset-0 flex gap-2 sm:gap-4" >
74- { /* Skip time column */ }
7568 < div className = "w-12" > </ div >
7669
77- { /* Session overlays for each day */ }
7870 { days . map ( day => {
7971 const daySessions = getSessionsForDay ( day ) ;
8072
0 commit comments