From d52d849a237eb99e4b8f5f75573b6d0e5a920ef3 Mon Sep 17 00:00:00 2001 From: Alex Mickelson Date: Fri, 1 Nov 2024 20:26:26 -0600 Subject: [PATCH] mobile updates --- nextjs/src/app/course/[courseName]/calendar/CalendarWeek.tsx | 2 +- .../src/app/course/[courseName]/calendar/CourseCalendar.tsx | 4 ++-- nextjs/src/app/course/[courseName]/page.tsx | 4 ++-- nextjs/src/app/layout.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nextjs/src/app/course/[courseName]/calendar/CalendarWeek.tsx b/nextjs/src/app/course/[courseName]/calendar/CalendarWeek.tsx index bf68b4f..bd471cb 100644 --- a/nextjs/src/app/course/[courseName]/calendar/CalendarWeek.tsx +++ b/nextjs/src/app/course/[courseName]/calendar/CalendarWeek.tsx @@ -23,7 +23,7 @@ export function CalendarWeek({ const weekNumber = getWeekNumber(startDate, firstDateString); return (
-
+
{weekNumber.toString().padStart(2, "0")}
diff --git a/nextjs/src/app/course/[courseName]/calendar/CourseCalendar.tsx b/nextjs/src/app/course/[courseName]/calendar/CourseCalendar.tsx index e434b0f..5af8753 100644 --- a/nextjs/src/app/course/[courseName]/calendar/CourseCalendar.tsx +++ b/nextjs/src/app/course/[courseName]/calendar/CourseCalendar.tsx @@ -31,10 +31,10 @@ export default function CourseCalendar() { border-gray-900 rounded-lg bg-slate-950 - p-1 + sm:p-1 " > -
+
{months.map((month) => ( diff --git a/nextjs/src/app/course/[courseName]/page.tsx b/nextjs/src/app/course/[courseName]/page.tsx index c50b3ba..79d6fe0 100644 --- a/nextjs/src/app/course/[courseName]/page.tsx +++ b/nextjs/src/app/course/[courseName]/page.tsx @@ -13,12 +13,12 @@ export default async function CoursePage({}: {}) {
-
+
-
+
diff --git a/nextjs/src/app/layout.tsx b/nextjs/src/app/layout.tsx index af35e14..e405f35 100644 --- a/nextjs/src/app/layout.tsx +++ b/nextjs/src/app/layout.tsx @@ -27,7 +27,7 @@ export default async function RootLayout({ -
+