diff --git a/attached_assets/{9DE8AAD5-286D-4874-B6AF-41361104A016}_1755521793622.png b/attached_assets/{9DE8AAD5-286D-4874-B6AF-41361104A016}_1755521793622.png new file mode 100644 index 0000000..7a30741 Binary files /dev/null and b/attached_assets/{9DE8AAD5-286D-4874-B6AF-41361104A016}_1755521793622.png differ diff --git a/client/src/components/CalendarGrid.tsx b/client/src/components/CalendarGrid.tsx index 64ea724..1b6e947 100644 --- a/client/src/components/CalendarGrid.tsx +++ b/client/src/components/CalendarGrid.tsx @@ -378,6 +378,7 @@ export default function CalendarGrid({ {paddedDays.map((date, index) => { const isCurrentMonth = isSameMonth(date, currentDate); const isTodayDate = isToday(date); + const isWeekend = date.getDay() === 0 || date.getDay() === 6; // Dimanche (0) ou Samedi (6) const { orders: dayOrders, deliveries: dayDeliveries } = getItemsForDate(date); const dayPublicities = getPublicitiesForDate(date); @@ -387,6 +388,8 @@ export default function CalendarGrid({ className={`h-32 border-r border-b border-gray-100 relative group cursor-pointer transition-colors ${ isTodayDate ? "bg-blue-50 hover:bg-blue-100 ring-1 ring-blue-200" + : isWeekend && isCurrentMonth + ? "bg-gray-100 hover:bg-gray-200" : isCurrentMonth ? "bg-white hover:bg-gray-50" : "bg-gray-50"