make property image clickable

This commit is contained in:
Viktor Barzin 2025-07-27 11:11:04 +00:00
parent 42ed20b833
commit 4fa09e31c8
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863

View file

@ -256,7 +256,9 @@ export function Map(
const lastSeenDays = Math.round((new Date() - new Date(lastSeenStr)) / (1000 * 60 * 60 * 24));
return <div key={property.properties.url} style={{ display: 'flex', flexWrap: 'wrap' }}>
<div className="propertyListingPopupItem" style={{ width: '100%' }}>
<img src={property.properties.photo_thumbnail} />
<a href={property.properties.url} target="_blank">
<img src={property.properties.photo_thumbnail} />
</a>
</div>
<div className="propertyListingPopupItem">
<strong>Available from:</strong>