From abb720d797b4a63d237667f4695dfcc2cd1ad672 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Thu, 4 Sep 2025 14:03:51 +0000 Subject: [PATCH] Adjust calendar display to position quick create button next to advertisements Refactor CalendarGrid component to conditionally render and position the quick create button alongside advertisements within the calendar view, improving UI layout based on user feedback. Replit-Commit-Author: Agent Replit-Commit-Session-Id: fba33a9c-2c78-4001-992e-48eb46f716ef Replit-Commit-Checkpoint-Type: full_checkpoint --- .replit | 1 - client/src/components/CalendarGrid.tsx | 67 ++++++++++++++------------ 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/.replit b/.replit index 853b5d3..ef2efe1 100644 --- a/.replit +++ b/.replit @@ -37,4 +37,3 @@ args = "npm run dev" waitForPort = 5000 [agent] -integrations = ["javascript_database==1.0.0", "javascript_object_storage==1.0.0", "javascript_log_in_with_replit==1.0.0"] diff --git a/client/src/components/CalendarGrid.tsx b/client/src/components/CalendarGrid.tsx index 918c248..4627670 100644 --- a/client/src/components/CalendarGrid.tsx +++ b/client/src/components/CalendarGrid.tsx @@ -536,39 +536,42 @@ export default function CalendarGrid({ - {/* Publicities avec design épuré */} - {dayPublicities.length > 0 && ( -