From bffc933f2e1d5e6ec0edf52cc43ae96d7a4a6257 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Sun, 27 Jul 2025 13:57:00 +0700 Subject: [PATCH] feat: dont limit slots in day view --- .../src/components/launches/calendar.tsx | 124 +++++++++--------- 1 file changed, 59 insertions(+), 65 deletions(-) diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsx index 8149c3f9..62183d14 100644 --- a/apps/frontend/src/components/launches/calendar.tsx +++ b/apps/frontend/src/components/launches/calendar.tsx @@ -723,80 +723,74 @@ export const CalendarColumn: FC<{ )} - {(display === 'day' - ? !isBeforeNow && postList.length === 0 - : !isBeforeNow) && ( +
-
- {display !== 'day' && ( + {display !== 'day' && ( +
+ className={`group-hover:before:content-["+"] pb-[5px] flex justify-center items-center rounded-[8px] transition-all group-hover:bg-btnPrimary w-full h-full max-w-[40px] max-h-[40px]`} + /> +
+ )} + {display === 'day' && ( +
+ {integrations.map((selectedIntegrations) => (
-
- )} - {display === 'day' && ( -
- {integrations.map((selectedIntegrations) => ( + className="relative" + key={selectedIntegrations.identifier} + >
-
- {selectedIntegrations.identifier} + {selectedIntegrations.identifier === 'youtube' ? ( + - {selectedIntegrations.identifier === 'youtube' ? ( - - ) : ( - {selectedIntegrations.identifier} - )} -
+ ) : ( + {selectedIntegrations.identifier} + )}
- ))} -
- )} -
+
+ ))} +
+ )}
- )} +
);