mirror of
https://github.com/orangecoding/fredy.git
synced 2026-06-16 12:31:07 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f66ceccbb4 | ||
|
|
a3db725af6 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fredy",
|
"name": "fredy",
|
||||||
"version": "19.3.3",
|
"version": "19.3.4",
|
||||||
"description": "[F]ind [R]eal [E]states [d]amn eas[y].",
|
"description": "[F]ind [R]eal [E]states [d]amn eas[y].",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
|
|||||||
@@ -324,7 +324,12 @@ export default function ListingDetail() {
|
|||||||
<Row>
|
<Row>
|
||||||
<Col span={24} lg={12}>
|
<Col span={24} lg={12}>
|
||||||
<div className="listing-detail__image-container">
|
<div className="listing-detail__image-container">
|
||||||
<Image src={listing.image_url || no_image} fallback={no_image} preview={true} />
|
<Image
|
||||||
|
src={listing.image_url}
|
||||||
|
fallback={no_image}
|
||||||
|
style={{ width: '100%', height: '100%' }}
|
||||||
|
preview={true}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={24} lg={12}>
|
<Col span={24} lg={12}>
|
||||||
|
|||||||
@@ -378,7 +378,10 @@ export default function MapView() {
|
|||||||
|
|
||||||
const popupContent = `
|
const popupContent = `
|
||||||
<div class="map-popup-content">
|
<div class="map-popup-content">
|
||||||
<img src="${listing.image_url || no_image}" alt="${listing.title}" />
|
<img
|
||||||
|
src="${listing.image_url}"
|
||||||
|
onerror="this.onerror=null;this.src='${no_image}'"
|
||||||
|
/>
|
||||||
<h4>${listing.title}</h4>
|
<h4>${listing.title}</h4>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<span><strong>Price:</strong> ${listing.price ? listing.price + ' €' : 'N/A'}</span>
|
<span><strong>Price:</strong> ${listing.price ? listing.price + ' €' : 'N/A'}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user