ecomlab-components-next 0.1.6 → 0.1.8
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/Button.js +9 -4
- package/dist/components/Buttons/ButtonBasic/ButtonBasic.js +82 -0
- package/dist/components/Buttons/ButtonBasic/ButtonBasic.scss +441 -0
- package/dist/components/Buttons/ButtonBasic/ButtonBasic.stories.js +65 -0
- package/dist/components/ConstructorComponents/ClientsAboutUs/ClientsAboutUs.js +78 -0
- package/dist/components/ConstructorComponents/ClientsAboutUs/ClientsAboutUs.scss +245 -0
- package/dist/components/ConstructorComponents/ClientsAboutUs/ClientsAboutUs.stories.js +22 -0
- package/package.json +1 -1
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _image = _interopRequireDefault(require("next/image"));
|
|
9
|
+
var _link = _interopRequireDefault(require("next/link"));
|
|
8
10
|
var _ButtonModule = _interopRequireDefault(require("./Button.module.scss"));
|
|
9
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
12
|
var Button = function Button(_ref) {
|
|
@@ -14,10 +16,13 @@ var Button = function Button(_ref) {
|
|
|
14
16
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15
17
|
_ref$variant = _ref.variant,
|
|
16
18
|
variant = _ref$variant === void 0 ? 'primary' : _ref$variant;
|
|
17
|
-
return /*#__PURE__*/_react["default"].createElement("
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
return /*#__PURE__*/_react["default"].createElement(_link["default"], {
|
|
20
|
+
href: '/analytics'
|
|
21
|
+
}, /*#__PURE__*/_react["default"].createElement("button", {
|
|
22
|
+
className: "".concat(_ButtonModule["default"].button, " ").concat(_ButtonModule["default"][variant])
|
|
23
|
+
// onClick={onClick}
|
|
24
|
+
,
|
|
20
25
|
disabled: disabled
|
|
21
|
-
}, label);
|
|
26
|
+
}, label));
|
|
22
27
|
};
|
|
23
28
|
var _default = exports["default"] = Button;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
require("./ButtonBasic.scss");
|
|
8
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
9
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
10
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15
|
+
var ButtonBasic = function ButtonBasic(_ref) {
|
|
16
|
+
var text = _ref.text,
|
|
17
|
+
_onClick = _ref.onClick,
|
|
18
|
+
_ref$width = _ref.width,
|
|
19
|
+
width = _ref$width === void 0 ? 210 : _ref$width,
|
|
20
|
+
minWidth = _ref.minWidth,
|
|
21
|
+
size = _ref.size,
|
|
22
|
+
_ref$disabled = _ref.disabled,
|
|
23
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
24
|
+
props = _ref.props,
|
|
25
|
+
maxWidth = _ref.maxWidth,
|
|
26
|
+
style = _ref.style,
|
|
27
|
+
_ref$blue = _ref.blue,
|
|
28
|
+
blue = _ref$blue === void 0 ? false : _ref$blue,
|
|
29
|
+
_ref$orange = _ref.orange,
|
|
30
|
+
orange = _ref$orange === void 0 ? false : _ref$orange,
|
|
31
|
+
_ref$red = _ref.red,
|
|
32
|
+
red = _ref$red === void 0 ? false : _ref$red,
|
|
33
|
+
_ref$green = _ref.green,
|
|
34
|
+
green = _ref$green === void 0 ? false : _ref$green,
|
|
35
|
+
_ref$whiteBlue = _ref.whiteBlue,
|
|
36
|
+
whiteBlue = _ref$whiteBlue === void 0 ? false : _ref$whiteBlue,
|
|
37
|
+
_ref$grey = _ref.grey,
|
|
38
|
+
grey = _ref$grey === void 0 ? false : _ref$grey,
|
|
39
|
+
_ref$violet = _ref.violet,
|
|
40
|
+
violet = _ref$violet === void 0 ? false : _ref$violet,
|
|
41
|
+
_ref$lilac = _ref.lilac,
|
|
42
|
+
lilac = _ref$lilac === void 0 ? false : _ref$lilac,
|
|
43
|
+
_ref$action = _ref.action,
|
|
44
|
+
action = _ref$action === void 0 ? false : _ref$action,
|
|
45
|
+
_ref$white = _ref.white,
|
|
46
|
+
white = _ref$white === void 0 ? false : _ref$white,
|
|
47
|
+
_ref$whiteGreen = _ref.whiteGreen,
|
|
48
|
+
whiteGreen = _ref$whiteGreen === void 0 ? false : _ref$whiteGreen,
|
|
49
|
+
_ref$darkViolet = _ref.darkViolet,
|
|
50
|
+
darkViolet = _ref$darkViolet === void 0 ? false : _ref$darkViolet;
|
|
51
|
+
// Если передан только "width" - то она становится статичной шириной, кнопка не расширяется и не сужается
|
|
52
|
+
// Если передана "minWidth" кнопка становится пластичной и тянется до with(наибольшей ширины), minWidt(наименьшей ширины)
|
|
53
|
+
|
|
54
|
+
var colorClassName = function colorClassName() {
|
|
55
|
+
if (blue) return 'blue-btn';
|
|
56
|
+
if (whiteBlue) return 'white-blue-btn';
|
|
57
|
+
if (green) return 'green-btn';
|
|
58
|
+
if (orange) return 'orange-btn';
|
|
59
|
+
if (red) return 'red-btn';
|
|
60
|
+
if (grey) return 'grey-btn';
|
|
61
|
+
if (violet) return 'violet-btn';
|
|
62
|
+
if (lilac) return 'lilac-btn';
|
|
63
|
+
if (action) return 'action-btn';
|
|
64
|
+
if (white) return 'white-btn';
|
|
65
|
+
if (whiteGreen) return 'white-green-btn';
|
|
66
|
+
if (darkViolet) return 'dark-violet-btn';
|
|
67
|
+
};
|
|
68
|
+
return /*#__PURE__*/React.createElement("button", _extends({
|
|
69
|
+
className: "btn-basic ".concat(colorClassName() || 'violet-btn'),
|
|
70
|
+
disabled: disabled,
|
|
71
|
+
style: _objectSpread(_defineProperty({
|
|
72
|
+
minWidth: minWidth ? minWidth : '',
|
|
73
|
+
width: width ? width : '',
|
|
74
|
+
maxWidth: maxWidth ? maxWidth : '',
|
|
75
|
+
height: size ? size : '40px'
|
|
76
|
+
}, "maxWidth", maxWidth ? maxWidth : ''), style),
|
|
77
|
+
onClick: function onClick(e) {
|
|
78
|
+
return _onClick(e);
|
|
79
|
+
}
|
|
80
|
+
}, props), text);
|
|
81
|
+
};
|
|
82
|
+
var _default = exports["default"] = ButtonBasic;
|
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
.btn-basic {
|
|
2
|
+
width: 100%;
|
|
3
|
+
min-height: 32px;
|
|
4
|
+
font-size: 13px;
|
|
5
|
+
// max-width: 200px;
|
|
6
|
+
width: 200px;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
border: none;
|
|
9
|
+
//margin-top: 32px;
|
|
10
|
+
color: white;
|
|
11
|
+
font-family: Rubik;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
min-width: 120px;
|
|
14
|
+
padding: 4px 8px;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.green-btn {
|
|
19
|
+
background-color: #22C55E;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
background: #16A34A;
|
|
23
|
+
transition: 0.5s;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&[disabled] {
|
|
27
|
+
position: relative;
|
|
28
|
+
cursor: not-allowed;
|
|
29
|
+
background-color: #BBF7D0;
|
|
30
|
+
color: #ffffff;
|
|
31
|
+
-webkit-box-shadow: none;
|
|
32
|
+
-moz-box-shadow: none;
|
|
33
|
+
box-shadow: none;
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
box-shadow: none;
|
|
37
|
+
background-color: #BBF7D0;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:active {
|
|
42
|
+
border: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.blue-btn {
|
|
49
|
+
background-color: #1890FF;
|
|
50
|
+
box-shadow: 2px 4px 10px 0px rgba(24, 144, 255, 0.25);
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
-webkit-box-shadow: none;
|
|
54
|
+
-moz-box-shadow: none;
|
|
55
|
+
box-shadow: none;
|
|
56
|
+
background-color: #005DB2;
|
|
57
|
+
transition: 0.5s;
|
|
58
|
+
box-shadow: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:active {
|
|
62
|
+
background-color: #1890FF;
|
|
63
|
+
border: 2px solid #005DB2;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[disabled] {
|
|
67
|
+
position: relative;
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
background-color: #B2DAFF;
|
|
70
|
+
color: #ffffff;
|
|
71
|
+
-webkit-box-shadow: none;
|
|
72
|
+
-moz-box-shadow: none;
|
|
73
|
+
box-shadow: none;
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
box-shadow: none;
|
|
77
|
+
background-color: #B2DAFF;
|
|
78
|
+
box-shadow: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:active {
|
|
82
|
+
border: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.orange-btn {
|
|
89
|
+
background-color: #FB923C;
|
|
90
|
+
|
|
91
|
+
&:hover {
|
|
92
|
+
-webkit-box-shadow: none;
|
|
93
|
+
-moz-box-shadow: none;
|
|
94
|
+
box-shadow: none;
|
|
95
|
+
background-color: #F97316;
|
|
96
|
+
transition: 0.5s;
|
|
97
|
+
box-shadow: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:active {
|
|
101
|
+
background-color: #FB923C;
|
|
102
|
+
border: 2px solid #F97316;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&[disabled] {
|
|
106
|
+
position: relative;
|
|
107
|
+
cursor: not-allowed;
|
|
108
|
+
background-color: #FFEDD5;
|
|
109
|
+
color: #ffffff;
|
|
110
|
+
-webkit-box-shadow: none;
|
|
111
|
+
-moz-box-shadow: none;
|
|
112
|
+
box-shadow: none;
|
|
113
|
+
|
|
114
|
+
&:hover {
|
|
115
|
+
box-shadow: none;
|
|
116
|
+
background-color: #FFEDD5;
|
|
117
|
+
box-shadow: none;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:active {
|
|
121
|
+
border: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.white-green-btn {
|
|
128
|
+
color: #0B110B;
|
|
129
|
+
background: white;
|
|
130
|
+
border: 1px solid #51CA64;
|
|
131
|
+
|
|
132
|
+
&:hover {
|
|
133
|
+
background-color: #E0E7F2;
|
|
134
|
+
border: 1px solid #0B110B;
|
|
135
|
+
transition: all 0.5s;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:active {
|
|
139
|
+
transition: all 0.5s;
|
|
140
|
+
border: 2px solid #51CA64;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&[disabled] {
|
|
144
|
+
position: relative;
|
|
145
|
+
cursor: not-allowed;
|
|
146
|
+
border: none;
|
|
147
|
+
opacity: 0.5;
|
|
148
|
+
color: #0B110B;
|
|
149
|
+
-webkit-box-shadow: none;
|
|
150
|
+
-moz-box-shadow: none;
|
|
151
|
+
box-shadow: none;
|
|
152
|
+
border: 1px solid #0B110B;
|
|
153
|
+
|
|
154
|
+
&:hover {
|
|
155
|
+
background-color: #fff;
|
|
156
|
+
border: 1px solid #0B110B;
|
|
157
|
+
box-shadow: none;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:active {
|
|
161
|
+
border: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.white-blue-btn {
|
|
168
|
+
color: #1890FF;
|
|
169
|
+
background: white;
|
|
170
|
+
border: 1px solid #1890FF;
|
|
171
|
+
|
|
172
|
+
&:hover {
|
|
173
|
+
background-color: #E0E7F2;
|
|
174
|
+
border: 1px solid #1890FF;
|
|
175
|
+
transition: all 0.5s;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&:active {
|
|
179
|
+
transition: all 0.5s;
|
|
180
|
+
border: 2px solid #1890FF;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&[disabled] {
|
|
184
|
+
position: relative;
|
|
185
|
+
cursor: not-allowed;
|
|
186
|
+
background-color: #E1E6EA;
|
|
187
|
+
border: none;
|
|
188
|
+
color: #A9B3BC;
|
|
189
|
+
-webkit-box-shadow: none;
|
|
190
|
+
-moz-box-shadow: none;
|
|
191
|
+
box-shadow: none;
|
|
192
|
+
|
|
193
|
+
&:hover {
|
|
194
|
+
box-shadow: none;
|
|
195
|
+
border: none;
|
|
196
|
+
background-color: #E1E6EA;
|
|
197
|
+
box-shadow: none;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&:active {
|
|
201
|
+
border: none;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.red-btn {
|
|
208
|
+
background-color: #F87171;
|
|
209
|
+
color: white;
|
|
210
|
+
|
|
211
|
+
&:hover {
|
|
212
|
+
background-color: #EF4444;
|
|
213
|
+
transition: 0.5s;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&:active {
|
|
217
|
+
background-color: #F87171;
|
|
218
|
+
border: 2px solid #EF4444;
|
|
219
|
+
transition: 0.5s;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
&[disabled] {
|
|
223
|
+
position: relative;
|
|
224
|
+
cursor: not-allowed;
|
|
225
|
+
background-color: #FEE2E2;
|
|
226
|
+
color: #ffffff;
|
|
227
|
+
-webkit-box-shadow: none;
|
|
228
|
+
-moz-box-shadow: none;
|
|
229
|
+
box-shadow: none;
|
|
230
|
+
|
|
231
|
+
&:hover {
|
|
232
|
+
box-shadow: none;
|
|
233
|
+
background-color: #FEE2E2;
|
|
234
|
+
box-shadow: none;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&:active {
|
|
238
|
+
border: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.grey-btn {
|
|
245
|
+
color: #0B110B;
|
|
246
|
+
text-align: center;
|
|
247
|
+
font-family: NunitoSans;
|
|
248
|
+
font-size: 13px;
|
|
249
|
+
font-style: normal;
|
|
250
|
+
font-weight: 700;
|
|
251
|
+
line-height: 16px;
|
|
252
|
+
background: #D2D9D2;
|
|
253
|
+
|
|
254
|
+
&:hover {
|
|
255
|
+
background-color: #BBC6BB;
|
|
256
|
+
transition: all 0.5s;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&:active {
|
|
260
|
+
transition: all 0.5s;
|
|
261
|
+
border: 3px solid #EDEFED;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&[disabled] {
|
|
265
|
+
position: relative;
|
|
266
|
+
cursor: not-allowed;
|
|
267
|
+
background-color: #EFEEF2;
|
|
268
|
+
border: none;
|
|
269
|
+
color: #D2D9D2;
|
|
270
|
+
-webkit-box-shadow: none;
|
|
271
|
+
-moz-box-shadow: none;
|
|
272
|
+
box-shadow: none;
|
|
273
|
+
|
|
274
|
+
&:hover {
|
|
275
|
+
box-shadow: none;
|
|
276
|
+
border: none;
|
|
277
|
+
background-color: #F1F5F9;
|
|
278
|
+
box-shadow: none;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&:active {
|
|
282
|
+
border: none;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.violet-btn, .dark-violet-btn {
|
|
289
|
+
background-color: #3900B1;
|
|
290
|
+
color: white;
|
|
291
|
+
|
|
292
|
+
&:hover {
|
|
293
|
+
background-color: #24006F;
|
|
294
|
+
transition: 0.5s;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&:active {
|
|
298
|
+
background-color: #3900B1;
|
|
299
|
+
border: 2px solid #24006F;
|
|
300
|
+
transition: 0.5s;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&[disabled] {
|
|
304
|
+
position: relative;
|
|
305
|
+
cursor: not-allowed;
|
|
306
|
+
background-color: #ABADE4;
|
|
307
|
+
color: #EAEAF9;
|
|
308
|
+
-webkit-box-shadow: none;
|
|
309
|
+
-moz-box-shadow: none;
|
|
310
|
+
box-shadow: none;
|
|
311
|
+
|
|
312
|
+
&:hover {
|
|
313
|
+
box-shadow: none;
|
|
314
|
+
background-color: #ABADE4;
|
|
315
|
+
box-shadow: none;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&:active {
|
|
319
|
+
border: none;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.dark-violet-btn {
|
|
326
|
+
background-color: #3B0764;
|
|
327
|
+
|
|
328
|
+
&:hover {
|
|
329
|
+
background-color: #7A2ABA;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.lilac-btn {
|
|
334
|
+
background-color: #E4E5F9;
|
|
335
|
+
color: #555C9E;
|
|
336
|
+
|
|
337
|
+
&:hover {
|
|
338
|
+
background-color: #C5C8F0;
|
|
339
|
+
transition: 0.5s;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&:active {
|
|
343
|
+
background-color: #C5C8F0;
|
|
344
|
+
border: 2px solid #3900B1;
|
|
345
|
+
transition: 0.5s;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&[disabled] {
|
|
349
|
+
position: relative;
|
|
350
|
+
cursor: not-allowed;
|
|
351
|
+
background-color: #fff;
|
|
352
|
+
color: #A9B3BC;
|
|
353
|
+
-webkit-box-shadow: none;
|
|
354
|
+
-moz-box-shadow: none;
|
|
355
|
+
box-shadow: none;
|
|
356
|
+
border: solid 2px rgba(57, 0, 177, 0.20);
|
|
357
|
+
|
|
358
|
+
&:hover {
|
|
359
|
+
box-shadow: none;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&:active {
|
|
363
|
+
border: border 2px #cfcbf0;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.action-btn {
|
|
369
|
+
background: #00B45E;
|
|
370
|
+
color: #F0FDF4;
|
|
371
|
+
text-align: center;
|
|
372
|
+
font-family: NunitoSans;
|
|
373
|
+
font-size: 13px;
|
|
374
|
+
font-style: normal;
|
|
375
|
+
font-weight: 500;
|
|
376
|
+
line-height: 16px;
|
|
377
|
+
border-radius: 8px;
|
|
378
|
+
white-space: nowrap;
|
|
379
|
+
overflow: hidden;
|
|
380
|
+
text-overflow: ellipsis;
|
|
381
|
+
|
|
382
|
+
&:hover {
|
|
383
|
+
background: #15803D;
|
|
384
|
+
transition: 0.5s;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
&[disabled] {
|
|
388
|
+
position: relative;
|
|
389
|
+
cursor: not-allowed;
|
|
390
|
+
background: #C8D0CB;
|
|
391
|
+
|
|
392
|
+
&:hover {
|
|
393
|
+
box-shadow: none;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
&:active {
|
|
397
|
+
border: border 2px #cfcbf0;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.white-btn {
|
|
403
|
+
color: #51CA64;
|
|
404
|
+
background: white;
|
|
405
|
+
border: 1px solid #51CA64;
|
|
406
|
+
|
|
407
|
+
&:hover {
|
|
408
|
+
background-color: #51CA64;
|
|
409
|
+
color: #fff;
|
|
410
|
+
// border: 1px solid #51CA64;
|
|
411
|
+
transition: all 0.5s;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
&:active {
|
|
415
|
+
transition: all 0.5s;
|
|
416
|
+
border: 2px solid #51CA64;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
&[disabled] {
|
|
420
|
+
position: relative;
|
|
421
|
+
cursor: not-allowed;
|
|
422
|
+
background-color: #E1E6EA;
|
|
423
|
+
border: none;
|
|
424
|
+
color: #A9B3BC;
|
|
425
|
+
-webkit-box-shadow: none;
|
|
426
|
+
-moz-box-shadow: none;
|
|
427
|
+
box-shadow: none;
|
|
428
|
+
|
|
429
|
+
&:hover {
|
|
430
|
+
box-shadow: none;
|
|
431
|
+
border: none;
|
|
432
|
+
background-color: #E1E6EA;
|
|
433
|
+
box-shadow: none;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
&:active {
|
|
437
|
+
border: none;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
}
|
|
441
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.Default = void 0;
|
|
7
|
+
var _ButtonBasic = _interopRequireDefault(require("./ButtonBasic"));
|
|
8
|
+
var _addonActions = require("@storybook/addon-actions");
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
|
+
var _default = exports["default"] = {
|
|
12
|
+
title: 'ButtonBasic',
|
|
13
|
+
component: _ButtonBasic["default"],
|
|
14
|
+
args: {
|
|
15
|
+
text: 'Кнопка',
|
|
16
|
+
onClick: _addonActions.action,
|
|
17
|
+
width: '210px',
|
|
18
|
+
minWidth: '210px',
|
|
19
|
+
size: '40px',
|
|
20
|
+
disabled: false,
|
|
21
|
+
maxWidth: '210px',
|
|
22
|
+
style: false,
|
|
23
|
+
blue: false,
|
|
24
|
+
orange: false,
|
|
25
|
+
red: false,
|
|
26
|
+
green: false,
|
|
27
|
+
whiteBlue: false,
|
|
28
|
+
grey: false
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var Default = exports.Default = {
|
|
32
|
+
render: function render(args) {
|
|
33
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
style: {
|
|
35
|
+
display: 'flex',
|
|
36
|
+
gap: '10px',
|
|
37
|
+
flexDirection: 'column'
|
|
38
|
+
}
|
|
39
|
+
}, /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
40
|
+
blue: true
|
|
41
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
42
|
+
whiteBlue: true
|
|
43
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
44
|
+
green: true
|
|
45
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
46
|
+
orange: true
|
|
47
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
48
|
+
red: true
|
|
49
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
50
|
+
grey: true
|
|
51
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
52
|
+
violet: true
|
|
53
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
54
|
+
lilac: true
|
|
55
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
56
|
+
action: true
|
|
57
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
58
|
+
white: true
|
|
59
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
60
|
+
whiteGreen: true
|
|
61
|
+
})), /*#__PURE__*/React.createElement(_ButtonBasic["default"], _extends({}, args, {
|
|
62
|
+
darkViolet: true
|
|
63
|
+
})));
|
|
64
|
+
}
|
|
65
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
'use client';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _ButtonBasic = _interopRequireDefault(require("@/components/Buttons/ButtonBasic/ButtonBasic"));
|
|
9
|
+
var _react = require("react");
|
|
10
|
+
require("./ClientsAboutUs.scss");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
13
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
15
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
16
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
17
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
18
|
+
var list_about_us = [{
|
|
19
|
+
title: 'До сотрудничества с ECOMRU:',
|
|
20
|
+
description: /*#__PURE__*/React.createElement(React.Fragment, null, "\xB7 \u0411\u043E\u043B\u0435\u0435 4 \u0447\u0430\u0441\u043E\u0432 \u0432 \u0434\u0435\u043D\u044C \u0443\u0445\u043E\u0434\u0438\u043B\u043E \u043D\u0430 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432 (\u0446\u0435\u043D\u044B, \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442, \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433\u043E\u0432\u044B\u0435 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u0438)", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "\xB7 \u0414\u043E\u0445\u043E\u0434\u043D\u043E\u0441\u0442\u044C \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u0441\u0442\u043E\u044F\u043B\u0430 \u043D\u0430 \u043C\u0435\u0441\u0442\u0435, \u0438\u0437-\u0437\u0430 \u043D\u0435\u0445\u0432\u0430\u0442\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043D\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u044B", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "\xB7 \u041D\u0435\u0431\u044B\u043B\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0438 \u0434\u043B\u044F \u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F")
|
|
21
|
+
}, {
|
|
22
|
+
title: 'При сотрудничестве с ECOMRU:',
|
|
23
|
+
description: /*#__PURE__*/React.createElement(React.Fragment, null, "\xB7 \u0417\u0430\u0442\u0440\u0430\u0442\u044B \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432 \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u043B\u0438\u0441\u044C \u0441 4 \u0447\u0430\u0441\u043E\u0432 \u0434\u043E 1 \u0447\u0430\u0441\u0430 \u0432 \u0434\u0435\u043D\u044C", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043B\u0438 \u0446\u0435\u043D\u043E\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435, \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0439 \u0438 \u0430\u0432\u0442\u043E\u043E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u043E\u0442\u0437\u044B\u0432\u044B", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "\xB7 \u0421\u043E\u0437\u0434\u0430\u043B\u0438 \u043C\u0430\u0433\u0430\u0437\u0438\u043D \u043D\u0430 OZON (\u0440\u0430\u043D\u044C\u0448\u0435 \u0431\u044B\u043B \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 Wildberries)", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "\xB7 \u0420\u0430\u0441\u0448\u0438\u0440\u0438\u043B\u0438 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442 \u043D\u0430 \u0442\u0440\u0435\u0442\u044C, \u043D\u0430\u0448\u043B\u0438 \u043D\u043E\u0432\u044B\u0435 \u043F\u0435\u0440\u0441\u043F\u0435\u043A\u0442\u0438\u0432\u043D\u044B\u0435 \u0442\u043E\u0432\u0430\u0440\u044B \u0432 \u0441\u0432\u043E\u0435\u0439 \u043D\u0438\u0448\u0435", /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), "\xB7 \u0423\u0432\u0435\u043B\u0438\u0447\u0438\u043B\u0438 \u043F\u0440\u0438\u0431\u044B\u043B\u044C \u0432\u0434\u0432\u043E\u0435, \u0438 \u043E\u043D\u0430 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u0442 \u0440\u0430\u0441\u0442\u0438 \u043A\u0430\u0436\u0434\u044B\u0439 \u043C\u0435\u0441\u044F\u0446")
|
|
24
|
+
}];
|
|
25
|
+
var ClientsAboutUs = function ClientsAboutUs(_ref) {
|
|
26
|
+
var blockquote = _ref.blockquote,
|
|
27
|
+
cite = _ref.cite,
|
|
28
|
+
title = _ref.title;
|
|
29
|
+
var _useState = (0, _react.useState)(''),
|
|
30
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
31
|
+
refPage = _useState2[0],
|
|
32
|
+
setRefPage = _useState2[1];
|
|
33
|
+
(0, _react.useEffect)(function () {
|
|
34
|
+
var _window;
|
|
35
|
+
var currentUrl = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.href;
|
|
36
|
+
setRefPage("?ref_page=".concat(currentUrl));
|
|
37
|
+
}, []);
|
|
38
|
+
return /*#__PURE__*/React.createElement("section", {
|
|
39
|
+
className: "clients-about-us"
|
|
40
|
+
}, title && /*#__PURE__*/React.createElement("h2", {
|
|
41
|
+
className: "clients-about-us__title"
|
|
42
|
+
}, title), (blockquote || cite) && /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
className: "clients-about-us__header"
|
|
44
|
+
}, blockquote && /*#__PURE__*/React.createElement("blockquote", {
|
|
45
|
+
className: "clients-about-us__blockquote"
|
|
46
|
+
}, blockquote), cite && /*#__PURE__*/React.createElement("cite", {
|
|
47
|
+
className: "clients-about-us__cite"
|
|
48
|
+
}, cite)), /*#__PURE__*/React.createElement("div", {
|
|
49
|
+
className: "clients-about-us__cards"
|
|
50
|
+
}, list_about_us.map(function (_ref2, ind) {
|
|
51
|
+
var title = _ref2.title,
|
|
52
|
+
description = _ref2.description,
|
|
53
|
+
btnName = _ref2.btnName;
|
|
54
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: ind == 1 ? 'clients-about-us__card-black' : 'clients-about-us__card'
|
|
56
|
+
}, /*#__PURE__*/React.createElement("h3", {
|
|
57
|
+
className: "clients-about-us__card-title"
|
|
58
|
+
}, title), /*#__PURE__*/React.createElement("p", {
|
|
59
|
+
className: "clients-about-us__card-description"
|
|
60
|
+
}, description), ind == 1 ? /*#__PURE__*/React.createElement(_ButtonBasic["default"], {
|
|
61
|
+
green: true,
|
|
62
|
+
text: btnName ? btnName : 'Подключиться',
|
|
63
|
+
onClick: function onClick() {
|
|
64
|
+
var _window2;
|
|
65
|
+
return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("https://lk.ecomru.ru/auth".concat(refPage), '_blunk');
|
|
66
|
+
},
|
|
67
|
+
width: "130px",
|
|
68
|
+
minWidth: "130px"
|
|
69
|
+
}) : /*#__PURE__*/React.createElement("button", {
|
|
70
|
+
onClick: function onClick() {
|
|
71
|
+
var _window3;
|
|
72
|
+
return (_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.open("https://lk.ecomru.ru/auth".concat(refPage), '_blunk');
|
|
73
|
+
},
|
|
74
|
+
className: "clients-about-us__card-btn"
|
|
75
|
+
}, btnName ? btnName : 'Подключиться'));
|
|
76
|
+
})));
|
|
77
|
+
};
|
|
78
|
+
var _default = exports["default"] = ClientsAboutUs;
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
.clients-about-us {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 30px;
|
|
5
|
+
|
|
6
|
+
&__title {
|
|
7
|
+
color: #333;
|
|
8
|
+
font-family: "Golos Text";
|
|
9
|
+
font-size: 42px;
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 500;
|
|
12
|
+
line-height: 51px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__header {
|
|
16
|
+
display: flex;
|
|
17
|
+
gap: 100px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__blockquote {
|
|
21
|
+
color: #333;
|
|
22
|
+
font-family: "Golos Text";
|
|
23
|
+
font-size: 22px;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
line-height: 32px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__cite {
|
|
30
|
+
color: #333;
|
|
31
|
+
font-family: "Golos Text";
|
|
32
|
+
font-size: 16px;
|
|
33
|
+
// font-style: normal;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
line-height: 24px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__items {
|
|
39
|
+
display: flex;
|
|
40
|
+
gap: 18px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__cards {
|
|
44
|
+
display: flex;
|
|
45
|
+
width: 100%;
|
|
46
|
+
gap: 18px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__card, &__card-black {
|
|
50
|
+
display: flex;
|
|
51
|
+
padding: 24px;
|
|
52
|
+
width: calc(100%);
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
align-items: flex-start;
|
|
55
|
+
gap: 24px;
|
|
56
|
+
border-radius: 20px;
|
|
57
|
+
background: #EEE;
|
|
58
|
+
min-width: 220px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__card-black {
|
|
62
|
+
background: #333333;
|
|
63
|
+
|
|
64
|
+
.clients-about-us__card-title, .clients-about-us__card-description {
|
|
65
|
+
color: #FFF;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__card-title {
|
|
70
|
+
color: #333;
|
|
71
|
+
font-family: "Golos Text";
|
|
72
|
+
font-size: 24px;
|
|
73
|
+
font-style: normal;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
line-height: 32px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__card-description {
|
|
79
|
+
color: #333;
|
|
80
|
+
font-family: "Golos Text";
|
|
81
|
+
font-size: 14px;
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
line-height: 20px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__card-btn {
|
|
88
|
+
display: flex;
|
|
89
|
+
height: 40px;
|
|
90
|
+
padding: 4px 18px;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
align-items: center;
|
|
93
|
+
gap: 10px;
|
|
94
|
+
border-radius: var(--Main-System-10px, 10px);
|
|
95
|
+
background: #333;
|
|
96
|
+
border: none;
|
|
97
|
+
color: #FFF;
|
|
98
|
+
text-align: center;
|
|
99
|
+
color: white;
|
|
100
|
+
font-family: Rubik;
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
margin-top: auto;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
|
|
105
|
+
&:hover {
|
|
106
|
+
background-color: inherit;
|
|
107
|
+
transition: 0.5s;
|
|
108
|
+
color: black;
|
|
109
|
+
border: 1px solid black;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@media (max-width: 1100px) {
|
|
116
|
+
.clients-about-us {
|
|
117
|
+
display: flex;
|
|
118
|
+
flex-direction: column;
|
|
119
|
+
gap: 24px;
|
|
120
|
+
|
|
121
|
+
&__title {
|
|
122
|
+
font-size: 28px;
|
|
123
|
+
line-height: 32px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__header {
|
|
127
|
+
display: flex;
|
|
128
|
+
gap: 40px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&__blockquote {
|
|
132
|
+
font-size: 22px;
|
|
133
|
+
line-height: 32px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&__cite {
|
|
137
|
+
font-size: 16px;
|
|
138
|
+
line-height: 24px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&__items {}
|
|
142
|
+
|
|
143
|
+
&__cards {}
|
|
144
|
+
|
|
145
|
+
&__card {}
|
|
146
|
+
|
|
147
|
+
&__card-title {}
|
|
148
|
+
|
|
149
|
+
&__card-description {}
|
|
150
|
+
|
|
151
|
+
&__card-btn {}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media (max-width: 768px) {
|
|
156
|
+
.clients-about-us {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
gap: 24px;
|
|
160
|
+
|
|
161
|
+
&__title {
|
|
162
|
+
font-size: 28px;
|
|
163
|
+
line-height: 32px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&__header {
|
|
167
|
+
display: flex;
|
|
168
|
+
gap: 40px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&__blockquote {
|
|
172
|
+
font-size: 22px;
|
|
173
|
+
line-height: 32px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&__cite {
|
|
177
|
+
font-size: 16px;
|
|
178
|
+
line-height: 24px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&__items {}
|
|
182
|
+
|
|
183
|
+
&__cards {
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&__card {}
|
|
188
|
+
|
|
189
|
+
&__card-title {}
|
|
190
|
+
|
|
191
|
+
&__card-description {}
|
|
192
|
+
|
|
193
|
+
&__card-btn {}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@media (max-width: 430px) {
|
|
198
|
+
.clients-about-us {
|
|
199
|
+
display: flex;
|
|
200
|
+
flex-direction: column;
|
|
201
|
+
gap: 24px;
|
|
202
|
+
|
|
203
|
+
&__title {
|
|
204
|
+
font-size: 20px;
|
|
205
|
+
line-height: 24px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&__header {
|
|
209
|
+
flex-direction: column;
|
|
210
|
+
gap: 22px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&__blockquote {
|
|
214
|
+
font-size: 18px;
|
|
215
|
+
line-height: 24px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&__cite {
|
|
219
|
+
font-size: 16px;
|
|
220
|
+
line-height: 24px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&__items {}
|
|
224
|
+
|
|
225
|
+
&__cards {
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&__card {
|
|
230
|
+
padding: 24px;
|
|
231
|
+
gap: 20px;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&__card-title {
|
|
235
|
+
font-size: 16px;
|
|
236
|
+
line-height: 24px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&__card-description {
|
|
240
|
+
gap: 14px;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&__card-btn {}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.ClientsAboutUsTest = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _ClientsAboutUs = _interopRequireDefault(require("./ClientsAboutUs"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
// import { CenterElement } from '../../../../.storybook/decorators';
|
|
11
|
+
// import { withRouter } from 'storybook-addon-react-router-v6'
|
|
12
|
+
var _default = exports["default"] = {
|
|
13
|
+
title: 'ClientsAboutUs',
|
|
14
|
+
component: _ClientsAboutUs["default"]
|
|
15
|
+
// decorators: [
|
|
16
|
+
// CenterElement,
|
|
17
|
+
// withRouter
|
|
18
|
+
// ]
|
|
19
|
+
};
|
|
20
|
+
var ClientsAboutUsTest = exports.ClientsAboutUsTest = function ClientsAboutUsTest() {
|
|
21
|
+
return /*#__PURE__*/React.createElement(_ClientsAboutUs["default"], null);
|
|
22
|
+
};
|