@bonlineza/luxity-lib 2.39.4 → 2.39.6
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/Accordion.js +342 -352
- package/AddInterest.js +3109 -3068
- package/AddProductInterest.js +999 -7572
- package/BrandSelector.js +854 -861
- package/Checkbox.js +240 -250
- package/CheckboxButton.js +229 -236
- package/CommunicationPreferenceOptionsRenderer.js +560 -568
- package/CommunicationPreferenceSection.js +651 -659
- package/CommunicationPreferences.js +2394 -2402
- package/ConditionSelector.js +852 -859
- package/CountryCodeSelect.js +79 -6650
- package/CurrencyInputFormatter.js +86 -96
- package/CurrencySelect.js +219 -227
- package/DropdownSelector.js +212 -6821
- package/GALink.js +43 -51
- package/GenderSelector.js +355 -362
- package/GraphQLDropdownSelector.js +5308 -11832
- package/GraphQLMultiSelector.js +593 -601
- package/IconHeader.js +118 -126
- package/IconWrapper.js +17 -25
- package/InterestCatSelector.js +424 -389
- package/InterestItem.js +462 -469
- package/Interests.js +4719 -11243
- package/InterestsSubheading.js +33 -41
- package/InvertedTextButton.js +167 -175
- package/LuxityAppSideNav.js +181 -189
- package/LuxityDesktopHeader.js +1355 -1363
- package/LuxityFooter.js +2228 -2236
- package/LuxityGraphQLDropdownSelector.js +5395 -11919
- package/LuxityGraphQLMultiselector.js +778 -785
- package/LuxityMobileHeader.js +1786 -1794
- package/LuxityPageReady.js +199 -209
- package/LuxityProductInterestItem.js +359 -367
- package/LuxitySideNav.js +665 -673
- package/MaterialSelector.js +5430 -11954
- package/ModelSelector.js +5430 -11954
- package/NotificationDropDown.js +459 -7030
- package/Notify.js +20 -32
- package/OutlinePrimaryButton.js +134 -142
- package/PriceRangeSelector.js +1264 -1265
- package/PrimaryButton.js +129 -137
- package/RadioButtons.js +308 -318
- package/RangeSlider.js +1033 -1039
- package/RareStepFooter.js +257 -264
- package/RareStepHeader.js +801 -808
- package/ReactSelectWrapper.js +33 -6604
- package/SecondaryButton.js +144 -152
- package/ShoeSizeRangeSelector.js +1147 -1153
- package/ShoeSizeSelector.js +1146 -1154
- package/SimpleErrorBoundary.js +130 -138
- package/StyleSelector.js +854 -861
- package/TestComponent.js +15 -0
- package/TextButton.js +135 -143
- package/Tooltip.js +176 -184
- package/Tracking.js +15 -25
- package/WrapperButton.js +50 -58
- package/build/CountryCodeSelect/index.js +18 -0
- package/build/ReactSelectWrapper/index.js +34 -0
- package/build/bundle.css +1 -1
- package/build/bundle.js +10634 -17192
- package/build/constants.js +32 -43
- package/package.json +2 -2
- package/postcss.config.js +6 -0
- package/svg/Accessories.js +34 -42
- package/svg/Account.js +30 -38
- package/svg/Add.js +31 -39
- package/svg/ArrowRight.js +28 -36
- package/svg/Bags.js +40 -48
- package/svg/BurgerMenu.js +24 -32
- package/svg/Calendar.js +98 -106
- package/svg/CalendarCircled.js +100 -108
- package/svg/CheckCircled.js +32 -40
- package/svg/Close.js +29 -37
- package/svg/Clothing.js +36 -44
- package/svg/Dot.js +32 -40
- package/svg/Edit.js +27 -35
- package/svg/Eye.js +28 -36
- package/svg/FileAttach.js +28 -36
- package/svg/FileAttachCircled.js +30 -38
- package/svg/Jewellery.js +56 -0
- package/svg/LightBulb.js +58 -66
- package/svg/Logo.js +132 -140
- package/svg/LuxityMenu.js +28 -36
- package/svg/Minus.js +29 -37
- package/svg/MobileAvatar.js +28 -36
- package/svg/MyOrder.js +36 -44
- package/svg/MyPayment.js +36 -44
- package/svg/MyProfile.js +44 -52
- package/svg/MySale.js +31 -39
- package/svg/Notification.js +30 -38
- package/svg/PointerDown.js +28 -36
- package/svg/Search.js +27 -35
- package/svg/Shoes.js +37 -45
- package/svg/SvgWrapper.js +13 -21
- package/svg/Trash.js +32 -40
- package/svg/Watches.js +47 -55
package/RareStepFooter.js
CHANGED
|
@@ -1,275 +1,259 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
(global = global || self, global.RareStepFooter = factory(global.React, global.PropTypes, global.styled));
|
|
5
|
-
}(this, (function (React, propTypes, styled) { 'use strict';
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
import 'prop-types';
|
|
3
|
+
import styled, { ThemeProvider } from 'styled-components';
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
function _extends() {
|
|
6
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
7
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
8
|
+
var source = arguments[i];
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var source = arguments[i];
|
|
14
|
-
|
|
15
|
-
for (var key in source) {
|
|
16
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
17
|
-
target[key] = source[key];
|
|
18
|
-
}
|
|
10
|
+
for (var key in source) {
|
|
11
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
12
|
+
target[key] = source[key];
|
|
19
13
|
}
|
|
20
14
|
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return target;
|
|
18
|
+
};
|
|
19
|
+
return _extends.apply(this, arguments);
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
23
|
+
if (!raw) {
|
|
24
|
+
raw = strings.slice(0);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
28
|
+
raw: {
|
|
29
|
+
value: Object.freeze(raw)
|
|
30
30
|
}
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
31
33
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
var theme = {
|
|
35
|
+
breakpoints: ['40em', '52em', '64em'],
|
|
36
|
+
space: ['0px', '4px', '8px', '16px', '32px', '64px', '128px', '256px', '512px'],
|
|
37
|
+
fontSizes: ['12px', '14px', '16px', '20px', '24px', '32px', '48px', '64px', '72px'],
|
|
38
|
+
marginPaddings: ['0.5rem', '1rem', '1.5rem', '2rem', '2.5rem', '3rem', '3.5rem', '4rem', '4.5rem', '5rem', '5.5rem', '6rem'],
|
|
39
|
+
letterSpacings: ['-0.5px', '0px', '+0.5px'],
|
|
40
|
+
radii: ['0px', '2px', '4px', '8px'],
|
|
41
|
+
borderRadius: '6px',
|
|
42
|
+
colors: {
|
|
43
|
+
primary: '#000',
|
|
44
|
+
base: '#4e4949',
|
|
45
|
+
baseLt: '#817c7c',
|
|
46
|
+
borderColor: '#d8d8d8',
|
|
47
|
+
ntrlMin: '#fff',
|
|
48
|
+
ntrlMinTen: '#e6e6e6',
|
|
49
|
+
gray: '#efefef',
|
|
50
|
+
darkerGray: '#454141'
|
|
51
|
+
},
|
|
52
|
+
rareStepColors: {
|
|
53
|
+
primary: '#202b58',
|
|
54
|
+
secondary: '#ef5c2d',
|
|
55
|
+
ntrlMin: '#ffffff',
|
|
56
|
+
ntrl40: '#f4f4f4',
|
|
57
|
+
ntrl50: '#808080',
|
|
58
|
+
ntrl60: '#e8e8e8',
|
|
59
|
+
ntrl70: '#252525',
|
|
60
|
+
ntrlMax: '#000000'
|
|
61
|
+
},
|
|
62
|
+
rareStepFontWeights: {
|
|
63
|
+
normal: 400,
|
|
64
|
+
medium: 500,
|
|
65
|
+
semiBold: 600,
|
|
66
|
+
bold: 700
|
|
67
|
+
},
|
|
68
|
+
rareStepFontSize: {
|
|
69
|
+
h1: '36px',
|
|
70
|
+
h2: '30px',
|
|
71
|
+
h3: '24px',
|
|
72
|
+
h4: '20px',
|
|
73
|
+
h5: '16px',
|
|
74
|
+
h6: '14px',
|
|
75
|
+
footerTitle: '16px'
|
|
76
|
+
},
|
|
77
|
+
rareStepPageSizes: {
|
|
78
|
+
mobile: '500px',
|
|
79
|
+
tablet: '768px',
|
|
80
|
+
desktop: '992px',
|
|
81
|
+
screenl: '1280px',
|
|
82
|
+
screenxl: '1680px',
|
|
83
|
+
screenxxl: '1920px',
|
|
84
|
+
container: '1600px'
|
|
37
85
|
}
|
|
86
|
+
};
|
|
38
87
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
borderRadius: '6px',
|
|
47
|
-
colors: {
|
|
48
|
-
primary: '#000',
|
|
49
|
-
base: '#4e4949',
|
|
50
|
-
baseLt: '#817c7c',
|
|
51
|
-
borderColor: '#d8d8d8',
|
|
52
|
-
ntrlMin: '#fff',
|
|
53
|
-
ntrlMinTen: '#e6e6e6',
|
|
54
|
-
gray: '#efefef',
|
|
55
|
-
darkerGray: '#454141'
|
|
56
|
-
},
|
|
57
|
-
rareStepColors: {
|
|
58
|
-
primary: '#202b58',
|
|
59
|
-
secondary: '#ef5c2d',
|
|
60
|
-
ntrlMin: '#ffffff',
|
|
61
|
-
ntrl40: '#f4f4f4',
|
|
62
|
-
ntrl50: '#808080',
|
|
63
|
-
ntrl60: '#e8e8e8',
|
|
64
|
-
ntrl70: '#252525',
|
|
65
|
-
ntrlMax: '#000000'
|
|
66
|
-
},
|
|
67
|
-
rareStepFontWeights: {
|
|
68
|
-
normal: 400,
|
|
69
|
-
medium: 500,
|
|
70
|
-
semiBold: 600,
|
|
71
|
-
bold: 700
|
|
72
|
-
},
|
|
73
|
-
rareStepFontSize: {
|
|
74
|
-
h1: '36px',
|
|
75
|
-
h2: '30px',
|
|
76
|
-
h3: '24px',
|
|
77
|
-
h4: '20px',
|
|
78
|
-
h5: '16px',
|
|
79
|
-
h6: '14px',
|
|
80
|
-
footerTitle: '16px'
|
|
81
|
-
},
|
|
82
|
-
rareStepPageSizes: {
|
|
83
|
-
mobile: '500px',
|
|
84
|
-
tablet: '768px',
|
|
85
|
-
desktop: '992px',
|
|
86
|
-
screenl: '1280px',
|
|
87
|
-
screenxl: '1680px',
|
|
88
|
-
screenxxl: '1920px',
|
|
89
|
-
container: '1600px'
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
var themed = (function (Component) {
|
|
94
|
-
return /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
95
|
-
return /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
96
|
-
theme: theme
|
|
97
|
-
}, /*#__PURE__*/React__default.createElement(Component, _extends({}, props, {
|
|
98
|
-
ref: ref
|
|
99
|
-
})));
|
|
100
|
-
});
|
|
88
|
+
var themed = (function (Component) {
|
|
89
|
+
return /*#__PURE__*/forwardRef(function (props, ref) {
|
|
90
|
+
return /*#__PURE__*/React.createElement(ThemeProvider, {
|
|
91
|
+
theme: theme
|
|
92
|
+
}, /*#__PURE__*/React.createElement(Component, _extends({}, props, {
|
|
93
|
+
ref: ref
|
|
94
|
+
})));
|
|
101
95
|
});
|
|
96
|
+
});
|
|
102
97
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
98
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
99
|
+
var FooterWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n {\n background-color: ", ";\n font-weight: ", ";\n padding-top: ", ";\n font-size: ", ";\n }\n"])), function (props) {
|
|
100
|
+
return props.theme.rareStepColors.ntrlMax;
|
|
101
|
+
}, function (props) {
|
|
102
|
+
return props.theme.rareStepFontWeights.bold;
|
|
103
|
+
}, function (props) {
|
|
104
|
+
return props.theme.marginPaddings[4];
|
|
105
|
+
}, function (props) {
|
|
106
|
+
return props.theme.rareStepFontSize.h5;
|
|
107
|
+
});
|
|
108
|
+
var PageContainer = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n {\n max-width: ", ";\n margin: 0 auto;\n width: 100%;\n padding: 0 5%;\n display: flex;\n justify-content: space-between;\n }\n"])), function (props) {
|
|
109
|
+
return props.theme.rareStepPageSizes.container;
|
|
110
|
+
});
|
|
111
|
+
var FooterLinksWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-basis: 70%;\n padding-bottom: ", ";\n }\n"])), function (props) {
|
|
112
|
+
return props.theme.marginPaddings[4];
|
|
113
|
+
});
|
|
114
|
+
var FooterLinksContainer = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-direction: column;\n flex: 1;\n padding-right: ", ";\n }\n"])), function (props) {
|
|
115
|
+
return props.theme.marginPaddings[4];
|
|
116
|
+
});
|
|
117
|
+
var FooterTitleLink = styled.a(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n {\n text-transform: uppercase;\n color: ", ";\n margin-bottom: ", ";\n cursor: pointer;\n font-weight: ", ";\n font-size: ", ";\n text-decoration: none;\n\n &:hover,\n &:active {\n color: ", ";\n text-decoration: underline;\n }\n }\n"])), function (props) {
|
|
118
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
119
|
+
}, function (props) {
|
|
120
|
+
return props.theme.marginPaddings[1];
|
|
121
|
+
}, function (props) {
|
|
122
|
+
return props.theme.rareStepFontWeights.bold;
|
|
123
|
+
}, function (props) {
|
|
124
|
+
return props.theme.rareStepFontSize.footerTitle;
|
|
125
|
+
}, function (props) {
|
|
126
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
127
|
+
});
|
|
128
|
+
var FooterLink = styled.a(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n {\n color: ", ";\n cursor: pointer;\n margin-bottom: ", ";\n font-weight: ", ";\n text-decoration: none;\n font-size: ", ";\n\n &:hover,\n &:active {\n color: ", ";\n text-decoration: underline;\n }\n }\n"])), function (props) {
|
|
129
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
130
|
+
}, function (props) {
|
|
131
|
+
return props.theme.space[2];
|
|
132
|
+
}, function (props) {
|
|
133
|
+
return props.theme.rareStepFontWeights.normal;
|
|
134
|
+
}, function (props) {
|
|
135
|
+
return props.theme.rareStepFontSize.h6;
|
|
136
|
+
}, function (props) {
|
|
137
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
138
|
+
});
|
|
139
|
+
var FooterImage = styled.img(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n {\n width: 100%;\n height: 100%;\n max-height: 300px;\n object-fit: cover;\n }\n"])));
|
|
140
|
+
var FooterImageWrapper = styled.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n {\n flex-basis: 30%;\n padding-bottom: ", ";\n }\n"])), function (props) {
|
|
141
|
+
return props.theme.marginPaddings[4];
|
|
142
|
+
});
|
|
143
|
+
var FooterLogo = styled.img(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n {\n width: 120px;\n margin-top: ", ";\n cursor: pointer;\n }\n"])), function (props) {
|
|
144
|
+
return props.theme.marginPaddings[5];
|
|
145
|
+
});
|
|
146
|
+
var SocialIconWrapper = styled.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n {\n display: flex;\n }\n"])));
|
|
147
|
+
var SocialIcon = styled.img(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n {\n width: 30px;\n height: 30px;\n margin-right: ", ";\n }\n"])), function (props) {
|
|
148
|
+
return props.theme.marginPaddings[0];
|
|
149
|
+
});
|
|
150
|
+
var FooterCopyrightContainer = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n {\n display: flex;\n padding: ", " 0;\n border-top: 1px solid ", ";\n }\n"])), function (props) {
|
|
151
|
+
return props.theme.marginPaddings[1];
|
|
152
|
+
}, function (props) {
|
|
153
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
154
|
+
});
|
|
155
|
+
var FooterCopyrightText = styled.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n {\n color: ", ";\n font-weight: ", ";\n }\n"])), function (props) {
|
|
156
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
157
|
+
}, function (props) {
|
|
158
|
+
return props.theme.rareStepFontWeights.normal;
|
|
159
|
+
});
|
|
160
|
+
var FooterPayments = styled.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n }\n"])));
|
|
161
|
+
var FooterPaymentImage = styled.img(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n {\n width: 100px;\n height: 30px;\n }\n"])));
|
|
162
|
+
var FooterConnectContainer = styled.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-direction: column;\n }\n"])));
|
|
168
163
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
164
|
+
var FooterCopyright = function FooterCopyright(_ref) {
|
|
165
|
+
var paymentImage = _ref.paymentImage;
|
|
166
|
+
return /*#__PURE__*/React.createElement(FooterCopyrightContainer, null, /*#__PURE__*/React.createElement(PageContainer, {
|
|
167
|
+
className: "footer__copyright-container"
|
|
168
|
+
}, /*#__PURE__*/React.createElement(FooterCopyrightText, {
|
|
169
|
+
className: "footer__desktop-copyrights"
|
|
170
|
+
}, "\xA9".concat(new Date().getFullYear(), " \u2022 Rare Step \u2022 Website Developed by B Online")), /*#__PURE__*/React.createElement(FooterCopyrightText, {
|
|
171
|
+
className: "footer__mobile-copyrights"
|
|
172
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
173
|
+
className: "footer__copyright-text"
|
|
174
|
+
}, "\xA9".concat(new Date().getFullYear(), " Rare Step")), /*#__PURE__*/React.createElement("div", {
|
|
175
|
+
className: "footer__copyright-text"
|
|
176
|
+
}, "Website Developed by B Online")), /*#__PURE__*/React.createElement(FooterPayments, {
|
|
177
|
+
className: "footer__payment-options"
|
|
178
|
+
}, /*#__PURE__*/React.createElement(FooterPaymentImage, {
|
|
179
|
+
className: "footer__payment-image",
|
|
180
|
+
src: paymentImage
|
|
181
|
+
}))));
|
|
182
|
+
};
|
|
188
183
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
184
|
+
function FooterConnect(_ref) {
|
|
185
|
+
var footerLogoImageUrl = _ref.footerLogoImageUrl,
|
|
186
|
+
facebookUrl = _ref.facebookUrl,
|
|
187
|
+
facebookIconUrl = _ref.facebookIconUrl,
|
|
188
|
+
instagramUrl = _ref.instagramUrl,
|
|
189
|
+
instagramImageUrl = _ref.instagramImageUrl,
|
|
190
|
+
className = _ref.className,
|
|
191
|
+
wordpressSiteUrl = _ref.wordpressSiteUrl,
|
|
192
|
+
tiktokUrl = _ref.tiktokUrl,
|
|
193
|
+
tiktokImageUrl = _ref.tiktokImageUrl;
|
|
194
|
+
return /*#__PURE__*/React.createElement(FooterConnectContainer, {
|
|
195
|
+
className: className
|
|
196
|
+
}, /*#__PURE__*/React.createElement(FooterLogo, {
|
|
197
|
+
className: "footer__logo",
|
|
198
|
+
src: footerLogoImageUrl,
|
|
199
|
+
onClick: function onClick() {
|
|
200
|
+
window.location.href = wordpressSiteUrl;
|
|
201
|
+
}
|
|
202
|
+
}), /*#__PURE__*/React.createElement(FooterTitleLink, {
|
|
203
|
+
className: "footer__link"
|
|
204
|
+
}, "Connect"), /*#__PURE__*/React.createElement(SocialIconWrapper, null, /*#__PURE__*/React.createElement(FooterLink, {
|
|
205
|
+
target: "_blank",
|
|
206
|
+
href: facebookUrl
|
|
207
|
+
}, /*#__PURE__*/React.createElement(SocialIcon, {
|
|
208
|
+
src: facebookIconUrl
|
|
209
|
+
})), /*#__PURE__*/React.createElement(FooterLink, {
|
|
210
|
+
target: "_blank",
|
|
211
|
+
href: instagramUrl
|
|
212
|
+
}, /*#__PURE__*/React.createElement(SocialIcon, {
|
|
213
|
+
src: instagramImageUrl
|
|
214
|
+
})), /*#__PURE__*/React.createElement(FooterLink, {
|
|
215
|
+
target: "_blank",
|
|
216
|
+
href: tiktokUrl
|
|
217
|
+
}, /*#__PURE__*/React.createElement(SocialIcon, {
|
|
218
|
+
src: tiktokImageUrl
|
|
219
|
+
}))));
|
|
220
|
+
}
|
|
226
221
|
|
|
227
|
-
|
|
222
|
+
/** RareStep footer component */
|
|
228
223
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
224
|
+
var RareStepFooter = function RareStepFooter(_ref) {
|
|
225
|
+
var footerImageUrl = _ref.footerImageUrl,
|
|
226
|
+
footerLogoImageUrl = _ref.footerLogoImageUrl,
|
|
227
|
+
facebookUrl = _ref.facebookUrl,
|
|
228
|
+
facebookIconUrl = _ref.facebookIconUrl,
|
|
229
|
+
instagramUrl = _ref.instagramUrl,
|
|
230
|
+
instagramImageUrl = _ref.instagramImageUrl,
|
|
231
|
+
paymentImage = _ref.paymentImage,
|
|
232
|
+
footerLinks = _ref.footerLinks,
|
|
233
|
+
wordpressSiteUrl = _ref.wordpressSiteUrl,
|
|
234
|
+
tiktokUrl = _ref.tiktokUrl,
|
|
235
|
+
tiktokImageUrl = _ref.tiktokImageUrl;
|
|
236
|
+
return /*#__PURE__*/React.createElement(FooterWrapper, null, /*#__PURE__*/React.createElement(PageContainer, {
|
|
237
|
+
className: "footer__page-container"
|
|
238
|
+
}, /*#__PURE__*/React.createElement(FooterLinksWrapper, {
|
|
239
|
+
className: "footer__links-wrapper"
|
|
240
|
+
}, footerLinks.map(function (footerLink, index) {
|
|
241
|
+
return /*#__PURE__*/React.createElement(FooterLinksContainer, {
|
|
242
|
+
className: "footer__links",
|
|
243
|
+
key: index
|
|
244
|
+
}, /*#__PURE__*/React.createElement(FooterTitleLink, {
|
|
245
|
+
target: footerLink !== null && footerLink !== void 0 && footerLink.openInNewTab ? '_blank' : '_self',
|
|
246
|
+
className: "footer__link",
|
|
247
|
+
href: footerLink.url
|
|
248
|
+
}, footerLink.title), footerLink.links.map(function (link, linkIndex) {
|
|
249
|
+
return /*#__PURE__*/React.createElement(FooterLink, {
|
|
250
250
|
target: footerLink !== null && footerLink !== void 0 && footerLink.openInNewTab ? '_blank' : '_self',
|
|
251
251
|
className: "footer__link",
|
|
252
|
-
href:
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
href: link.url,
|
|
258
|
-
key: linkIndex
|
|
259
|
-
}, link.name);
|
|
260
|
-
}), index === 0 && /*#__PURE__*/React__default.createElement(FooterConnect, {
|
|
261
|
-
className: "footer__connect-desktop",
|
|
262
|
-
footerLogoImageUrl: footerLogoImageUrl,
|
|
263
|
-
facebookUrl: facebookUrl,
|
|
264
|
-
facebookIconUrl: facebookIconUrl,
|
|
265
|
-
instagramUrl: instagramUrl,
|
|
266
|
-
instagramImageUrl: instagramImageUrl,
|
|
267
|
-
wordpressSiteUrl: wordpressSiteUrl,
|
|
268
|
-
tiktokUrl: tiktokUrl,
|
|
269
|
-
tiktokImageUrl: tiktokImageUrl
|
|
270
|
-
}));
|
|
271
|
-
})), /*#__PURE__*/React__default.createElement(FooterConnect, {
|
|
272
|
-
className: "footer__connect-mobile",
|
|
252
|
+
href: link.url,
|
|
253
|
+
key: linkIndex
|
|
254
|
+
}, link.name);
|
|
255
|
+
}), index === 0 && /*#__PURE__*/React.createElement(FooterConnect, {
|
|
256
|
+
className: "footer__connect-desktop",
|
|
273
257
|
footerLogoImageUrl: footerLogoImageUrl,
|
|
274
258
|
facebookUrl: facebookUrl,
|
|
275
259
|
facebookIconUrl: facebookIconUrl,
|
|
@@ -278,17 +262,26 @@
|
|
|
278
262
|
wordpressSiteUrl: wordpressSiteUrl,
|
|
279
263
|
tiktokUrl: tiktokUrl,
|
|
280
264
|
tiktokImageUrl: tiktokImageUrl
|
|
281
|
-
}), /*#__PURE__*/React__default.createElement(FooterImageWrapper, {
|
|
282
|
-
className: "footer__figure"
|
|
283
|
-
}, /*#__PURE__*/React__default.createElement(FooterImage, {
|
|
284
|
-
src: footerImageUrl
|
|
285
|
-
}))), /*#__PURE__*/React__default.createElement(FooterCopyright, {
|
|
286
|
-
paymentImage: paymentImage
|
|
287
265
|
}));
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
|
|
266
|
+
})), /*#__PURE__*/React.createElement(FooterConnect, {
|
|
267
|
+
className: "footer__connect-mobile",
|
|
268
|
+
footerLogoImageUrl: footerLogoImageUrl,
|
|
269
|
+
facebookUrl: facebookUrl,
|
|
270
|
+
facebookIconUrl: facebookIconUrl,
|
|
271
|
+
instagramUrl: instagramUrl,
|
|
272
|
+
instagramImageUrl: instagramImageUrl,
|
|
273
|
+
wordpressSiteUrl: wordpressSiteUrl,
|
|
274
|
+
tiktokUrl: tiktokUrl,
|
|
275
|
+
tiktokImageUrl: tiktokImageUrl
|
|
276
|
+
}), /*#__PURE__*/React.createElement(FooterImageWrapper, {
|
|
277
|
+
className: "footer__figure"
|
|
278
|
+
}, /*#__PURE__*/React.createElement(FooterImage, {
|
|
279
|
+
src: footerImageUrl
|
|
280
|
+
}))), /*#__PURE__*/React.createElement(FooterCopyright, {
|
|
281
|
+
paymentImage: paymentImage
|
|
282
|
+
}));
|
|
283
|
+
};
|
|
291
284
|
|
|
292
|
-
|
|
285
|
+
var index = themed(RareStepFooter);
|
|
293
286
|
|
|
294
|
-
|
|
287
|
+
export default index;
|