ecomlab-components-next 0.1.257 → 0.1.260
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/Buttons/ButtonBasicV2/ButtonBasicV2.js +12 -39
- package/dist/components/Buttons/ButtonBasicV2/ButtonBasicV2.scss +44 -36
- package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.module.scss +99 -181
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.js +24 -33
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.scss +208 -194
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.js +10 -7
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +114 -145
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.js +10 -11
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.scss +162 -158
- package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.js +8 -8
- package/dist/components/ConstructorComponents/CardsWithButton/CardsWithButton.scss +33 -54
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.js +22 -35
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +68 -193
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +24 -15
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +145 -110
- package/dist/components/ConstructorComponents/FormV2/FormV2.js +12 -7
- package/dist/components/ConstructorComponents/FormV2/FormV2.scss +28 -43
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.js +1 -1
- package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.js +9 -9
- package/dist/components/ConstructorComponents/LogosStrip/LogosStrip.scss +30 -43
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +1 -1
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.js +15 -11
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +56 -115
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.scss +56 -42
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.js +12 -12
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.scss +47 -45
- package/dist/components/ConstructorComponents/ServicesSectionV2/ServicesSectionV2.js +5 -3
- package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.js +9 -4
- package/dist/components/ConstructorComponents/SmartReplies/SmartReplies.scss +35 -57
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.js +5 -9
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.module.scss +46 -83
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.js +25 -27
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +156 -185
- package/dist/components/ConstructorComponents/VideoBlockV2/VideoBlockV2.scss +26 -28
- package/dist/components/ConstructorComponents/variables.scss +1 -1
- package/package.json +1 -1
|
@@ -9,30 +9,34 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _image = _interopRequireDefault(require("next/image"));
|
|
10
10
|
var _phone = _interopRequireDefault(require("./img/phone.png"));
|
|
11
11
|
require("./PhoneBlockV2.scss");
|
|
12
|
+
var _ButtonBasicV = _interopRequireDefault(require("@/components/Buttons/ButtonBasicV2/ButtonBasicV2"));
|
|
12
13
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
14
|
function _objectDestructuringEmpty(t) { if (null == t) throw new TypeError("Cannot destructure " + t); }
|
|
14
15
|
var PhoneBlockV2 = function PhoneBlockV2(_ref) {
|
|
15
16
|
_objectDestructuringEmpty(_ref);
|
|
16
17
|
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
17
|
-
className: "phone-
|
|
18
|
+
className: "phone-block-v2"
|
|
18
19
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
19
|
-
className: "phone-
|
|
20
|
+
className: "phone-block-v2__content"
|
|
20
21
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
21
|
-
className: "phone-
|
|
22
|
+
className: "phone-block-v2__badge"
|
|
22
23
|
}, "Telegram-\u043A\u0430\u043D\u0430\u043B"), /*#__PURE__*/_react["default"].createElement("h2", {
|
|
23
|
-
className: "phone-
|
|
24
|
+
className: "phone-block-v2__title"
|
|
24
25
|
}, "\u0417\u0430\u0445\u043E\u0434\u0438 \u0432 \u043D\u0430\u0448 ", /*#__PURE__*/_react["default"].createElement("span", null, "Telegram-\u043A\u0430\u043D\u0430\u043B"), ", \u0442\u0430\u043C \u043C\u044B \u0440\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u0434\u0435\u043B\u0438\u043C\u0441\u044F \u043F\u043E\u043B\u0435\u0437\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0439 \u0438 \u043D\u0430\u0448\u0438\u043C\u0438 \u043A\u0435\u0439\u0441\u0430\u043C\u0438"), /*#__PURE__*/_react["default"].createElement("p", {
|
|
25
|
-
className: "phone-
|
|
26
|
-
}, "\u0422\u0430\u043C \u0442\u044B \u043D\u0430\u0439\u0434\u0451\u0448\u044C \u0435\u0434\u0438\u043D\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u0438\u043A\u043E\u0432, \u043F\u043E\u0434\u0435\u043B\u0438\u0448\u044C\u0441\u044F \u043E\u043F\u044B\u0442\u043E\u043C \u0438 \u0437\u0430\u0434\u0430\u0448\u044C \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u044B \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0442\u0432\u0435\u0442\u0438\u043C"), /*#__PURE__*/_react["default"].createElement("
|
|
27
|
-
className: "phone-
|
|
26
|
+
className: "phone-block-v2__description"
|
|
27
|
+
}, "\u0422\u0430\u043C \u0442\u044B \u043D\u0430\u0439\u0434\u0451\u0448\u044C \u0435\u0434\u0438\u043D\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u0438\u043A\u043E\u0432, \u043F\u043E\u0434\u0435\u043B\u0438\u0448\u044C\u0441\u044F \u043E\u043F\u044B\u0442\u043E\u043C \u0438 \u0437\u0430\u0434\u0430\u0448\u044C \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B, \u043D\u0430 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043C\u044B \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0442\u0432\u0435\u0442\u0438\u043C"), /*#__PURE__*/_react["default"].createElement(_ButtonBasicV["default"], {
|
|
28
|
+
className: "phone-block-v2__btn",
|
|
29
|
+
green: true,
|
|
28
30
|
onClick: function onClick() {
|
|
29
31
|
var _window;
|
|
30
32
|
return (_window = window) === null || _window === void 0 ? void 0 : _window.open('https://t.me/itkasha', '_blank');
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
},
|
|
34
|
+
text: 'Наши новости →',
|
|
35
|
+
size: "40px"
|
|
36
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
37
|
+
className: "phone-block-v2__image-box"
|
|
34
38
|
}, /*#__PURE__*/_react["default"].createElement(_image["default"], {
|
|
35
|
-
className: "phone-
|
|
39
|
+
className: "phone-block-v2__image",
|
|
36
40
|
src: _phone["default"],
|
|
37
41
|
alt: "Telegram phone"
|
|
38
42
|
})));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
2
|
@import '../variables.scss';
|
|
3
3
|
|
|
4
|
-
.phone-
|
|
4
|
+
.phone-block-v2 {
|
|
5
5
|
max-width: 1280px;
|
|
6
6
|
margin: 0 auto;
|
|
7
|
-
background:
|
|
7
|
+
background: $white;
|
|
8
8
|
border-radius: 24px;
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
overflow: hidden;
|
|
13
|
-
border: 1px solid
|
|
13
|
+
border: 1px solid $border;
|
|
14
14
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
|
|
15
15
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
16
16
|
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
// Отступы как в референсе (как у .how, .pricing, .reviews, .faq)
|
|
22
|
-
margin-top: 96px;
|
|
23
|
-
margin-bottom: 96px;
|
|
24
|
-
|
|
25
21
|
&:hover {
|
|
26
22
|
transform: translateY(-4px);
|
|
27
23
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
|
|
@@ -43,7 +39,6 @@
|
|
|
43
39
|
font-size: 13px;
|
|
44
40
|
font-weight: 600;
|
|
45
41
|
margin-bottom: 20px;
|
|
46
|
-
font-family: 'Manrope', sans-serif;
|
|
47
42
|
|
|
48
43
|
svg {
|
|
49
44
|
width: 16px;
|
|
@@ -52,13 +47,12 @@
|
|
|
52
47
|
}
|
|
53
48
|
|
|
54
49
|
&__title {
|
|
55
|
-
font-size:
|
|
50
|
+
font-size: 30px;
|
|
56
51
|
font-weight: 800;
|
|
57
52
|
line-height: 1.2;
|
|
58
53
|
letter-spacing: -1px;
|
|
59
|
-
color:
|
|
54
|
+
color: $text;
|
|
60
55
|
margin-bottom: 16px;
|
|
61
|
-
font-family: 'Manrope', sans-serif;
|
|
62
56
|
|
|
63
57
|
span {
|
|
64
58
|
color: $green;
|
|
@@ -68,76 +62,58 @@
|
|
|
68
62
|
&__description {
|
|
69
63
|
font-size: 15px;
|
|
70
64
|
line-height: 1.5;
|
|
71
|
-
color:
|
|
65
|
+
color: $muted;
|
|
72
66
|
margin-bottom: 32px;
|
|
73
67
|
max-width: 500px;
|
|
74
|
-
font-family: 'Manrope', sans-serif;
|
|
75
68
|
}
|
|
76
69
|
|
|
77
|
-
&
|
|
78
|
-
background: $green;
|
|
79
|
-
color: #FFFFFF;
|
|
80
|
-
border: none;
|
|
81
|
-
border-radius: 10px;
|
|
82
|
-
padding: 12px 28px;
|
|
83
|
-
font-size: 15px;
|
|
84
|
-
font-weight: 600;
|
|
85
|
-
font-family: 'Manrope', sans-serif;
|
|
86
|
-
cursor: pointer;
|
|
87
|
-
transition: all 0.2s ease;
|
|
88
|
-
display: inline-flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
gap: 8px;
|
|
91
|
-
|
|
92
|
-
&:hover {
|
|
93
|
-
background: $green;
|
|
94
|
-
transform: translateY(-1px);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&:active {
|
|
98
|
-
transform: translateY(0);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&__img-box {
|
|
70
|
+
&__image-box {
|
|
103
71
|
flex-shrink: 0;
|
|
72
|
+
padding: 24px 48px 24px 0;
|
|
104
73
|
}
|
|
105
74
|
|
|
106
|
-
&
|
|
75
|
+
&__image {
|
|
107
76
|
width: 220px;
|
|
108
77
|
height: auto;
|
|
109
78
|
display: block;
|
|
110
79
|
object-fit: contain;
|
|
111
80
|
}
|
|
81
|
+
|
|
82
|
+
@keyframes fadeUp {
|
|
83
|
+
from {
|
|
84
|
+
opacity: 0;
|
|
85
|
+
transform: translateY(24px);
|
|
86
|
+
}
|
|
87
|
+
to {
|
|
88
|
+
opacity: 1;
|
|
89
|
+
transform: translateY(0);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
112
92
|
}
|
|
113
93
|
|
|
114
|
-
//
|
|
115
|
-
@media (max-width:
|
|
116
|
-
.phone-
|
|
117
|
-
margin
|
|
118
|
-
margin-right: 32px;
|
|
94
|
+
// Планшет (до 1100px)
|
|
95
|
+
@media (max-width: 1100px) {
|
|
96
|
+
.phone-block-v2 {
|
|
97
|
+
margin: 0 24px;
|
|
119
98
|
|
|
120
99
|
&__title {
|
|
121
|
-
font-size:
|
|
100
|
+
font-size: 26px;
|
|
122
101
|
}
|
|
123
102
|
|
|
124
|
-
&
|
|
103
|
+
&__image {
|
|
125
104
|
width: 200px;
|
|
126
105
|
}
|
|
127
106
|
|
|
128
|
-
&
|
|
129
|
-
padding: 24px 40px 24px
|
|
107
|
+
&__image-box {
|
|
108
|
+
padding: 24px 40px 24px 0;
|
|
130
109
|
}
|
|
131
110
|
}
|
|
132
111
|
}
|
|
133
112
|
|
|
113
|
+
// Планшет вертикальный (до 900px) - перенос в колонку
|
|
134
114
|
@media (max-width: 900px) {
|
|
135
|
-
.phone-
|
|
115
|
+
.phone-block-v2 {
|
|
136
116
|
flex-direction: column;
|
|
137
|
-
margin-top: 60px;
|
|
138
|
-
margin-bottom: 60px;
|
|
139
|
-
margin-left: 24px;
|
|
140
|
-
margin-right: 24px;
|
|
141
117
|
|
|
142
118
|
&__content {
|
|
143
119
|
padding: 40px 32px 24px;
|
|
@@ -149,10 +125,6 @@
|
|
|
149
125
|
margin-right: auto;
|
|
150
126
|
}
|
|
151
127
|
|
|
152
|
-
&__title {
|
|
153
|
-
font-size: 28px;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
128
|
&__description {
|
|
157
129
|
font-size: 14px;
|
|
158
130
|
margin-left: auto;
|
|
@@ -160,43 +132,24 @@
|
|
|
160
132
|
max-width: 100%;
|
|
161
133
|
}
|
|
162
134
|
|
|
163
|
-
&
|
|
135
|
+
&__image-box {
|
|
164
136
|
margin: 0 24px 24px;
|
|
165
|
-
padding:
|
|
137
|
+
padding: 0;
|
|
166
138
|
display: flex;
|
|
167
139
|
justify-content: center;
|
|
168
140
|
}
|
|
169
141
|
|
|
170
|
-
&
|
|
142
|
+
&__image {
|
|
171
143
|
width: 180px;
|
|
172
144
|
}
|
|
173
|
-
|
|
174
|
-
&__button {
|
|
175
|
-
display: inline-flex;
|
|
176
|
-
justify-content: center;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
@media (max-width: 768px) {
|
|
182
|
-
.phone-block2 {
|
|
183
|
-
margin-top: 48px;
|
|
184
|
-
margin-bottom: 48px;
|
|
185
|
-
margin-left: 20px;
|
|
186
|
-
margin-right: 20px;
|
|
187
|
-
|
|
188
|
-
&__title {
|
|
189
|
-
font-size: 26px;
|
|
190
|
-
}
|
|
191
145
|
}
|
|
192
146
|
}
|
|
193
147
|
|
|
148
|
+
// Мобильная версия (до 600px)
|
|
194
149
|
@media (max-width: 600px) {
|
|
195
|
-
.phone-
|
|
196
|
-
margin
|
|
197
|
-
|
|
198
|
-
margin-left: 16px;
|
|
199
|
-
margin-right: 16px;
|
|
150
|
+
.phone-block-v2 {
|
|
151
|
+
margin: 0 20px;
|
|
152
|
+
border-radius: 20px;
|
|
200
153
|
|
|
201
154
|
&__title {
|
|
202
155
|
font-size: 24px;
|
|
@@ -206,30 +159,20 @@
|
|
|
206
159
|
font-size: 13px;
|
|
207
160
|
}
|
|
208
161
|
|
|
209
|
-
&
|
|
162
|
+
&__image-box {
|
|
210
163
|
margin: 0 20px 20px;
|
|
211
|
-
padding: 20px;
|
|
212
164
|
}
|
|
213
165
|
|
|
214
|
-
&
|
|
166
|
+
&__image {
|
|
215
167
|
width: 160px;
|
|
216
168
|
}
|
|
217
|
-
|
|
218
|
-
&__button {
|
|
219
|
-
padding: 10px 20px;
|
|
220
|
-
font-size: 14px;
|
|
221
|
-
width: 100%;
|
|
222
|
-
justify-content: center;
|
|
223
|
-
}
|
|
224
169
|
}
|
|
225
170
|
}
|
|
226
171
|
|
|
172
|
+
// Мобильная версия (до 480px)
|
|
227
173
|
@media (max-width: 480px) {
|
|
228
|
-
.phone-
|
|
229
|
-
margin
|
|
230
|
-
margin-bottom: 32px;
|
|
231
|
-
margin-left: 12px;
|
|
232
|
-
margin-right: 12px;
|
|
174
|
+
.phone-block-v2 {
|
|
175
|
+
margin: 0 16px;
|
|
233
176
|
border-radius: 20px;
|
|
234
177
|
|
|
235
178
|
&__content {
|
|
@@ -246,12 +189,11 @@
|
|
|
246
189
|
line-height: 1.45;
|
|
247
190
|
}
|
|
248
191
|
|
|
249
|
-
&
|
|
192
|
+
&__image-box {
|
|
250
193
|
margin: 0 16px 20px;
|
|
251
|
-
padding: 16px;
|
|
252
194
|
}
|
|
253
195
|
|
|
254
|
-
&
|
|
196
|
+
&__image {
|
|
255
197
|
width: 140px;
|
|
256
198
|
}
|
|
257
199
|
|
|
@@ -259,19 +201,14 @@
|
|
|
259
201
|
font-size: 12px;
|
|
260
202
|
padding: 4px 12px;
|
|
261
203
|
}
|
|
262
|
-
|
|
263
|
-
&__button {
|
|
264
|
-
border-radius: 10px;
|
|
265
|
-
}
|
|
266
204
|
}
|
|
267
205
|
}
|
|
268
206
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
margin
|
|
273
|
-
|
|
274
|
-
margin-right: 12px;
|
|
207
|
+
// Мобильная версия (до 430px)
|
|
208
|
+
@media (max-width: 430px) {
|
|
209
|
+
.phone-block-v2 {
|
|
210
|
+
margin: 0 20px;
|
|
211
|
+
border-radius: 16px;
|
|
275
212
|
|
|
276
213
|
&__content {
|
|
277
214
|
padding: 24px 16px 16px;
|
|
@@ -285,12 +222,11 @@
|
|
|
285
222
|
font-size: 12px;
|
|
286
223
|
}
|
|
287
224
|
|
|
288
|
-
&
|
|
225
|
+
&__image-box {
|
|
289
226
|
margin: 0 12px 16px;
|
|
290
|
-
padding: 14px;
|
|
291
227
|
}
|
|
292
228
|
|
|
293
|
-
&
|
|
229
|
+
&__image {
|
|
294
230
|
width: 120px;
|
|
295
231
|
}
|
|
296
232
|
|
|
@@ -298,5 +234,10 @@
|
|
|
298
234
|
font-size: 11px;
|
|
299
235
|
padding: 3px 10px;
|
|
300
236
|
}
|
|
237
|
+
|
|
238
|
+
&__btn {
|
|
239
|
+
max-width: 100% !important;
|
|
240
|
+
width: 100% !important;
|
|
241
|
+
}
|
|
301
242
|
}
|
|
302
243
|
}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
2
|
@import '../variables.scss';
|
|
3
3
|
|
|
4
|
-
$text: #1A1A2E;
|
|
5
|
-
$muted: #6B7280;
|
|
6
|
-
$border: #E5E7EB;
|
|
7
|
-
$bg: #F7F8FC;
|
|
8
|
-
$white: #FFFFFF;
|
|
9
|
-
|
|
10
4
|
.points-list-v2 {
|
|
11
5
|
font-family: 'Manrope', sans-serif;
|
|
12
6
|
background: $bg;
|
|
13
7
|
width: 100%;
|
|
14
|
-
padding:
|
|
8
|
+
padding: 96px 40px;
|
|
15
9
|
|
|
16
10
|
* {
|
|
17
|
-
font-family: 'Manrope', 'Golos Text', sans-serif;
|
|
11
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
18
12
|
}
|
|
19
13
|
|
|
20
14
|
&__inner {
|
|
@@ -34,14 +28,14 @@ $white: #FFFFFF;
|
|
|
34
28
|
&__content {
|
|
35
29
|
display: grid;
|
|
36
30
|
grid-template-columns: repeat(3, 1fr);
|
|
37
|
-
gap:
|
|
31
|
+
gap: 24px;
|
|
38
32
|
}
|
|
39
33
|
|
|
40
34
|
&__item {
|
|
41
35
|
background: $white;
|
|
42
36
|
border: 1px solid $border;
|
|
43
|
-
border-radius:
|
|
44
|
-
padding:
|
|
37
|
+
border-radius: 20px;
|
|
38
|
+
padding: 28px 24px;
|
|
45
39
|
display: flex;
|
|
46
40
|
flex-direction: column;
|
|
47
41
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
@@ -61,28 +55,27 @@ $white: #FFFFFF;
|
|
|
61
55
|
display: flex;
|
|
62
56
|
align-items: center;
|
|
63
57
|
justify-content: center;
|
|
64
|
-
margin-bottom:
|
|
58
|
+
margin-bottom: 20px;
|
|
65
59
|
|
|
66
60
|
img {
|
|
67
61
|
width: 24px;
|
|
68
62
|
height: 24px;
|
|
69
63
|
object-fit: contain;
|
|
70
|
-
filter: brightness(0) saturate(100%) invert(35%) sepia(91%) saturate(548%) hue-rotate(118deg) brightness(95%) contrast(96%);
|
|
71
64
|
}
|
|
72
65
|
}
|
|
73
66
|
|
|
74
67
|
&__item-title {
|
|
75
|
-
font-size:
|
|
68
|
+
font-size: 16px;
|
|
76
69
|
font-weight: 700;
|
|
77
70
|
color: $text;
|
|
78
|
-
margin: 0 0
|
|
71
|
+
margin: 0 0 8px 0;
|
|
79
72
|
}
|
|
80
73
|
|
|
81
74
|
&__item-text {
|
|
82
|
-
font-size:
|
|
75
|
+
font-size: 14px;
|
|
83
76
|
color: $muted;
|
|
84
77
|
line-height: 1.5;
|
|
85
|
-
margin: 0
|
|
78
|
+
margin: 0;
|
|
86
79
|
}
|
|
87
80
|
|
|
88
81
|
&__item-link {
|
|
@@ -93,59 +86,80 @@ $white: #FFFFFF;
|
|
|
93
86
|
display: inline-flex;
|
|
94
87
|
align-items: center;
|
|
95
88
|
gap: 4px;
|
|
96
|
-
margin-top:
|
|
89
|
+
margin-top: 16px;
|
|
97
90
|
|
|
98
91
|
&:hover {
|
|
99
92
|
gap: 6px;
|
|
100
93
|
}
|
|
101
94
|
}
|
|
102
95
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
96
|
+
@keyframes fadeUp {
|
|
97
|
+
from {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
transform: translateY(24px);
|
|
100
|
+
}
|
|
101
|
+
to {
|
|
102
|
+
opacity: 1;
|
|
103
|
+
transform: translateY(0);
|
|
109
104
|
}
|
|
110
105
|
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Планшет (до 1100px)
|
|
109
|
+
@media (max-width: 1100px) {
|
|
110
|
+
.points-list-v2 {
|
|
111
|
+
padding: 72px 24px;
|
|
111
112
|
|
|
112
|
-
@media (max-width: 900px) {
|
|
113
113
|
&__content {
|
|
114
|
-
|
|
114
|
+
gap: 20px;
|
|
115
115
|
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@media (max-width: 768px) {
|
|
119
|
-
padding: 60px 24px;
|
|
120
116
|
|
|
121
117
|
&__title {
|
|
122
118
|
font-size: 26px;
|
|
123
119
|
margin-bottom: 40px;
|
|
124
120
|
}
|
|
125
121
|
}
|
|
122
|
+
}
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
padding: 48px 16px;
|
|
133
|
-
|
|
134
|
-
&__title {
|
|
135
|
-
font-size: 24px;
|
|
124
|
+
// Перенос сетки в 2 колонки (до 900px)
|
|
125
|
+
@media (max-width: 900px) {
|
|
126
|
+
.points-list-v2 {
|
|
127
|
+
&__content {
|
|
128
|
+
grid-template-columns: repeat(2, 1fr);
|
|
136
129
|
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// Мобильная версия (до 500px) - 1 колонка
|
|
133
|
+
@media (max-width: 500px) {
|
|
134
|
+
.points-list-v2 {
|
|
137
135
|
|
|
138
136
|
&__content {
|
|
139
137
|
grid-template-columns: 1fr;
|
|
140
|
-
gap:
|
|
138
|
+
gap: 16px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&__item {
|
|
142
|
+
padding: 20px 16px;
|
|
141
143
|
}
|
|
142
144
|
}
|
|
145
|
+
}
|
|
143
146
|
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
// Мобильная версия (до 430px)
|
|
148
|
+
@media (max-width: 430px) {
|
|
149
|
+
.points-list-v2 {
|
|
150
|
+
padding: 40px 20px;
|
|
146
151
|
|
|
147
152
|
&__title {
|
|
148
153
|
font-size: 22px;
|
|
154
|
+
margin-bottom: 32px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&__item-title {
|
|
158
|
+
font-size: 15px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__item-text {
|
|
162
|
+
font-size: 13px;
|
|
149
163
|
}
|
|
150
164
|
}
|
|
151
165
|
}
|
|
@@ -34,38 +34,38 @@ var QuestionsV2 = function QuestionsV2(_ref) {
|
|
|
34
34
|
setCurrentDrop(newState);
|
|
35
35
|
};
|
|
36
36
|
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
37
|
-
className: "questions-
|
|
37
|
+
className: "questions-v2",
|
|
38
38
|
itemScope: true,
|
|
39
39
|
itemType: "https://schema.org/FAQPage"
|
|
40
40
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
41
|
-
className: "questions-
|
|
41
|
+
className: "questions-v2__inner"
|
|
42
42
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
43
|
-
className: "questions-
|
|
43
|
+
className: "questions-v2__header"
|
|
44
44
|
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
|
45
|
-
className: "questions-
|
|
45
|
+
className: "questions-v2__title"
|
|
46
46
|
}, title || 'Часто задаваемые вопросы'), /*#__PURE__*/_react["default"].createElement("p", {
|
|
47
|
-
className: "questions-
|
|
47
|
+
className: "questions-v2__subtitle"
|
|
48
48
|
}, "\u041E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u0441\u0430\u043C\u044B\u0435 \u043F\u043E\u043F\u0443\u043B\u044F\u0440\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043E \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
-
className: "questions-
|
|
49
|
+
className: "questions-v2__list"
|
|
50
50
|
}, list === null || list === void 0 ? void 0 : list.map(function (_ref2, index) {
|
|
51
51
|
var questions = _ref2.questions,
|
|
52
52
|
response = _ref2.response;
|
|
53
53
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
54
54
|
key: questions + index,
|
|
55
|
-
className: "questions-
|
|
55
|
+
className: "questions-v2__item ".concat(currentDrop.has(questions) ? 'questions-v2__item_open' : '')
|
|
56
56
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
-
className: "questions-
|
|
57
|
+
className: "questions-v2__question",
|
|
58
58
|
onClick: function onClick() {
|
|
59
59
|
return toggleItem(questions);
|
|
60
60
|
}
|
|
61
61
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
62
|
-
className: "questions-
|
|
62
|
+
className: "questions-v2__question-text"
|
|
63
63
|
}, questions), /*#__PURE__*/_react["default"].createElement("span", {
|
|
64
|
-
className: "questions-
|
|
64
|
+
className: "questions-v2__icon"
|
|
65
65
|
}, "+")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
-
className: "questions-
|
|
66
|
+
className: "questions-v2__answer"
|
|
67
67
|
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
68
|
-
className: "questions-
|
|
68
|
+
className: "questions-v2__answer-text"
|
|
69
69
|
}, response)));
|
|
70
70
|
}))));
|
|
71
71
|
};
|