diff --git a/app/property/[id]/PropertyDetail.js b/app/property/[id]/PropertyDetail.js index 2366bec..5c65812 100644 --- a/app/property/[id]/PropertyDetail.js +++ b/app/property/[id]/PropertyDetail.js @@ -42,7 +42,8 @@ import { Printer, Download, ArrowLeft, - LogIn + LogIn, + Copy } from 'lucide-react'; import { getRentProperty, getSaleProperty, bookReservation, checkAvailability, getAvailableDateRanges } from '../../utils/api'; import AuthService from '../../services/AuthService'; @@ -138,6 +139,7 @@ export default function PropertyDetailsPage() { const params = useParams(); const [currentImage, setCurrentImage] = useState(0); const [showContact, setShowContact] = useState(false); + const [showShareMenu, setShowShareMenu] = useState(false); const [bookingDates, setBookingDates] = useState({ start: '', end: '' }); const [selectedDuration, setSelectedDuration] = useState(1); const [property, setProperty] = useState(null); @@ -394,29 +396,121 @@ export default function PropertyDetailsPage() { - + {/* Share Dropdown */} +
+ + + {showShareMenu && ( + <> +
setShowShareMenu(false)} /> +
+
+ {/* Facebook */} + + + {/* WhatsApp */} + + + {/* Telegram */} + + + {/* Instagram (copy link) */} + + + {/* Copy Link */} + +
+
+ + )} +