make property image clickable
This commit is contained in:
parent
42ed20b833
commit
4fa09e31c8
1 changed files with 3 additions and 1 deletions
|
|
@ -256,7 +256,9 @@ export function Map(
|
||||||
const lastSeenDays = Math.round((new Date() - new Date(lastSeenStr)) / (1000 * 60 * 60 * 24));
|
const lastSeenDays = Math.round((new Date() - new Date(lastSeenStr)) / (1000 * 60 * 60 * 24));
|
||||||
return <div key={property.properties.url} style={{ display: 'flex', flexWrap: 'wrap' }}>
|
return <div key={property.properties.url} style={{ display: 'flex', flexWrap: 'wrap' }}>
|
||||||
<div className="propertyListingPopupItem" style={{ width: '100%' }}>
|
<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>
|
||||||
<div className="propertyListingPopupItem">
|
<div className="propertyListingPopupItem">
|
||||||
<strong>Available from:</strong>
|
<strong>Available from:</strong>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue