From d3a5b4189e7783dd24ff2ba2920c5b644a39fe19 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:35:25 +0100 Subject: [PATCH] feat: enhance event modal for desktop and mobile views --- app/[locale]/calendar/page.tsx | 22 +++++++++++++++++++++- components/calendar/event-modal.tsx | 24 ++++++++++++------------ 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/app/[locale]/calendar/page.tsx b/app/[locale]/calendar/page.tsx index ac34ae1a..e446d29c 100644 --- a/app/[locale]/calendar/page.tsx +++ b/app/[locale]/calendar/page.tsx @@ -683,6 +683,25 @@ export default function CalendarPage() { {renderView()} + {/* Desktop event panel */} + {!isMobile && showEventModal && ( +
+ { setShowEventModal(false); setEditEvent(null); }} + currentUserEmails={currentUserEmails} + isMobile={false} + /> +
+ )} + {/* Floating Create Event Button (mobile) */} {isMobile && ( +
@@ -431,8 +432,9 @@ export function EventModal({
)}
+
-
+
{t("participants.rsvp_label")}
@@ -472,16 +474,13 @@ export function EventModal({
-
); } return ( -
-