@bonlineza/luxity-lib 2.39.6 → 2.39.7
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 +352 -342
- package/AddInterest.js +3141 -3135
- package/AddProductInterest.js +7584 -1011
- package/BrandSelector.js +861 -854
- package/Checkbox.js +250 -240
- package/CheckboxButton.js +236 -229
- package/CommunicationPreferenceOptionsRenderer.js +568 -560
- package/CommunicationPreferenceSection.js +659 -651
- package/CommunicationPreferences.js +2402 -2394
- package/ConditionSelector.js +859 -852
- package/CountryCodeSelect.js +6650 -79
- package/CurrencyInputFormatter.js +96 -86
- package/CurrencySelect.js +227 -219
- package/DropdownSelector.js +6820 -211
- package/GALink.js +51 -43
- package/GenderSelector.js +362 -355
- package/GraphQLDropdownSelector.js +11878 -5308
- package/GraphQLMultiSelector.js +601 -593
- package/IconHeader.js +126 -118
- package/IconWrapper.js +25 -17
- package/InterestCatSelector.js +432 -424
- package/InterestItem.js +470 -462
- package/Interests.js +11286 -4716
- package/InterestsSubheading.js +41 -33
- package/InvertedTextButton.js +175 -167
- package/LuxityAppSideNav.js +189 -181
- package/LuxityDesktopHeader.js +1363 -1355
- package/LuxityFooter.js +2236 -2228
- package/LuxityGraphQLDropdownSelector.js +11963 -5393
- package/LuxityGraphQLMultiselector.js +785 -778
- package/LuxityMobileHeader.js +1794 -1786
- package/LuxityPageReady.js +209 -199
- package/LuxityProductInterestItem.js +367 -359
- package/LuxitySideNav.js +673 -665
- package/MaterialSelector.js +11993 -5423
- package/ModelSelector.js +11993 -5423
- package/NotificationDropDown.js +7029 -459
- package/Notify.js +32 -20
- package/OutlinePrimaryButton.js +142 -134
- package/PriceRangeSelector.js +1270 -1264
- package/PrimaryButton.js +137 -129
- package/RadioButtons.js +318 -308
- package/RangeSlider.js +1039 -1033
- package/RareStepFooter.js +264 -257
- package/RareStepHeader.js +808 -801
- package/ReactSelectWrapper.js +6604 -33
- package/SecondaryButton.js +152 -144
- package/ShoeSizeRangeSelector.js +1153 -1147
- package/ShoeSizeSelector.js +1154 -1146
- package/SimpleErrorBoundary.js +138 -130
- package/StyleSelector.js +861 -854
- package/TextButton.js +143 -135
- package/Tooltip.js +184 -176
- package/Tracking.js +25 -15
- package/WrapperButton.js +58 -50
- package/build/bundle.css +1 -1
- package/build/bundle.js +17236 -10632
- package/build/constants.js +45 -32
- package/package.json +2 -2
- package/svg/Accessories.js +42 -34
- package/svg/Account.js +38 -30
- package/svg/Add.js +39 -31
- package/svg/ArrowRight.js +36 -28
- package/svg/Bags.js +48 -40
- package/svg/BurgerMenu.js +32 -24
- package/svg/Calendar.js +106 -98
- package/svg/CalendarCircled.js +108 -100
- package/svg/CheckCircled.js +40 -32
- package/svg/Close.js +37 -29
- package/svg/Clothing.js +44 -36
- package/svg/Dot.js +40 -32
- package/svg/Edit.js +35 -27
- package/svg/Eye.js +36 -28
- package/svg/FileAttach.js +36 -28
- package/svg/FileAttachCircled.js +38 -30
- package/svg/Jewellery.js +57 -49
- package/svg/LightBulb.js +66 -58
- package/svg/Logo.js +140 -132
- package/svg/LuxityMenu.js +36 -28
- package/svg/Minus.js +37 -29
- package/svg/MobileAvatar.js +36 -28
- package/svg/MyOrder.js +44 -36
- package/svg/MyPayment.js +44 -36
- package/svg/MyProfile.js +52 -44
- package/svg/MySale.js +39 -31
- package/svg/Notification.js +38 -30
- package/svg/PointerDown.js +36 -28
- package/svg/Search.js +35 -27
- package/svg/Shoes.js +45 -37
- package/svg/SvgWrapper.js +21 -13
- package/svg/Trash.js +40 -32
- package/svg/Watches.js +55 -47
package/RareStepFooter.js
CHANGED
|
@@ -1,259 +1,275 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('prop-types'), require('styled-components')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['react', 'prop-types', 'styled-components'], factory) :
|
|
4
|
+
(global = global || self, global.RareStepFooter = factory(global.React, global.PropTypes, global.styled));
|
|
5
|
+
}(this, (function (React, propTypes, styled) { 'use strict';
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
8
|
-
var source = arguments[i];
|
|
7
|
+
var React__default = 'default' in React ? React['default'] : React;
|
|
8
|
+
var styled__default = 'default' in styled ? styled['default'] : styled;
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
function _extends() {
|
|
11
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
12
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
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
|
+
}
|
|
13
19
|
}
|
|
14
20
|
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
return target;
|
|
18
|
-
};
|
|
19
|
-
return _extends.apply(this, arguments);
|
|
20
|
-
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
return target;
|
|
23
|
+
};
|
|
24
|
+
return _extends.apply(this, arguments);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
raw
|
|
29
|
-
|
|
27
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
28
|
+
if (!raw) {
|
|
29
|
+
raw = strings.slice(0);
|
|
30
30
|
}
|
|
31
|
-
}));
|
|
32
|
-
}
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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'
|
|
32
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
33
|
+
raw: {
|
|
34
|
+
value: Object.freeze(raw)
|
|
35
|
+
}
|
|
36
|
+
}));
|
|
85
37
|
}
|
|
86
|
-
};
|
|
87
38
|
|
|
88
|
-
var
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
39
|
+
var theme = {
|
|
40
|
+
breakpoints: ['40em', '52em', '64em'],
|
|
41
|
+
space: ['0px', '4px', '8px', '16px', '32px', '64px', '128px', '256px', '512px'],
|
|
42
|
+
fontSizes: ['12px', '14px', '16px', '20px', '24px', '32px', '48px', '64px', '72px'],
|
|
43
|
+
marginPaddings: ['0.5rem', '1rem', '1.5rem', '2rem', '2.5rem', '3rem', '3.5rem', '4rem', '4.5rem', '5rem', '5.5rem', '6rem'],
|
|
44
|
+
letterSpacings: ['-0.5px', '0px', '+0.5px'],
|
|
45
|
+
radii: ['0px', '2px', '4px', '8px'],
|
|
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
|
+
});
|
|
95
101
|
});
|
|
96
|
-
});
|
|
97
102
|
|
|
98
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
99
|
-
var FooterWrapper =
|
|
100
|
-
|
|
101
|
-
}, function (props) {
|
|
102
|
-
|
|
103
|
-
}, function (props) {
|
|
104
|
-
|
|
105
|
-
}, function (props) {
|
|
106
|
-
|
|
107
|
-
});
|
|
108
|
-
var PageContainer =
|
|
109
|
-
|
|
110
|
-
});
|
|
111
|
-
var FooterLinksWrapper =
|
|
112
|
-
|
|
113
|
-
});
|
|
114
|
-
var FooterLinksContainer =
|
|
115
|
-
|
|
116
|
-
});
|
|
117
|
-
var FooterTitleLink =
|
|
118
|
-
|
|
119
|
-
}, function (props) {
|
|
120
|
-
|
|
121
|
-
}, function (props) {
|
|
122
|
-
|
|
123
|
-
}, function (props) {
|
|
124
|
-
|
|
125
|
-
}, function (props) {
|
|
126
|
-
|
|
127
|
-
});
|
|
128
|
-
var FooterLink =
|
|
129
|
-
|
|
130
|
-
}, function (props) {
|
|
131
|
-
|
|
132
|
-
}, function (props) {
|
|
133
|
-
|
|
134
|
-
}, function (props) {
|
|
135
|
-
|
|
136
|
-
}, function (props) {
|
|
137
|
-
|
|
138
|
-
});
|
|
139
|
-
var FooterImage =
|
|
140
|
-
var FooterImageWrapper =
|
|
141
|
-
|
|
142
|
-
});
|
|
143
|
-
var FooterLogo =
|
|
144
|
-
|
|
145
|
-
});
|
|
146
|
-
var SocialIconWrapper =
|
|
147
|
-
var SocialIcon =
|
|
148
|
-
|
|
149
|
-
});
|
|
150
|
-
var FooterCopyrightContainer =
|
|
151
|
-
|
|
152
|
-
}, function (props) {
|
|
153
|
-
|
|
154
|
-
});
|
|
155
|
-
var FooterCopyrightText =
|
|
156
|
-
|
|
157
|
-
}, function (props) {
|
|
158
|
-
|
|
159
|
-
});
|
|
160
|
-
var FooterPayments =
|
|
161
|
-
var FooterPaymentImage =
|
|
162
|
-
var FooterConnectContainer =
|
|
103
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
104
|
+
var FooterWrapper = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n {\n background-color: ", ";\n font-weight: ", ";\n padding-top: ", ";\n font-size: ", ";\n }\n"])), function (props) {
|
|
105
|
+
return props.theme.rareStepColors.ntrlMax;
|
|
106
|
+
}, function (props) {
|
|
107
|
+
return props.theme.rareStepFontWeights.bold;
|
|
108
|
+
}, function (props) {
|
|
109
|
+
return props.theme.marginPaddings[4];
|
|
110
|
+
}, function (props) {
|
|
111
|
+
return props.theme.rareStepFontSize.h5;
|
|
112
|
+
});
|
|
113
|
+
var PageContainer = styled__default.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) {
|
|
114
|
+
return props.theme.rareStepPageSizes.container;
|
|
115
|
+
});
|
|
116
|
+
var FooterLinksWrapper = styled__default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-basis: 70%;\n padding-bottom: ", ";\n }\n"])), function (props) {
|
|
117
|
+
return props.theme.marginPaddings[4];
|
|
118
|
+
});
|
|
119
|
+
var FooterLinksContainer = styled__default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-direction: column;\n flex: 1;\n padding-right: ", ";\n }\n"])), function (props) {
|
|
120
|
+
return props.theme.marginPaddings[4];
|
|
121
|
+
});
|
|
122
|
+
var FooterTitleLink = styled__default.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) {
|
|
123
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
124
|
+
}, function (props) {
|
|
125
|
+
return props.theme.marginPaddings[1];
|
|
126
|
+
}, function (props) {
|
|
127
|
+
return props.theme.rareStepFontWeights.bold;
|
|
128
|
+
}, function (props) {
|
|
129
|
+
return props.theme.rareStepFontSize.footerTitle;
|
|
130
|
+
}, function (props) {
|
|
131
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
132
|
+
});
|
|
133
|
+
var FooterLink = styled__default.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) {
|
|
134
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
135
|
+
}, function (props) {
|
|
136
|
+
return props.theme.space[2];
|
|
137
|
+
}, function (props) {
|
|
138
|
+
return props.theme.rareStepFontWeights.normal;
|
|
139
|
+
}, function (props) {
|
|
140
|
+
return props.theme.rareStepFontSize.h6;
|
|
141
|
+
}, function (props) {
|
|
142
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
143
|
+
});
|
|
144
|
+
var FooterImage = styled__default.img(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n {\n width: 100%;\n height: 100%;\n max-height: 300px;\n object-fit: cover;\n }\n"])));
|
|
145
|
+
var FooterImageWrapper = styled__default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n {\n flex-basis: 30%;\n padding-bottom: ", ";\n }\n"])), function (props) {
|
|
146
|
+
return props.theme.marginPaddings[4];
|
|
147
|
+
});
|
|
148
|
+
var FooterLogo = styled__default.img(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n {\n width: 120px;\n margin-top: ", ";\n cursor: pointer;\n }\n"])), function (props) {
|
|
149
|
+
return props.theme.marginPaddings[5];
|
|
150
|
+
});
|
|
151
|
+
var SocialIconWrapper = styled__default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n {\n display: flex;\n }\n"])));
|
|
152
|
+
var SocialIcon = styled__default.img(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n {\n width: 30px;\n height: 30px;\n margin-right: ", ";\n }\n"])), function (props) {
|
|
153
|
+
return props.theme.marginPaddings[0];
|
|
154
|
+
});
|
|
155
|
+
var FooterCopyrightContainer = styled__default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n {\n display: flex;\n padding: ", " 0;\n border-top: 1px solid ", ";\n }\n"])), function (props) {
|
|
156
|
+
return props.theme.marginPaddings[1];
|
|
157
|
+
}, function (props) {
|
|
158
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
159
|
+
});
|
|
160
|
+
var FooterCopyrightText = styled__default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n {\n color: ", ";\n font-weight: ", ";\n }\n"])), function (props) {
|
|
161
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
162
|
+
}, function (props) {
|
|
163
|
+
return props.theme.rareStepFontWeights.normal;
|
|
164
|
+
});
|
|
165
|
+
var FooterPayments = styled__default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n }\n"])));
|
|
166
|
+
var FooterPaymentImage = styled__default.img(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n {\n width: 100px;\n height: 30px;\n }\n"])));
|
|
167
|
+
var FooterConnectContainer = styled__default.div(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-direction: column;\n }\n"])));
|
|
163
168
|
|
|
164
|
-
var FooterCopyright = function FooterCopyright(_ref) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
};
|
|
169
|
+
var FooterCopyright = function FooterCopyright(_ref) {
|
|
170
|
+
var paymentImage = _ref.paymentImage;
|
|
171
|
+
return /*#__PURE__*/React__default.createElement(FooterCopyrightContainer, null, /*#__PURE__*/React__default.createElement(PageContainer, {
|
|
172
|
+
className: "footer__copyright-container"
|
|
173
|
+
}, /*#__PURE__*/React__default.createElement(FooterCopyrightText, {
|
|
174
|
+
className: "footer__desktop-copyrights"
|
|
175
|
+
}, "\xA9".concat(new Date().getFullYear(), " \u2022 Rare Step \u2022 Website Developed by B Online")), /*#__PURE__*/React__default.createElement(FooterCopyrightText, {
|
|
176
|
+
className: "footer__mobile-copyrights"
|
|
177
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
178
|
+
className: "footer__copyright-text"
|
|
179
|
+
}, "\xA9".concat(new Date().getFullYear(), " Rare Step")), /*#__PURE__*/React__default.createElement("div", {
|
|
180
|
+
className: "footer__copyright-text"
|
|
181
|
+
}, "Website Developed by B Online")), /*#__PURE__*/React__default.createElement(FooterPayments, {
|
|
182
|
+
className: "footer__payment-options"
|
|
183
|
+
}, /*#__PURE__*/React__default.createElement(FooterPaymentImage, {
|
|
184
|
+
className: "footer__payment-image",
|
|
185
|
+
src: paymentImage
|
|
186
|
+
}))));
|
|
187
|
+
};
|
|
183
188
|
|
|
184
|
-
function FooterConnect(_ref) {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
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
|
-
}
|
|
189
|
+
function FooterConnect(_ref) {
|
|
190
|
+
var footerLogoImageUrl = _ref.footerLogoImageUrl,
|
|
191
|
+
facebookUrl = _ref.facebookUrl,
|
|
192
|
+
facebookIconUrl = _ref.facebookIconUrl,
|
|
193
|
+
instagramUrl = _ref.instagramUrl,
|
|
194
|
+
instagramImageUrl = _ref.instagramImageUrl,
|
|
195
|
+
className = _ref.className,
|
|
196
|
+
wordpressSiteUrl = _ref.wordpressSiteUrl,
|
|
197
|
+
tiktokUrl = _ref.tiktokUrl,
|
|
198
|
+
tiktokImageUrl = _ref.tiktokImageUrl;
|
|
199
|
+
return /*#__PURE__*/React__default.createElement(FooterConnectContainer, {
|
|
200
|
+
className: className
|
|
201
|
+
}, /*#__PURE__*/React__default.createElement(FooterLogo, {
|
|
202
|
+
className: "footer__logo",
|
|
203
|
+
src: footerLogoImageUrl,
|
|
204
|
+
onClick: function onClick() {
|
|
205
|
+
window.location.href = wordpressSiteUrl;
|
|
206
|
+
}
|
|
207
|
+
}), /*#__PURE__*/React__default.createElement(FooterTitleLink, {
|
|
208
|
+
className: "footer__link"
|
|
209
|
+
}, "Connect"), /*#__PURE__*/React__default.createElement(SocialIconWrapper, null, /*#__PURE__*/React__default.createElement(FooterLink, {
|
|
210
|
+
target: "_blank",
|
|
211
|
+
href: facebookUrl
|
|
212
|
+
}, /*#__PURE__*/React__default.createElement(SocialIcon, {
|
|
213
|
+
src: facebookIconUrl
|
|
214
|
+
})), /*#__PURE__*/React__default.createElement(FooterLink, {
|
|
215
|
+
target: "_blank",
|
|
216
|
+
href: instagramUrl
|
|
217
|
+
}, /*#__PURE__*/React__default.createElement(SocialIcon, {
|
|
218
|
+
src: instagramImageUrl
|
|
219
|
+
})), /*#__PURE__*/React__default.createElement(FooterLink, {
|
|
220
|
+
target: "_blank",
|
|
221
|
+
href: tiktokUrl
|
|
222
|
+
}, /*#__PURE__*/React__default.createElement(SocialIcon, {
|
|
223
|
+
src: tiktokImageUrl
|
|
224
|
+
}))));
|
|
225
|
+
}
|
|
221
226
|
|
|
222
|
-
/** RareStep footer component */
|
|
227
|
+
/** RareStep footer component */
|
|
223
228
|
|
|
224
|
-
var RareStepFooter = function RareStepFooter(_ref) {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
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, {
|
|
229
|
+
var RareStepFooter = function RareStepFooter(_ref) {
|
|
230
|
+
var footerImageUrl = _ref.footerImageUrl,
|
|
231
|
+
footerLogoImageUrl = _ref.footerLogoImageUrl,
|
|
232
|
+
facebookUrl = _ref.facebookUrl,
|
|
233
|
+
facebookIconUrl = _ref.facebookIconUrl,
|
|
234
|
+
instagramUrl = _ref.instagramUrl,
|
|
235
|
+
instagramImageUrl = _ref.instagramImageUrl,
|
|
236
|
+
paymentImage = _ref.paymentImage,
|
|
237
|
+
footerLinks = _ref.footerLinks,
|
|
238
|
+
wordpressSiteUrl = _ref.wordpressSiteUrl,
|
|
239
|
+
tiktokUrl = _ref.tiktokUrl,
|
|
240
|
+
tiktokImageUrl = _ref.tiktokImageUrl;
|
|
241
|
+
return /*#__PURE__*/React__default.createElement(FooterWrapper, null, /*#__PURE__*/React__default.createElement(PageContainer, {
|
|
242
|
+
className: "footer__page-container"
|
|
243
|
+
}, /*#__PURE__*/React__default.createElement(FooterLinksWrapper, {
|
|
244
|
+
className: "footer__links-wrapper"
|
|
245
|
+
}, footerLinks.map(function (footerLink, index) {
|
|
246
|
+
return /*#__PURE__*/React__default.createElement(FooterLinksContainer, {
|
|
247
|
+
className: "footer__links",
|
|
248
|
+
key: index
|
|
249
|
+
}, /*#__PURE__*/React__default.createElement(FooterTitleLink, {
|
|
250
250
|
target: footerLink !== null && footerLink !== void 0 && footerLink.openInNewTab ? '_blank' : '_self',
|
|
251
251
|
className: "footer__link",
|
|
252
|
-
href:
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
252
|
+
href: footerLink.url
|
|
253
|
+
}, footerLink.title), footerLink.links.map(function (link, linkIndex) {
|
|
254
|
+
return /*#__PURE__*/React__default.createElement(FooterLink, {
|
|
255
|
+
target: footerLink !== null && footerLink !== void 0 && footerLink.openInNewTab ? '_blank' : '_self',
|
|
256
|
+
className: "footer__link",
|
|
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",
|
|
257
273
|
footerLogoImageUrl: footerLogoImageUrl,
|
|
258
274
|
facebookUrl: facebookUrl,
|
|
259
275
|
facebookIconUrl: facebookIconUrl,
|
|
@@ -262,26 +278,17 @@ var RareStepFooter = function RareStepFooter(_ref) {
|
|
|
262
278
|
wordpressSiteUrl: wordpressSiteUrl,
|
|
263
279
|
tiktokUrl: tiktokUrl,
|
|
264
280
|
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
|
|
265
287
|
}));
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
|
|
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
|
-
};
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
var index = themed(RareStepFooter);
|
|
284
291
|
|
|
285
|
-
|
|
292
|
+
return index;
|
|
286
293
|
|
|
287
|
-
|
|
294
|
+
})));
|