Tactically Retreating
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
.dayLabelContainer {
|
.dayLabelContainer {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
height: 13px;
|
height: 13px;
|
||||||
min-width: 40px;
|
min-width: 40px;
|
||||||
min-height: 13px;
|
min-height: 13px;
|
||||||
|
|||||||
@@ -7,6 +7,11 @@ const daysOfWeek = Object.values(DAY_MAP);
|
|||||||
daysOfWeek.pop();
|
daysOfWeek.pop();
|
||||||
daysOfWeek.pop();
|
daysOfWeek.pop();
|
||||||
const hoursOfDay = Array.from({ length: 14 }, (_, index) => index + 8);
|
const hoursOfDay = Array.from({ length: 14 }, (_, index) => index + 8);
|
||||||
|
const grid = Array.from({ length: 13 }, () =>
|
||||||
|
Array.from({ length: 5 }, (_, columnIndex) => (
|
||||||
|
<CalendarCell key={columnIndex} />
|
||||||
|
))
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Grid of CalendarGridCell components forming the user's course schedule calendar view
|
* Grid of CalendarGridCell components forming the user's course schedule calendar view
|
||||||
@@ -25,9 +30,8 @@ const Calendar: React.FC = (props) => {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Displaying the rest of the calendar */}
|
{/* Displaying the rest of the calendar */}
|
||||||
<div className={styles.calendarGrid}>
|
{/* <div className={styles.calendarGrid}>
|
||||||
{hoursOfDay.map(hour => (
|
{hoursOfDay.map(hour => (
|
||||||
<div key={hour} className={styles.calendarRow}>
|
<div key={hour} className={styles.calendarRow}>
|
||||||
{daysOfWeek.map(day => (
|
{daysOfWeek.map(day => (
|
||||||
@@ -35,7 +39,8 @@ const Calendar: React.FC = (props) => {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div> */}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hourLine {
|
.hourLine {
|
||||||
|
|||||||
Reference in New Issue
Block a user