nestiq-component-library 1.0.51 → 1.1.0
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.
- package/dist/components/PropertyCard/PropertyCard.d.ts +3 -1
- package/dist/functions/util.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +10 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/rollup.config.mjs +35 -35
- package/src/components/FloorPlanPopup/FloorPlanPopup.css +3 -3
- package/src/components/FloorPlanPopup/FloorPlanPopup.tsx +83 -83
- package/src/components/ImageListPopup/ImageListPopup.css +83 -83
- package/src/components/ImageListPopup/ImageListPopup.tsx +141 -141
- package/src/components/Popup/Popup.tsx +29 -29
- package/src/components/PropertyCard/PropertyCard.tsx +136 -134
- package/src/components/PropertyDetailsHeader/PropertyDetailsHeader.tsx +80 -80
- package/src/components/PropertyImageList/PropertyImageList.tsx +198 -198
- package/src/components/SharePopup/SharePopup.tsx +139 -139
- package/src/components/ToastWrapper/ToastWrapper.tsx +25 -25
- package/src/functions/util.ts +3 -0
- package/src/index.tsx +20 -14
- package/dist/assets/images/Icon_rightArrow.svg +0 -3
- package/dist/assets/images/LayersIcon.svg +0 -5
- package/dist/assets/images/blackarrow-Right.svg +0 -3
- package/dist/assets/images/blckarrow-Left.svg +0 -3
- package/dist/assets/images/chevron-left.svg +0 -3
- package/dist/assets/images/default-property.jpg +0 -0
- package/dist/assets/images/heartIcon.svg +0 -3
- package/dist/assets/images/icon-close-white.webp +0 -0
- package/dist/assets/images/icon_close 2.e41bb9a4db48e048.png +0 -0
- package/dist/assets/images/icon_close_2.png +0 -0
- package/dist/assets/images/icon_gallery.svg +0 -4
- package/dist/assets/images/icon_map.svg +0 -10
- package/dist/assets/images/icon_share_1.svg +0 -3
- package/dist/assets/images/layer_icon.svg +0 -5
- package/dist/assets/images/locationIcon.svg +0 -4
- package/dist/assets/images/locationIconBlack.svg +0 -4
- package/dist/assets/images/no-image-icon.png +0 -0
- package/dist/components/Button/Button.js +0 -6
- package/dist/components/ImageListPopup/ImageListPopup.js +0 -26
- package/dist/components/Popup/Popup.js +0 -12
- package/dist/components/SharePopup/PopUp.d.ts +0 -7
|
@@ -1,139 +1,139 @@
|
|
|
1
|
-
import React, { useRef, useState } from "react";
|
|
2
|
-
import email from "../../assets/images/envelope-fill.svg";
|
|
3
|
-
import facebook from "../../assets/images/facebook.svg";
|
|
4
|
-
import x from "../../assets/images/icon_close_2.png";
|
|
5
|
-
import linkedln from "../../assets/images/linkedin.svg";
|
|
6
|
-
import Xtwitter from "../../assets/images/twitter-x.svg";
|
|
7
|
-
import whatsapp from "../../assets/images/whatsapp.svg";
|
|
8
|
-
import "./SharePopup.css";
|
|
9
|
-
import { toast } from "react-toastify";
|
|
10
|
-
import "../../styles/common.css";
|
|
11
|
-
|
|
12
|
-
export default function SharePopup() {
|
|
13
|
-
const [showPopUp, setShowPopUp] = useState(true);
|
|
14
|
-
|
|
15
|
-
const handleClose = () => {
|
|
16
|
-
setShowPopUp(false);
|
|
17
|
-
};
|
|
18
|
-
const urlInputRef = useRef<HTMLInputElement | null>(null);
|
|
19
|
-
|
|
20
|
-
const copyToClipboard = () => {
|
|
21
|
-
urlInputRef.current!.select();
|
|
22
|
-
document.execCommand("copy");
|
|
23
|
-
toast.success("URL copied to clipboard!");
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
return (
|
|
27
|
-
<div>
|
|
28
|
-
{showPopUp && (
|
|
29
|
-
<div className="popup-overlay">
|
|
30
|
-
<div className="shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4">
|
|
31
|
-
<div className="end-0 top-0 position-absolute ">
|
|
32
|
-
<img
|
|
33
|
-
src={x}
|
|
34
|
-
alt="close"
|
|
35
|
-
className="closeIcon me-2"
|
|
36
|
-
onClick={handleClose}
|
|
37
|
-
/>
|
|
38
|
-
</div>
|
|
39
|
-
<div className="popUpHeader col-lg-12 d-flex justify-content-center mb-2">
|
|
40
|
-
Jetzt teilen und weitersagen!
|
|
41
|
-
</div>
|
|
42
|
-
<div className="h-25 col-lg-12 socialMediaIconsSection d-flex flex-row align-items-center justify-content-center mx-auto">
|
|
43
|
-
<a
|
|
44
|
-
href="https://twitter.com/intent/tweet?url=https://www.nestiq.de&text=Nestiq"
|
|
45
|
-
className="text-decoration-none"
|
|
46
|
-
target="blank"
|
|
47
|
-
>
|
|
48
|
-
<div className=" flex-column d-flex align-items-center">
|
|
49
|
-
<img
|
|
50
|
-
src={Xtwitter}
|
|
51
|
-
alt="twitter"
|
|
52
|
-
className="socialMediaIcons"
|
|
53
|
-
/>
|
|
54
|
-
<span className="socialMediaIconText">Xtwitter</span>
|
|
55
|
-
</div>
|
|
56
|
-
</a>
|
|
57
|
-
|
|
58
|
-
<a
|
|
59
|
-
href="https://www.facebook.com/sharer/sharer.php?u=https://www.nestiq.de"
|
|
60
|
-
className="text-decoration-none"
|
|
61
|
-
target="blank"
|
|
62
|
-
>
|
|
63
|
-
<div className=" flex-column d-flex align-items-center">
|
|
64
|
-
<img
|
|
65
|
-
src={facebook}
|
|
66
|
-
alt="facebook"
|
|
67
|
-
className="socialMediaIcons "
|
|
68
|
-
/>
|
|
69
|
-
<span className="socialMediaIconText">Facebook</span>
|
|
70
|
-
</div>
|
|
71
|
-
</a>
|
|
72
|
-
|
|
73
|
-
<a
|
|
74
|
-
href="https://api.whatsapp.com/send?text=https://www.nestiq.de"
|
|
75
|
-
target="blank"
|
|
76
|
-
className="text-decoration-none"
|
|
77
|
-
>
|
|
78
|
-
<div className=" flex-column d-flex align-items-center">
|
|
79
|
-
<img
|
|
80
|
-
src={whatsapp}
|
|
81
|
-
alt="whatsapp"
|
|
82
|
-
className=" socialMediaIcons"
|
|
83
|
-
/>
|
|
84
|
-
<span className="socialMediaIconText">WhatsApp</span>
|
|
85
|
-
</div>
|
|
86
|
-
</a>
|
|
87
|
-
|
|
88
|
-
<a
|
|
89
|
-
href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.nestiq.de"
|
|
90
|
-
target="blank"
|
|
91
|
-
className="text-decoration-none"
|
|
92
|
-
>
|
|
93
|
-
<div className=" flex-column d-flex align-items-center">
|
|
94
|
-
<img
|
|
95
|
-
src={linkedln}
|
|
96
|
-
alt="linkedin"
|
|
97
|
-
className=" socialMediaIcons"
|
|
98
|
-
/>
|
|
99
|
-
<span className="socialMediaIconText">LinkedIn</span>
|
|
100
|
-
</div>
|
|
101
|
-
</a>
|
|
102
|
-
|
|
103
|
-
<a
|
|
104
|
-
href="https://www.nestiq.de"
|
|
105
|
-
target="blank"
|
|
106
|
-
className="text-decoration-none"
|
|
107
|
-
>
|
|
108
|
-
<div className=" flex-column d-flex align-items-center">
|
|
109
|
-
<img src={email} alt="email" className=" socialMediaIcons" />
|
|
110
|
-
<span className="socialMediaIconText">E-mail</span>
|
|
111
|
-
</div>
|
|
112
|
-
</a>
|
|
113
|
-
</div>
|
|
114
|
-
<div className="col-10 mx-auto">
|
|
115
|
-
<div className=" row align-items-center position-relative">
|
|
116
|
-
<input
|
|
117
|
-
ref={urlInputRef}
|
|
118
|
-
type="text"
|
|
119
|
-
className="popup_search-input rounded-4 border border-0 "
|
|
120
|
-
placeholder="Enter link here"
|
|
121
|
-
value={window.location.href}
|
|
122
|
-
readOnly
|
|
123
|
-
/>
|
|
124
|
-
<button
|
|
125
|
-
onClick={copyToClipboard}
|
|
126
|
-
className="popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6"
|
|
127
|
-
type="button"
|
|
128
|
-
id="button"
|
|
129
|
-
>
|
|
130
|
-
<strong>Kopieren</strong>
|
|
131
|
-
</button>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</div>
|
|
136
|
-
)}
|
|
137
|
-
</div>
|
|
138
|
-
);
|
|
139
|
-
}
|
|
1
|
+
import React, { useRef, useState } from "react";
|
|
2
|
+
import email from "../../assets/images/envelope-fill.svg";
|
|
3
|
+
import facebook from "../../assets/images/facebook.svg";
|
|
4
|
+
import x from "../../assets/images/icon_close_2.png";
|
|
5
|
+
import linkedln from "../../assets/images/linkedin.svg";
|
|
6
|
+
import Xtwitter from "../../assets/images/twitter-x.svg";
|
|
7
|
+
import whatsapp from "../../assets/images/whatsapp.svg";
|
|
8
|
+
import "./SharePopup.css";
|
|
9
|
+
import { toast } from "react-toastify";
|
|
10
|
+
import "../../styles/common.css";
|
|
11
|
+
|
|
12
|
+
export default function SharePopup() {
|
|
13
|
+
const [showPopUp, setShowPopUp] = useState(true);
|
|
14
|
+
|
|
15
|
+
const handleClose = () => {
|
|
16
|
+
setShowPopUp(false);
|
|
17
|
+
};
|
|
18
|
+
const urlInputRef = useRef<HTMLInputElement | null>(null);
|
|
19
|
+
|
|
20
|
+
const copyToClipboard = () => {
|
|
21
|
+
urlInputRef.current!.select();
|
|
22
|
+
document.execCommand("copy");
|
|
23
|
+
toast.success("URL copied to clipboard!");
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<div>
|
|
28
|
+
{showPopUp && (
|
|
29
|
+
<div className="popup-overlay">
|
|
30
|
+
<div className="shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4">
|
|
31
|
+
<div className="end-0 top-0 position-absolute ">
|
|
32
|
+
<img
|
|
33
|
+
src={x}
|
|
34
|
+
alt="close"
|
|
35
|
+
className="closeIcon me-2"
|
|
36
|
+
onClick={handleClose}
|
|
37
|
+
/>
|
|
38
|
+
</div>
|
|
39
|
+
<div className="popUpHeader col-lg-12 d-flex justify-content-center mb-2">
|
|
40
|
+
Jetzt teilen und weitersagen!
|
|
41
|
+
</div>
|
|
42
|
+
<div className="h-25 col-lg-12 socialMediaIconsSection d-flex flex-row align-items-center justify-content-center mx-auto">
|
|
43
|
+
<a
|
|
44
|
+
href="https://twitter.com/intent/tweet?url=https://www.nestiq.de&text=Nestiq"
|
|
45
|
+
className="text-decoration-none"
|
|
46
|
+
target="blank"
|
|
47
|
+
>
|
|
48
|
+
<div className=" flex-column d-flex align-items-center">
|
|
49
|
+
<img
|
|
50
|
+
src={Xtwitter}
|
|
51
|
+
alt="twitter"
|
|
52
|
+
className="socialMediaIcons"
|
|
53
|
+
/>
|
|
54
|
+
<span className="socialMediaIconText">Xtwitter</span>
|
|
55
|
+
</div>
|
|
56
|
+
</a>
|
|
57
|
+
|
|
58
|
+
<a
|
|
59
|
+
href="https://www.facebook.com/sharer/sharer.php?u=https://www.nestiq.de"
|
|
60
|
+
className="text-decoration-none"
|
|
61
|
+
target="blank"
|
|
62
|
+
>
|
|
63
|
+
<div className=" flex-column d-flex align-items-center">
|
|
64
|
+
<img
|
|
65
|
+
src={facebook}
|
|
66
|
+
alt="facebook"
|
|
67
|
+
className="socialMediaIcons "
|
|
68
|
+
/>
|
|
69
|
+
<span className="socialMediaIconText">Facebook</span>
|
|
70
|
+
</div>
|
|
71
|
+
</a>
|
|
72
|
+
|
|
73
|
+
<a
|
|
74
|
+
href="https://api.whatsapp.com/send?text=https://www.nestiq.de"
|
|
75
|
+
target="blank"
|
|
76
|
+
className="text-decoration-none"
|
|
77
|
+
>
|
|
78
|
+
<div className=" flex-column d-flex align-items-center">
|
|
79
|
+
<img
|
|
80
|
+
src={whatsapp}
|
|
81
|
+
alt="whatsapp"
|
|
82
|
+
className=" socialMediaIcons"
|
|
83
|
+
/>
|
|
84
|
+
<span className="socialMediaIconText">WhatsApp</span>
|
|
85
|
+
</div>
|
|
86
|
+
</a>
|
|
87
|
+
|
|
88
|
+
<a
|
|
89
|
+
href="https://www.linkedin.com/shareArticle?mini=true&url=https://www.nestiq.de"
|
|
90
|
+
target="blank"
|
|
91
|
+
className="text-decoration-none"
|
|
92
|
+
>
|
|
93
|
+
<div className=" flex-column d-flex align-items-center">
|
|
94
|
+
<img
|
|
95
|
+
src={linkedln}
|
|
96
|
+
alt="linkedin"
|
|
97
|
+
className=" socialMediaIcons"
|
|
98
|
+
/>
|
|
99
|
+
<span className="socialMediaIconText">LinkedIn</span>
|
|
100
|
+
</div>
|
|
101
|
+
</a>
|
|
102
|
+
|
|
103
|
+
<a
|
|
104
|
+
href="https://www.nestiq.de"
|
|
105
|
+
target="blank"
|
|
106
|
+
className="text-decoration-none"
|
|
107
|
+
>
|
|
108
|
+
<div className=" flex-column d-flex align-items-center">
|
|
109
|
+
<img src={email} alt="email" className=" socialMediaIcons" />
|
|
110
|
+
<span className="socialMediaIconText">E-mail</span>
|
|
111
|
+
</div>
|
|
112
|
+
</a>
|
|
113
|
+
</div>
|
|
114
|
+
<div className="col-10 mx-auto">
|
|
115
|
+
<div className=" row align-items-center position-relative">
|
|
116
|
+
<input
|
|
117
|
+
ref={urlInputRef}
|
|
118
|
+
type="text"
|
|
119
|
+
className="popup_search-input rounded-4 border border-0 "
|
|
120
|
+
placeholder="Enter link here"
|
|
121
|
+
value={window.location.href}
|
|
122
|
+
readOnly
|
|
123
|
+
/>
|
|
124
|
+
<button
|
|
125
|
+
onClick={copyToClipboard}
|
|
126
|
+
className="popupcustom-button border border-0 position-absolute me-2 col-lg-3 col-md-3 col-sm-3 rounded-4 fs-6"
|
|
127
|
+
type="button"
|
|
128
|
+
id="button"
|
|
129
|
+
>
|
|
130
|
+
<strong>Kopieren</strong>
|
|
131
|
+
</button>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
)}
|
|
137
|
+
</div>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ToastContainer, toast } from "react-toastify";
|
|
3
|
-
|
|
4
|
-
// Utility function to show a toast
|
|
5
|
-
export const showToast = (
|
|
6
|
-
message: string,
|
|
7
|
-
type: "info" | "success" | "warning" | "error" = "info",
|
|
8
|
-
) => {
|
|
9
|
-
toast(message, { type });
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const ToastWrapper: React.FC = () => (
|
|
13
|
-
<ToastContainer
|
|
14
|
-
position="top-right"
|
|
15
|
-
autoClose={5000}
|
|
16
|
-
hideProgressBar={false}
|
|
17
|
-
closeOnClick
|
|
18
|
-
rtl={false}
|
|
19
|
-
pauseOnFocusLoss
|
|
20
|
-
draggable
|
|
21
|
-
pauseOnHover
|
|
22
|
-
/>
|
|
23
|
-
);
|
|
24
|
-
|
|
25
|
-
export default ToastWrapper;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ToastContainer, toast } from "react-toastify";
|
|
3
|
+
|
|
4
|
+
// Utility function to show a toast
|
|
5
|
+
export const showToast = (
|
|
6
|
+
message: string,
|
|
7
|
+
type: "info" | "success" | "warning" | "error" = "info",
|
|
8
|
+
) => {
|
|
9
|
+
toast(message, { type });
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const ToastWrapper: React.FC = () => (
|
|
13
|
+
<ToastContainer
|
|
14
|
+
position="top-right"
|
|
15
|
+
autoClose={5000}
|
|
16
|
+
hideProgressBar={false}
|
|
17
|
+
closeOnClick
|
|
18
|
+
rtl={false}
|
|
19
|
+
pauseOnFocusLoss
|
|
20
|
+
draggable
|
|
21
|
+
pauseOnHover
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
export default ToastWrapper;
|
package/src/index.tsx
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import "react-toastify/dist/ReactToastify.css";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { default as
|
|
5
|
-
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import "react-toastify/dist/ReactToastify.css";
|
|
2
|
+
|
|
3
|
+
// COMPONENTS
|
|
4
|
+
export { default as Button } from "./components/Button/Button";
|
|
5
|
+
export { default as Popup } from "./components/Popup/Popup";
|
|
6
|
+
// export { default as ImageListPopup } from "./components/ImageListPopup/ImageListPopup";
|
|
7
|
+
export { default as PropertyDetailsHeader } from "./components/PropertyDetailsHeader/PropertyDetailsHeader";
|
|
8
|
+
export { default as PropertyImageList } from "./components/PropertyImageList//PropertyImageList";
|
|
9
|
+
export { default as PropertyCard } from "./components/PropertyCard//PropertyCard";
|
|
10
|
+
export { default as SharePopup } from "./components/SharePopup/SharePopup";
|
|
11
|
+
export { default as FloorPlanPopup } from "./components/FloorPlanPopup/FloorPlanPopup";
|
|
12
|
+
|
|
13
|
+
// TOASTER WRAPPER AND FUNCTION
|
|
14
|
+
export {
|
|
15
|
+
default as ToastWrapper,
|
|
16
|
+
showToast,
|
|
17
|
+
} from "./components/ToastWrapper/ToastWrapper";
|
|
18
|
+
|
|
19
|
+
// UTILITY FUNCTIONS
|
|
20
|
+
export { formatPrice } from "./functions/util";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#fff" class="bi bi-chevron-right" viewBox="0 0 16 16">
|
|
2
|
-
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"/>
|
|
3
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="m16.855 5.147-8-4.572a.571.571 0 0 0-.567 0l-8 4.572a.571.571 0 0 0 .014 1l8 4.285a.571.571 0 0 0 .54 0l8-4.285a.571.571 0 0 0 .013-1zM8.572 9.28l-6.82-3.653 6.82-3.897 6.82 3.897-6.82 3.653z" fill="#031012"/>
|
|
3
|
-
<path d="M8.846 13.43 16.57 9.18V7.877l-8 4.4-8-4.4V9.18l7.725 4.249a.572.572 0 0 0 .55 0z" fill="#031012"/>
|
|
4
|
-
<path d="m.57 12.309 7.731 4.123a.572.572 0 0 0 .538 0l7.731-4.123v-1.295l-8 4.266-8-4.266v1.295z" fill="#031012"/>
|
|
5
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">
|
|
2
|
-
<path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">
|
|
2
|
-
<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"/>
|
|
3
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#fff" class="bi bi-chevron-left" viewBox="0 0 16 16">
|
|
2
|
-
<path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0"/>
|
|
3
|
-
</svg>
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="30" height="27" viewBox="0 0 30 27" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M27.24 2.467a7.97 7.97 0 0 0-11.275.004l-.966.978-.958-.976-.006-.006a7.97 7.97 0 0 0-11.27 0l-.43.43a7.97 7.97 0 0 0 0 11.27l11.354 11.356 1.282 1.343.03-.03.034.033 1.201-1.268L27.67 14.168a7.979 7.979 0 0 0 0-11.27l-.43-.431zm-.98 10.292L15.003 24.018l-11.26-11.26a5.977 5.977 0 0 1 0-8.452l.431-.43a5.977 5.977 0 0 1 8.45-.003l2.372 2.415 2.383-2.412a5.977 5.977 0 0 1 8.453 0l.43.43a5.984 5.984 0 0 1 0 8.453z" fill="#fff"/>
|
|
3
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M18.242 1.29H4.297a1.76 1.76 0 0 0-1.758 1.757v.742h-.781A1.76 1.76 0 0 0 0 5.547v11.406c0 .97.789 1.758 1.758 1.758h13.945a1.76 1.76 0 0 0 1.758-1.758v-.742h.781A1.76 1.76 0 0 0 20 14.453V3.047a1.76 1.76 0 0 0-1.758-1.758zM4.297 2.46h13.945c.323 0 .586.264.586.587v5.508l-3.49-2.47a.586.586 0 0 0-.724.037L10 10.159l-2.114-1.85a.586.586 0 0 0-.748-.02l-3.427 2.693V3.047c0-.323.263-.586.586-.586zm11.992 14.493a.587.587 0 0 1-.586.586H1.758a.587.587 0 0 1-.586-.586V5.547c0-.323.263-.586.586-.586h.781v9.492c0 .97.789 1.758 1.758 1.758h11.992v.742zm1.953-1.914H4.297a.587.587 0 0 1-.586-.586v-1.98L7.48 9.51l2.134 1.868c.221.193.55.193.772 0l4.652-4.071 3.79 2.683v4.462a.587.587 0 0 1-.586.586z" fill="#fff"/>
|
|
3
|
-
<path d="M10 7.46a1.838 1.838 0 0 0 1.836-1.835A1.838 1.838 0 0 0 10 3.789a1.838 1.838 0 0 0-1.836 1.836c0 1.012.824 1.836 1.836 1.836zm0-2.5a.665.665 0 1 1-.001 1.33A.665.665 0 0 1 10 4.96z" fill="#fff"/>
|
|
4
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g clip-path="url(#bq66l33lna)">
|
|
3
|
-
<path d="M19.286 0a.715.715 0 0 0-.32.075l-5.413 2.707-6.12-2.72C7.423.058 7.41.057 7.4.052a.741.741 0 0 0-.17-.044 1.063 1.063 0 0 0-.175 0 .742.742 0 0 0-.171.044c-.01.005-.022.005-.032.01L.424 2.919A.714.714 0 0 0 0 3.572v15.714a.714.714 0 0 0 1.004.653l6.139-2.729 6.138 2.729c.01.004.022 0 .033.006a.63.63 0 0 0 .54-.012c.012-.005.025 0 .036-.008l5.715-2.857a.714.714 0 0 0 .395-.64V.716A.714.714 0 0 0 19.286 0zM6.428 15.964l-5 2.222V4.036l5-2.222v14.15zm6.429 2.222-5-2.222V1.814l5 2.222v14.15zm5.714-2.199-4.286 2.143V4.013l4.286-2.143v14.117z" fill="#fff"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="bq66l33lna">
|
|
7
|
-
<path fill="#fff" d="M0 0h20v20H0z"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M22.046 9.9h-2.56a.937.937 0 1 0 0 1.875h2.56c.517 0 .938.42.938.937v12.26c0 .517-.42.938-.938.938H7.953a.939.939 0 0 1-.937-.938v-12.26c0-.517.42-.937.937-.937h2.56a.937.937 0 1 0 0-1.875h-2.56a2.816 2.816 0 0 0-2.812 2.812v12.26a2.816 2.816 0 0 0 2.812 2.813h14.093a2.816 2.816 0 0 0 2.813-2.813v-12.26A2.816 2.816 0 0 0 22.046 9.9zM11.504 8.007l2.59-2.59V17.76a.937.937 0 1 0 1.874 0V5.418l2.59 2.59a.934.934 0 0 0 1.326 0 .937.937 0 0 0 0-1.327l-4.19-4.19a.938.938 0 0 0-1.326 0l-4.19 4.19a.937.937 0 1 0 1.326 1.326z" fill="#000"/>
|
|
3
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="22" height="20" viewBox="0 0 22 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="m21.354 5.808-10-5.714a.714.714 0 0 0-.709 0l-10 5.714a.714.714 0 0 0 .017 1.25l10 5.357a.714.714 0 0 0 .675 0l10-5.357a.714.714 0 0 0 .017-1.25zM11 10.975 2.475 6.408 11 1.537l8.525 4.871L11 10.975z" fill="#fff"/>
|
|
3
|
-
<path d="m11.34 16.162 9.656-5.31V9.22l-10 5.5-10-5.5v1.63l9.656 5.31a.715.715 0 0 0 .688 0z" fill="#fff"/>
|
|
4
|
-
<path d="m.996 14.762 9.664 5.154a.714.714 0 0 0 .672 0l9.664-5.154v-1.62l-10 5.334-10-5.333v1.619z" fill="#fff"/>
|
|
5
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="12" height="18" viewBox="0 0 12 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6 4.725a2.208 2.208 0 1 0 .001 4.416 2.208 2.208 0 0 0 0-4.416zm0 3.312a1.104 1.104 0 1 1 .001-2.208 1.104 1.104 0 0 1 0 2.208z" fill="#fff"/>
|
|
3
|
-
<path d="M10.243 2.687a6 6 0 0 0-9.27 7.518l4.17 6.403a1.022 1.022 0 0 0 1.713 0l4.171-6.404a6 6 0 0 0-.784-7.517zm-.14 6.915L6 15.9 1.897 9.602a4.919 4.919 0 0 1 .64-6.135 4.896 4.896 0 0 1 6.925 0 4.919 4.919 0 0 1 .64 6.135z" fill="#fff"/>
|
|
4
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-geo-alt" viewBox="0 0 16 16">
|
|
2
|
-
<path d="M12.166 8.94c-.524 1.062-1.234 2.12-1.96 3.07A32 32 0 0 1 8 14.58a32 32 0 0 1-2.206-2.57c-.726-.95-1.436-2.008-1.96-3.07C3.304 7.867 3 6.862 3 6a5 5 0 0 1 10 0c0 .862-.305 1.867-.834 2.94M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10"/>
|
|
3
|
-
<path d="M8 8a2 2 0 1 1 0-4 2 2 0 0 1 0 4m0 1a3 3 0 1 0 0-6 3 3 0 0 0 0 6"/>
|
|
4
|
-
</svg>
|
|
Binary file
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import "bootstrap/dist/css/bootstrap.min.css";
|
|
3
|
-
import "./ImageListPopup.css";
|
|
4
|
-
var ImageListPopup = function (_a) {
|
|
5
|
-
var images = _a.images, onClose = _a.onClose;
|
|
6
|
-
var _b = useState(0), currentIndex = _b[0], setCurrentIndex = _b[1];
|
|
7
|
-
var handlePrevious = function () {
|
|
8
|
-
setCurrentIndex(function (prevIndex) { return (prevIndex > 0 ? prevIndex - 1 : prevIndex); });
|
|
9
|
-
};
|
|
10
|
-
var handleNext = function () {
|
|
11
|
-
setCurrentIndex(function (prevIndex) {
|
|
12
|
-
return prevIndex < images.length - 1 ? prevIndex + 1 : prevIndex;
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
return (React.createElement("div", { className: "popup-overlay" },
|
|
16
|
-
React.createElement("div", { className: "popup-container" },
|
|
17
|
-
React.createElement("div", { className: "popup-header" },
|
|
18
|
-
React.createElement("span", null, images[currentIndex].title),
|
|
19
|
-
React.createElement("button", { className: "btn-close", onClick: onClose })),
|
|
20
|
-
React.createElement("div", { className: "popup-body" },
|
|
21
|
-
React.createElement("img", { src: images[currentIndex].src, alt: images[currentIndex].title, className: "img-fluid" })),
|
|
22
|
-
React.createElement("div", { className: "popup-footer" }, images.length > 1 && (React.createElement(React.Fragment, null,
|
|
23
|
-
React.createElement("button", { className: "btn btn-secondary me-2", onClick: handlePrevious }, "Previous"),
|
|
24
|
-
React.createElement("button", { className: "btn btn-secondary", onClick: handleNext }, "Next")))))));
|
|
25
|
-
};
|
|
26
|
-
export default ImageListPopup;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import closeIcon from "src/assets/images/icon_close 2.png";
|
|
3
|
-
import "./Popup.css";
|
|
4
|
-
var Popup = function (_a) {
|
|
5
|
-
var onCloseClick = _a.onCloseClick, children = _a.children;
|
|
6
|
-
return (React.createElement("div", { className: "popup-overlay" },
|
|
7
|
-
React.createElement("div", { className: "shareSection col-12 d-flex position-relative flex-column mx-auto justify-content-center col-5 col-lg-6 d-flex gap-4" },
|
|
8
|
-
React.createElement("div", { className: "end-0 top-0 position-absolute " },
|
|
9
|
-
React.createElement("img", { src: closeIcon, alt: "close", className: "closeIcon me-2", onClick: onCloseClick })),
|
|
10
|
-
children)));
|
|
11
|
-
};
|
|
12
|
-
export default Popup;
|