nestiq-component-library 1.1.102 → 1.1.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,7 @@ import immooly from "../../assets/images/imooly.svg";
18
18
  interface PopupProps {
19
19
  property: {
20
20
  city: string;
21
+ propertyArea: string;
21
22
  historicalProtection: boolean;
22
23
  basement: boolean;
23
24
  balcony: boolean;
@@ -148,15 +149,14 @@ export default function PropertyCard(props: PopupProps) {
148
149
  className="d-flex flex-row align-self-end justify-item-start justify-content-between align-item-start gap-1 mb-2 ms-4"
149
150
  style={{ position: "absolute", left: "0" }}
150
151
  >
151
- <div
152
- className="cardTag"
153
- style={{ marginBottom: "16px", marginLeft: "16px" }}
154
- >{`${currentImageIndex + 1}/${pictureUrls.length}`}</div>
152
+ <div className="cardTag" style={{ marginBottom: "16px" }}>{`${
153
+ currentImageIndex + 1
154
+ }/${pictureUrls.length}`}</div>
155
155
  <div
156
156
  className="Grundriss kontact-button-text ms-2 "
157
157
  role="button"
158
158
  onClick={floorPlanOnClick}
159
- style={{ marginBottom: "16px"}}
159
+ style={{ marginBottom: "16px" }}
160
160
  >
161
161
  <img src={iconLayers} className="" style={{ width: "18px" }} />{" "}
162
162
  Grundriss
@@ -208,34 +208,34 @@ export default function PropertyCard(props: PopupProps) {
208
208
  </div>
209
209
  </div>
210
210
  <div
211
- className="d-flex flex-row gap-3 col-6 col-lg-8 justify-content-between "
211
+ className="d-flex flex-row gap-2 col-6 col-lg-8 justify-content-between "
212
212
  style={{ paddingLeft: "32px", paddingRight: "32px" }}
213
213
  >
214
- <span className="value col-lg-4 col-md-4 col-sm-6 ">
214
+ <span className="priceValue col-lg-4 col-md-4 col-sm-6 ">
215
215
  {formatPrice(props.property?.evaluation?.askingPrice ?? 0)} €
216
216
  <br />
217
217
  <span className="details">Kaufpreis</span>
218
218
  </span>
219
- <span className="text-dark value col-lg-4 col-md-4 col-sm-6 text-truncate ">
220
- {+props.property.rooms}
219
+ <span className="text-dark value col-lg-5 col-md-5 col-sm-7 ">
220
+ {props.property.constructedArea}
221
221
  <br />
222
222
  <span className="details">
223
- {" "}
224
- <span>Zimmer</span>
223
+ <span>Wohnfläche</span>
225
224
  </span>
226
225
  </span>
227
- <span className="text-dark value col-lg-3 col-md-3 col-sm-4 text-truncate ">
228
- {+props.property.bathrooms}
226
+ <span className="text-dark value col-lg-4 col-md-3 col-sm-6 text-truncate ">
227
+ {+props.property?.rooms}
229
228
  <br />
230
229
  <span className="details">
231
- <span>Bad</span>
230
+ {" "}
231
+ <span>Zimmer</span>
232
232
  </span>
233
233
  </span>
234
- <span className="text-dark value col-lg-5 col-md-5 col-sm-7 ">
235
- {props.property.usableArea}
234
+ <span className="text-dark value col-lg-3 col-md-3 col-sm-4 text-truncate ">
235
+ {+props.property.propertyArea}
236
236
  <br />
237
237
  <span className="details">
238
- <span>Wohnfläche</span>
238
+ <span>Grundstück</span>
239
239
  </span>
240
240
  </span>
241
241
  </div>