From 5212784e8223956f40a876f848e9806d1b943ceb Mon Sep 17 00:00:00 2001 From: Vinson Zheng Date: Sat, 17 Feb 2024 15:44:12 -0600 Subject: [PATCH 01/13] CalendarHeader alignment progress --- .../common/CalendarHeader/CalenderHeader.tsx | 45 +++++++------------ 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index b5d07274f..fc0d0e715 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -12,40 +12,29 @@ import ScheduleTotalHoursAndCourses from '../ScheduleTotalHoursAndCourses/Schedu import CourseStatus from '../CourseStatus/CourseStatus'; const CalendarHeader = () => ( -
-
- - - - - - -
+
+ + DATA UPDATED ON: 12:00 AM 02/01/2024 +
+
+ + + +
+
-
); From d5e4097c067650b7a9c64bbef1020717b00b8f75 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 17 Feb 2024 15:57:53 -0600 Subject: [PATCH 02/13] Boom --- .vscode/settings.json | 9 +++++++++ .../components/common/CalendarHeader/CalenderHeader.tsx | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a89cbd32c..9f61663d7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -37,4 +37,13 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "typescript.tsdk": "node_modules/typescript/lib", + "tailwindCSS.experimental.configFile": null, + "tailwindCSS.includeLanguages": { + "html": "html", + "javascript": "javascript", + "css": "css" + }, + "editor.quickSuggestions": { + "strings": true + } } diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index fc0d0e715..bd649f5db 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -15,16 +15,16 @@ const CalendarHeader = () => (
-
{/* Second divider */} +
{/* Second divider */}
diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index fc0d0e715..d0c794110 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -12,7 +12,7 @@ import ScheduleTotalHoursAndCourses from '../ScheduleTotalHoursAndCourses/Schedu import CourseStatus from '../CourseStatus/CourseStatus'; const CalendarHeader = () => ( -
+
-
DATA UPDATED ON: 12:00 AM 02/01/2024
-
- - - -
-
-
-
); From 9bc8ee20642862adbd9495896cbff5f4a94de085 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 17 Feb 2024 16:12:41 -0600 Subject: [PATCH 06/13] Gap fix --- src/views/components/common/CalendarHeader/CalenderHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index c8515454c..26d752ef8 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -13,9 +13,9 @@ import CourseStatus from '../CourseStatus/CourseStatus'; const CalendarHeader = () => (
-
+
-
-
- - DATA UPDATED ON: 12:00 AM 02/01/2024 -
-
-
- - - +
+ + DATA UPDATED ON: 12:00 AM 02/01/2024
-
diff --git a/src/views/components/common/ScheduleTotalHoursAndCourses/ScheduleTotalHoursAndCourses.tsx b/src/views/components/common/ScheduleTotalHoursAndCourses/ScheduleTotalHoursAndCourses.tsx index fd91d1f78..11e6a5b43 100644 --- a/src/views/components/common/ScheduleTotalHoursAndCourses/ScheduleTotalHoursAndCourses.tsx +++ b/src/views/components/common/ScheduleTotalHoursAndCourses/ScheduleTotalHoursAndCourses.tsx @@ -21,7 +21,7 @@ export default function ScheduleTotalHoursAndCourses({ totalCourses, }: ScheduleTotalHoursAndCoursesProps): JSX.Element { return ( -
+
{`${scheduleName}: `} From 50de4171784374eb8951daf282a1b126728d712a Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Sat, 17 Feb 2024 16:25:18 -0600 Subject: [PATCH 08/13] Gaps --- .../components/common/CalendarHeader/CalenderHeader.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index 20245eb1f..743b19249 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -13,12 +13,15 @@ import CourseStatus from '../CourseStatus/CourseStatus'; const CalendarHeader = () => (
-
-
+
+
From 8bb33558fa825db8aeed6af2c7cf0e6bcd0a251a Mon Sep 17 00:00:00 2001 From: Vinson Zheng Date: Sat, 17 Feb 2024 16:27:13 -0600 Subject: [PATCH 09/13] Finished alignment of CourseStatus and Buttons --- src/views/components/common/CalendarHeader/CalenderHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index 20245eb1f..090196f4e 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -13,7 +13,7 @@ import CourseStatus from '../CourseStatus/CourseStatus'; const CalendarHeader = () => (
-
+
-
-
- - DATA UPDATED ON: 12:00 AM 02/01/2024 +
+ + DATA UPDATED ON: 12:00 AM 02/01/2024 +
From 753ffcaf2ccebfbc1dab301a517398f665ebfa84 Mon Sep 17 00:00:00 2001 From: Vinson Zheng Date: Sat, 17 Feb 2024 16:47:42 -0600 Subject: [PATCH 11/13] ESLint auto format --- src/views/components/common/CalendarHeader/CalenderHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/components/common/CalendarHeader/CalenderHeader.tsx b/src/views/components/common/CalendarHeader/CalenderHeader.tsx index f2cacb3e7..27d651727 100644 --- a/src/views/components/common/CalendarHeader/CalenderHeader.tsx +++ b/src/views/components/common/CalendarHeader/CalenderHeader.tsx @@ -13,12 +13,12 @@ import CourseStatus from '../CourseStatus/CourseStatus'; const CalendarHeader = () => (
-
+