nestiq-component-library 1.1.166 → 1.1.168

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.
@@ -1,14 +1,14 @@
1
1
  .property-card {
2
2
  width: 100%;
3
- max-width: 1280px;
3
+ /* max-width: 1280px; */
4
4
  height: auto;
5
5
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
6
6
  border-radius: 32px;
7
7
 
8
- @media (min-width: 1500px) {
8
+ /* @media (min-width: 1500px) {
9
9
  max-width: 1280px;
10
10
  margin: 0 auto;
11
- }
11
+ } */
12
12
  }
13
13
 
14
14
  .priceValue,
@@ -21,13 +21,38 @@
21
21
  white-space: nowrap;
22
22
  }
23
23
 
24
- .listing-compact {
25
- max-width: 750px;
26
- gap: 32px;
24
+ .listing-compact_c {
25
+ /* max-width: 750px; */
26
+ gap: 8px;
27
+ padding: 24px;
27
28
  border-radius: 0 32px 32px 0;
28
29
  background-color: rgba(58, 58, 58, 0.068);
29
30
  }
30
31
 
32
+ .wrapperCompanySec {
33
+ height: 119px;
34
+ align-self: stretch;
35
+ flex-grow: 0;
36
+ display: flex;
37
+ flex-direction: row;
38
+ justify-content: flex-start;
39
+ align-items: center;
40
+ gap: 16px;
41
+ padding: 10px 16px;
42
+ border-radius: 16px;
43
+ border: solid 1px rgba(0, 0, 0, 0.1);
44
+ background-color: #fff;
45
+ }
46
+
47
+ .kontactbutton_cc {
48
+ width: 180px;
49
+ height: 43px;
50
+ gap: 10px;
51
+ border-radius: 16px;
52
+ box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
53
+ background: linear-gradient(to top, #000, #666);
54
+ }
55
+
31
56
  .cc-height {
32
57
  height: 460px;
33
58
  }
@@ -40,6 +40,7 @@ interface PopupProps {
40
40
  selectedFloorPlan?: string;
41
41
  pictures: { contentUrl: string; pictureType: { id: number } }[];
42
42
  };
43
+ userData?: { firstname: string; lastname: string; company: string };
43
44
  Impliment: any;
44
45
  baseUrl: string;
45
46
  themesList: any;
@@ -193,102 +194,64 @@ export default function PropertyCard(props: PopupProps) {
193
194
  </div>
194
195
  </div>
195
196
  <div
196
- className={`listing-compact d-flex align-self-end flex-column col-6 ${
197
+ className={`listing-compact_c justify-content-between d-flex flex-column col-6 ${
197
198
  props.Impliment ? "cc-height" : "listing-height"
198
199
  }`}
199
200
  >
200
- <div
201
- className="d-flex flex-column gap-3 mb-4 justify-content-between"
202
- style={{ height: "104px" }}
203
- >
204
- <div className="d-flex flex-row justify-content-between gap-2">
205
- <span
206
- className="propertyTitle align-items-start "
207
- style={{
208
- paddingLeft: "32px",
209
- paddingTop: "32px",
210
- }}
211
- onClick={props.onClick}
212
- role="button"
213
- >
214
- {props.property.expose?.title}
215
- {/*Einziehen ohne einen Pinselstrich - Kernsanierte Eigentumswohnung*/}
216
- {/*in top Lage*/}
217
- </span>
218
- <div
219
- className="d-flex gap-2"
220
- style={{
221
- paddingRight: "32px",
222
- paddingTop: "21px",
223
- paddingLeft: "10px",
224
- }}
225
- >
226
- <img
227
- src={shareIcon}
228
- alt="Share Icon"
229
- className=" "
230
- onClick={handleSharePopUp}
231
- style={{ maxHeight: "24px", maxWidth: "24px" }}
232
- role="button"
233
- />
234
- <img
235
- src={moreIcon}
236
- alt="More Icon"
237
- className=""
238
- style={{ maxHeight: "24px", maxWidth: "24px" }}
239
- role="button"
240
- />
241
- </div>
242
- </div>
243
-
244
- <div
245
- style={{
246
- paddingLeft: "32px",
247
- paddingRight: "32px",
248
- }}
249
- >
250
- {" "}
251
- <div className="location-wrapper">
252
- <img
253
- src={locationIcon}
254
- alt="Location Icon"
255
- className="location-icon"
256
- />
257
- <span className="locationTexts ">
258
- {props.property.city || "N/A"}
259
- </span>
260
- </div>
261
- </div>
201
+ <div className="col-12 d-flex justify-content-end gap-2">
202
+ <img
203
+ src={shareIcon}
204
+ alt="Share Icon"
205
+ className=" "
206
+ onClick={handleSharePopUp}
207
+ style={{ maxHeight: "24px", maxWidth: "24px" }}
208
+ role="button"
209
+ />
210
+ <img
211
+ src={moreIcon}
212
+ alt="More Icon"
213
+ className=""
214
+ style={{ maxHeight: "24px", maxWidth: "24px" }}
215
+ role="button"
216
+ />
262
217
  </div>
263
- <div
264
- className="d-flex flex-row justify-content-between mt-3"
265
- style={{
266
- paddingLeft: "32px",
267
- paddingRight: "32px",
268
- }}
269
- >
218
+ <div className="col-11">
270
219
  <span
271
- className="priceValue col-lg-5 col-md-5 col-sm-6"
272
- style={{ whiteSpace: "nowrap" }}
220
+ className="propertyTitle align-items-start "
221
+ onClick={props.onClick}
222
+ role="button"
273
223
  >
224
+ {props.property.expose?.title}
225
+ {/*Einziehen ohne einen Pinselstrich - Kernsanierte Eigentumswohnung*/}
226
+ {/*in top Lage*/}
227
+ </span>
228
+ </div>
229
+ <div className="col-12">
230
+ <div className="location-wrapper">
231
+ <img
232
+ src={locationIcon}
233
+ alt="Location Icon"
234
+ className="location-icon"
235
+ />
236
+ <span className="locationTexts ">
237
+ {props.property.city || "N/A"}
238
+ </span>
239
+ </div>
240
+ </div>
241
+ <div className="d-flex flex-row justify-content-between">
242
+ <span className="priceValue justify-content-center align-items-center">
274
243
  {formatPrice(props.property?.evaluation?.askingPrice ?? 0)} €
275
244
  <div className="price_label" style={{ whiteSpace: "nowrap" }}>
276
245
  {t.kaufpreis}
277
246
  </div>
278
247
  </span>
279
- <span
280
- className="text-dark value col-lg-5 col-md-5 col-sm-7"
281
- style={{ whiteSpace: "nowrap" }}
282
- >
248
+ <span className="text-dark value d-flex justify-content-center align-items-center">
283
249
  {props.property.constructedArea} m²
284
250
  <div className="details" style={{ whiteSpace: "nowrap" }}>
285
251
  {t.wohnflache}
286
252
  </div>
287
253
  </span>
288
- <span
289
- className="text-dark value text-center col-lg-2 col-md-2 col-sm-5 text-truncate"
290
- style={{ whiteSpace: "nowrap" }}
291
- >
254
+ <span className="text-dark value d-flex justify-content-center align-items-center">
292
255
  {+props.property?.rooms}
293
256
 
294
257
  <div
@@ -304,7 +267,7 @@ export default function PropertyCard(props: PopupProps) {
304
267
  </span> */}
305
268
  </div>
306
269
 
307
- <div
270
+ {/* <div
308
271
  className="labelTopClass d-flex start-0 col-sm-5 col-lg-8 "
309
272
  style={{ padding: "0 28px" }}
310
273
  >
@@ -336,36 +299,41 @@ export default function PropertyCard(props: PopupProps) {
336
299
  </label>
337
300
  )}
338
301
  </div>
339
- </div>
340
- {props.Impliment && (
341
- <div
342
- className=""
343
- style={{
344
- paddingLeft: "32px",
345
- paddingRight: "32px",
346
- }}
347
- >
348
- <div className="Frame-136 d-flex flex-row">
349
- <div className="d-flex flex-column flex-lg-row col-4 justify-content-between ">
350
- <img src={immooly} alt="Logo" className="immooly" />
351
- </div>
352
- <div className="ms-2 d-flex flex-column col-8 justify-content-center align-self-center text-center">
353
- <span className="fw-bold">Herr Florian Gauss</span>
354
- <span>Immogart UGh</span>
355
- {/* <button
356
- className="kontactbutton text-light align-self-center"
357
- onClick={handleMessagPopUp}
358
- role="button"
359
- >
360
- <span className="kontact-button-text">
361
- Kontakt aufnehmen{" "}
362
- </span>
363
- </button> */}
302
+ </div> */}
303
+ <div className="d-lex flex-column ">
304
+ <div className="wrapperCompanySec d-flex justify-content-around flex-row">
305
+ <div className="d-flex flex-column col-4 justify-content-between ">
306
+ <img src={immooly} alt="Logo" className="immooly" />
307
+ </div>
308
+ <div className="d-flex flex-column align-items-center justify-content-center">
309
+ <div className="d-flex flex-column text-center">
310
+ <span className="fw-bold">
311
+ {props.userData
312
+ ? `${props.userData.firstname} ${props.userData.lastname}`
313
+ : "Firstname Lastname"}
314
+ </span>
315
+ <span className="fst-italic fw-normal">
316
+ {props.userData?.company
317
+ ? props.userData.company
318
+ : "Your Company"}
319
+ </span>
364
320
  </div>
321
+ {/* {props.userData && (
322
+ <button
323
+ className="kontactbutton_cc text-light "
324
+ // onClick={handleMessagPopUp}
325
+ role="button"
326
+ >
327
+ <span className="kontact-button-text">
328
+ Kontakt aufnehmen{" "}
329
+ </span>
330
+ </button>
331
+ )} */}
365
332
  </div>
366
333
  </div>
367
- )}
368
- {!props.Impliment && (
334
+ </div>
335
+
336
+ {/* {!props.Impliment && (
369
337
  <div
370
338
  className="d-lex flex-column "
371
339
  style={{
@@ -394,7 +362,7 @@ export default function PropertyCard(props: PopupProps) {
394
362
  </div>
395
363
  </div>
396
364
  </div>
397
- )}
365
+ )} */}
398
366
  </div>
399
367
  {/* {floorPlan && (
400
368
  <FloorPlanPopup