From 6a131e7f9fef7cba7f95bf1b92d0f756821bd82e Mon Sep 17 00:00:00 2001 From: Joshua Silva <72359611+joshuasilva414@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:53:36 -0500 Subject: [PATCH] optimize mobile (#34) --- apps/web/src/app/dash/schedule/page.tsx | 4 +++- apps/web/src/app/dash/schedule/schedule-timeline.tsx | 11 +++++++---- apps/web/src/app/sign-in/[[...sign-in]]/page.tsx | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/apps/web/src/app/dash/schedule/page.tsx b/apps/web/src/app/dash/schedule/page.tsx index b2b059c3..7efad155 100644 --- a/apps/web/src/app/dash/schedule/page.tsx +++ b/apps/web/src/app/dash/schedule/page.tsx @@ -12,7 +12,9 @@ export default async function Page() { const userTimeZone = getClientTimeZone(userTimeZoneHeaderKey); return ( <> -

Schedule

+

+ Schedule +

}> {/* */} diff --git a/apps/web/src/app/dash/schedule/schedule-timeline.tsx b/apps/web/src/app/dash/schedule/schedule-timeline.tsx index 6737ad25..96e53781 100644 --- a/apps/web/src/app/dash/schedule/schedule-timeline.tsx +++ b/apps/web/src/app/dash/schedule/schedule-timeline.tsx @@ -39,13 +39,16 @@ export default function ScheduleTimeline({ timezone, }: ScheduleTimelineProps) { return ( -
+
{Array.from(splitByDay(schedule).entries()).map( ([dayName, arr]): ReactNode => ( <> - + @@ -102,7 +105,7 @@ export function EventRow({ event, userTimeZone }: EventRowProps) { return ( - +
-

+

{dayName}

{`${startTimeFormatted} - ${endTimeFormatted}`}{`${startTimeFormatted} - ${endTimeFormatted}`}