diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.module.scss b/src/views/components/common/CalendarGrid/CalendarGrid.module.scss
index 0010f6b1..62fa60dd 100644
--- a/src/views/components/common/CalendarGrid/CalendarGrid.module.scss
+++ b/src/views/components/common/CalendarGrid/CalendarGrid.module.scss
@@ -1,6 +1,3 @@
-@use 'sass:color';
-@use 'src/views/styles/colors.module.scss';
-
.dayLabelContainer {
display: flex;
flex-direction: row;
@@ -32,7 +29,6 @@
.day {
gap: 5px;
- color: colors.$burnt_orange;
text-align: center;
font-size: 14.22px;
font-style: normal;
diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.tsx b/src/views/components/common/CalendarGrid/CalendarGrid.tsx
index 72887f1c..4c0ed875 100644
--- a/src/views/components/common/CalendarGrid/CalendarGrid.tsx
+++ b/src/views/components/common/CalendarGrid/CalendarGrid.tsx
@@ -1,5 +1,4 @@
import React from 'react';
-import styles from './CalendarGrid.module.scss';
import CalendarCell from '../CalendarGridCell/CalendarGridCell';
import { DAY_MAP } from 'src/shared/types/CourseMeeting';
@@ -9,11 +8,12 @@ const grid = [];
for (let i = 0; i < 13; i++) {
const row = [];
let hour = hoursOfDay[i];
- row.push(<>
-
-
{(hour % 12 === 0 ? 12 : hour % 12) + (hour < 12 ? ' AM' : ' PM')}
+ row.push(
+
+
+
{(hour % 12 === 0 ? 12 : hour % 12) + (hour < 12 ? ' AM' : ' PM')}
+
- >
);
row.push(Array.from({ length: 5 }, (_, j) =>
));
grid.push(row);
@@ -25,26 +25,26 @@ for (let i = 0; i < 13; i++) {
*/
const Calendar: React.FC = (props) => {
return (
-
-
+
+
{/* Displaying the rest of the calendar */}
-
- {/*
-
+
+ {/*
+
{hoursOfDay.map((hour) => (
-
-
+
+
{hour % 12 === 0 ? 12 : hour % 12} {hour < 12 ? 'AM' : 'PM'}
))}
*/}
-
+
{/* Displaying day labels */}
-
+
{daysOfWeek.map(day => (
-
+
{day}
))}
@@ -55,4 +55,4 @@ const Calendar: React.FC = (props) => {
)
};
-export default Calendar;
\ No newline at end of file
+export default Calendar;
diff --git a/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss b/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss
deleted file mode 100644
index 258e67fe..00000000
--- a/src/views/components/common/CalendarGridCell/CalendarGridCell.module.scss
+++ /dev/null
@@ -1,18 +0,0 @@
-.calendarCell {
- display: flex;
- width: 213.8px;
- height: 44.769px;
- min-width: 45px;
- min-height: 40px;
- flex-direction: column;
- justify-content: center;
- align-items: flex-start;
- border: 1px solid #DADCE0;
-}
-
-.hourLine {
- width: 213.8px;
- height: 1px;
- border-radius: var(--border-radius-none, 0px);
- background: rgba(218, 220, 224, 0.25);
-}
\ No newline at end of file
diff --git a/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx b/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx
index cdc2c1b1..ec678306 100644
--- a/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx
+++ b/src/views/components/common/CalendarGridCell/CalendarGridCell.tsx
@@ -1,5 +1,4 @@
import React from 'react';
-import styles from './CalendarGridCell.module.scss';
/**
* Component representing each 1 hour time block of a calendar
@@ -7,10 +6,8 @@ import styles from './CalendarGridCell.module.scss';
*/
const CalendarCell: React.FC = (props) => {
return (
-