From 829491cc307cc4fc67c51beb2372ef9735ce8417 Mon Sep 17 00:00:00 2001 From: Claw AI Date: Sun, 29 Mar 2026 21:38:02 +0000 Subject: [PATCH] Calendar fully blocked for unauthenticated users - Overlay blocks entire calendar with 'login to view dates' message - Date cells disabled when not authenticated - Clicking overlay or any disabled date shows login/register dialog --- app/property/[id]/page.js | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/app/property/[id]/page.js b/app/property/[id]/page.js index 5dfdeee..5cd5924 100644 --- a/app/property/[id]/page.js +++ b/app/property/[id]/page.js @@ -609,7 +609,18 @@ export default function PropertyDetailsPage() { })()} {/* Calendar */} -
+
+ {!AuthService.isAuthenticated() && ( +
setShowLoginDialog(true)} + className="absolute inset-0 z-10 flex items-center justify-center bg-white/80 backdrop-blur-sm rounded-xl cursor-pointer" + > +
+ +

سجّل الدخول لعرض التواريخ المتاحة

+
+
+ )}