nestiq-component-library 1.1.167 → 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.
@@ -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;
@@ -299,31 +300,40 @@ export default function PropertyCard(props: PopupProps) {
299
300
  )}
300
301
  </div>
301
302
  </div> */}
302
- {props.Impliment && (
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="">Firstname Firstname</span>
311
- <span>Your company</span>
312
- </div>
313
- {/* <button
314
- className="kontactbutton_cc text-light "
315
- // onClick={handleMessagPopUp}
316
- role="button"
317
- >
318
- <span className="kontact-button-text">
319
- Kontakt aufnehmen{" "}
320
- </span>
321
- </button> */}
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>
322
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
+ )} */}
323
332
  </div>
324
333
  </div>
325
- )}
326
- {!props.Impliment && (
334
+ </div>
335
+
336
+ {/* {!props.Impliment && (
327
337
  <div
328
338
  className="d-lex flex-column "
329
339
  style={{
@@ -352,7 +362,7 @@ export default function PropertyCard(props: PopupProps) {
352
362
  </div>
353
363
  </div>
354
364
  </div>
355
- )}
365
+ )} */}
356
366
  </div>
357
367
  {/* {floorPlan && (
358
368
  <FloorPlanPopup