diff --git a/www/app/[roomName]/MeetingSelection.tsx b/www/app/[roomName]/MeetingSelection.tsx index aac52a8f..8056fd6c 100644 --- a/www/app/[roomName]/MeetingSelection.tsx +++ b/www/app/[roomName]/MeetingSelection.tsx @@ -182,10 +182,10 @@ export default function MeetingSelection({ w="full" maxW="800px" mx="auto" - px={6} - py={8} + px={{ base: 4, md: 6 }} + py={{ base: 4, md: 8 }} flex="1" - gap={6} + gap={{ base: 4, md: 6 }} > {/* Current Ongoing Meetings - BIG DISPLAY */} {currentMeetings.length > 0 ? ( @@ -196,17 +196,26 @@ export default function MeetingSelection({ width="100%" bg="gray.50" borderRadius="xl" - p={8} + p={{ base: 4, md: 8 }} > - - + + - + {(meeting.calendar_metadata as any)?.title || "Live Meeting"} @@ -214,26 +223,40 @@ export default function MeetingSelection({ {isOwner && (meeting.calendar_metadata as any)?.description && ( - + {(meeting.calendar_metadata as any).description} )} - + - + - {meeting.num_clients} participants + {meeting.num_clients || 0} participant + {meeting.num_clients !== 1 ? "s" : ""} - + - Started{" "} {formatStartedAgo(new Date(meeting.start_date))} - + {isOwner && (meeting.calendar_metadata as any)?.attendees && ( @@ -269,16 +292,21 @@ export default function MeetingSelection({ )} - + {isOwner && ( @@ -294,7 +322,7 @@ export default function MeetingSelection({ )} - + ))} @@ -317,12 +345,17 @@ export default function MeetingSelection({ width="100%" bg="orange.50" borderRadius="xl" - p={8} + p={{ base: 4, md: 8 }} border="2px solid" borderColor="orange.200" > - - + + @@ -341,20 +374,34 @@ export default function MeetingSelection({ {isOwner && (meeting.calendar_metadata as any)?.description && ( - + {(meeting.calendar_metadata as any).description} )} - - + + Starts in {minutesUntilStart} minute {minutesUntilStart !== 1 ? "s" : ""} {formatDateTime(new Date(meeting.start_date))} - + {isOwner && (meeting.calendar_metadata as any)?.attendees && ( @@ -390,16 +437,21 @@ export default function MeetingSelection({ )} - + {isOwner && ( @@ -415,7 +467,7 @@ export default function MeetingSelection({ )} - + ); })} @@ -428,7 +480,11 @@ export default function MeetingSelection({ Starting Soon - + {upcomingMeetings.map((meeting) => { const now = new Date(); const startTime = new Date(meeting.start_date); @@ -444,8 +500,8 @@ export default function MeetingSelection({ borderColor="orange.200" borderRadius="lg" p={4} - minW="300px" - maxW="400px" + minW={{ base: "100%", sm: "300px" }} + maxW={{ base: "100%", sm: "400px" }} _hover={{ borderColor: "orange.300", bg: "orange.50" }} transition="all 0.2s" > @@ -479,7 +535,7 @@ export default function MeetingSelection({ ); })} - + )}