nestiq-component-library 1.1.98 → 1.1.100

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.
@@ -61,7 +61,7 @@ export default function PropertyCard(props: PopupProps) {
61
61
  const pictureUrls =
62
62
  props.property?.pictures?.length > 0
63
63
  ? props.property.pictures.map(
64
- (picture) => `${props.baseUrl}${picture.contentUrl}`,
64
+ (picture) => `${props.baseUrl}${picture.contentUrl}`
65
65
  )
66
66
  : [noImageIcon];
67
67
 
@@ -109,7 +109,10 @@ export default function PropertyCard(props: PopupProps) {
109
109
 
110
110
  return (
111
111
  <div className="d-flex flex-row property-card">
112
- <div className="d-flex flex-column col-md-6" onClick={props.onClick}>
112
+ <div
113
+ className="d-flex flex-column col-md-6 col-lg-6"
114
+ onClick={props.onClick}
115
+ >
113
116
  <div
114
117
  key={props.property.id}
115
118
  className="card-bod position-relative cardStyles h-100 w-100"
@@ -117,12 +120,13 @@ export default function PropertyCard(props: PopupProps) {
117
120
  backgroundImage: `url(${mainImage || pictureUrls[0]})`,
118
121
  backgroundSize: "cover",
119
122
  backgroundPosition: "center",
123
+ maxWidth: "640",
120
124
  }}
121
125
  >
122
126
  <div className="d-flex flex-row justify-content-between gap-5">
123
127
  <div
124
128
  className="d-flex ms-2"
125
- style={{ position: "absolute", left: "0" }}
129
+ style={{ position: "absolute", marginLeft: "16px" }}
126
130
  onClick={() => handleArrowClickInMainImage("left")}
127
131
  role="button"
128
132
  >
@@ -136,7 +140,7 @@ export default function PropertyCard(props: PopupProps) {
136
140
  >
137
141
  <img
138
142
  src={arrowRight}
139
- style={{ position: "absolute", right: "5px" }}
143
+ style={{ position: "absolute", right: "16px" }}
140
144
  />
141
145
  </div>
142
146
  </div>
@@ -158,22 +162,41 @@ export default function PropertyCard(props: PopupProps) {
158
162
  </div>
159
163
  </div>
160
164
  </div>
161
- <div className="d-flex flex-column listing-compacts col-md-6">
162
- <div className="d-flex align-self-end justify-content-end gap-2">
163
- <img
164
- src={shareIcon}
165
- alt="Location Icon"
166
- className="w-50 "
167
- onClick={handleSharePopUp}
168
- />
169
- <img src={moreIcon} alt="Location Icon" className="" />
170
- </div>
171
- <div>
172
- <span className="propertyTitle align-items-start ">
165
+ <div className="d-flex flex-column listing-compact col-6">
166
+ <div className="d-flex flex-row justify-content-between gap-2">
167
+ <span
168
+ className="propertyTitle align-items-start "
169
+ style={{
170
+ paddingLeft: "32px",
171
+ paddingTop: "32px",
172
+ }}
173
+ >
173
174
  {props.property.expose?.title}
174
175
  </span>
176
+ <div
177
+ className="d-flex gap-2"
178
+ style={{
179
+ paddingRight: "32px",
180
+ paddingTop: "21px",
181
+ paddingLeft: "76px",
182
+ }}
183
+ >
184
+ <img
185
+ src={shareIcon}
186
+ alt="Location Icon"
187
+ className=" "
188
+ onClick={handleSharePopUp}
189
+ style={{ maxHeight: "24px", maxWidth: "24px" }}
190
+ />
191
+ <img
192
+ src={moreIcon}
193
+ alt="Location Icon"
194
+ className=""
195
+ style={{ maxHeight: "24px", maxWidth: "24px" }}
196
+ />
197
+ </div>
175
198
  </div>
176
- <div>
199
+ <div style={{ paddingLeft: "32px", paddingRight: "32px" }}>
177
200
  {" "}
178
201
  <div className="d-flex ">
179
202
  <img src={locationIcon} alt="Location Icon" className="Vector" />
@@ -182,8 +205,11 @@ export default function PropertyCard(props: PopupProps) {
182
205
  </span>
183
206
  </div>
184
207
  </div>
185
- <div className="d-flex flex-row gap-3 col-6 col-lg-8 justify-content-between ">
186
- <span className="value col-lg-3 col-md-4 col-sm-6 ">
208
+ <div
209
+ className="d-flex flex-row gap-3 col-6 col-lg-8 justify-content-between "
210
+ style={{ paddingLeft: "32px", paddingRight: "32px" }}
211
+ >
212
+ <span className="value col-lg-4 col-md-4 col-sm-6 ">
187
213
  {formatPrice(props.property?.evaluation?.askingPrice ?? 0)} €
188
214
  <br />
189
215
  <span className="details">Kaufpreis</span>
@@ -203,7 +229,7 @@ export default function PropertyCard(props: PopupProps) {
203
229
  <span>Bad</span>
204
230
  </span>
205
231
  </span>
206
- <span className="text-dark value col-lg-4 col-md-5 col-sm-7 ">
232
+ <span className="text-dark value col-lg-5 col-md-5 col-sm-7 ">
207
233
  {props.property.usableArea} m²
208
234
  <br />
209
235
  <span className="details">
@@ -211,7 +237,10 @@ export default function PropertyCard(props: PopupProps) {
211
237
  </span>
212
238
  </span>
213
239
  </div>
214
- <div className="labelTopClass d-flex top-0 start-0 col-sm-5 col-lg-8 ">
240
+ <div
241
+ className="labelTopClass d-flex top-0 start-0 col-sm-5 col-lg-8 "
242
+ style={{ paddingLeft: "32px", paddingRight: "32px" }}
243
+ >
215
244
  <div className=" align-items-center d-flex flex-row gap-3">
216
245
  {props.property.historicalProtection && (
217
246
  <label className="thirdLabels justify-content-center align-items-center">
@@ -241,21 +270,30 @@ export default function PropertyCard(props: PopupProps) {
241
270
  )}
242
271
  </div>
243
272
  </div>
244
- <div className="Frame-136 d-flex flex-row">
245
- <div className="d-flex flex-column flex-lg-row col-4 justify-content-between ">
246
- <img src={immooly} alt="Logo" className="immooly" />
247
- </div>
248
- <div className="d-flex flex-column flex-lg-row justify-content-between">
249
- <span className="d-flex col-5">
250
- Herr Florian Gauss Immogart UGh
251
- </span>
252
- <button
253
- className="kontactbutton text-light "
254
- onClick={handleMessagPopUp}
255
- role="button"
256
- >
257
- <span className="kontact-button-text">Kontakt aufnehmen </span>
258
- </button>
273
+ <div
274
+ className=""
275
+ style={{
276
+ paddingLeft: "32px",
277
+ paddingRight: "32px",
278
+ paddingTop: "32px",
279
+ }}
280
+ >
281
+ <div className="Frame-136 d-flex flex-row">
282
+ <div className="d-flex flex-column flex-lg-row col-4 justify-content-between ">
283
+ <img src={immooly} alt="Logo" className="immooly" />
284
+ </div>
285
+ <div className="d-flex flex-column flex-lg-row justify-content-between">
286
+ <span className="d-flex col-5">
287
+ Herr Florian Gauss Immogart UGh
288
+ </span>
289
+ <button
290
+ className="kontactbutton text-light "
291
+ onClick={handleMessagPopUp}
292
+ role="button"
293
+ >
294
+ <span className="kontact-button-text">Kontakt aufnehmen </span>
295
+ </button>
296
+ </div>
259
297
  </div>
260
298
  </div>
261
299
  </div>