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
|
@@ -1,158 +1,162 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
|
+
@import '../variables.scss';
|
|
3
|
+
|
|
4
|
+
.cards-v2 {
|
|
5
|
+
font-family: 'Manrope', sans-serif;
|
|
6
|
+
background: $white;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 96px 40px;
|
|
9
|
+
|
|
10
|
+
* {
|
|
11
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__inner {
|
|
15
|
+
max-width: 1280px;
|
|
16
|
+
margin: 0 auto;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 48px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__title {
|
|
23
|
+
font-size: 30px;
|
|
24
|
+
font-weight: 800;
|
|
25
|
+
letter-spacing: -0.5px;
|
|
26
|
+
color: $text;
|
|
27
|
+
margin: 0;
|
|
28
|
+
text-align: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__items {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-columns: repeat(4, 1fr);
|
|
34
|
+
gap: 24px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__item {
|
|
38
|
+
background: $bg;
|
|
39
|
+
border: 1px solid $border;
|
|
40
|
+
border-radius: 20px;
|
|
41
|
+
padding: 32px 28px;
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
gap: 14px;
|
|
45
|
+
transition: transform 0.2s, box-shadow 0.2s;
|
|
46
|
+
position: relative;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
|
|
49
|
+
&:hover {
|
|
50
|
+
transform: translateY(-4px);
|
|
51
|
+
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&::before {
|
|
55
|
+
content: '';
|
|
56
|
+
display: block;
|
|
57
|
+
width: 40px;
|
|
58
|
+
height: 4px;
|
|
59
|
+
border-radius: 99px;
|
|
60
|
+
background: $green;
|
|
61
|
+
margin-bottom: 4px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__card-title {
|
|
66
|
+
font-size: 40px;
|
|
67
|
+
font-weight: 800;
|
|
68
|
+
letter-spacing: -1.5px;
|
|
69
|
+
color: $text;
|
|
70
|
+
margin: 0;
|
|
71
|
+
line-height: 1;
|
|
72
|
+
background: linear-gradient(135deg, $green 0%, $green 100%);
|
|
73
|
+
-webkit-background-clip: text;
|
|
74
|
+
-webkit-text-fill-color: transparent;
|
|
75
|
+
background-clip: text;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__description {
|
|
79
|
+
font-size: 14px;
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
color: $muted;
|
|
82
|
+
line-height: 1.65;
|
|
83
|
+
margin: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@keyframes fadeUp {
|
|
87
|
+
from {
|
|
88
|
+
opacity: 0;
|
|
89
|
+
transform: translateY(24px);
|
|
90
|
+
}
|
|
91
|
+
to {
|
|
92
|
+
opacity: 1;
|
|
93
|
+
transform: translateY(0);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Планшет (до 1100px)
|
|
99
|
+
@media (max-width: 1100px) {
|
|
100
|
+
.cards-v2 {
|
|
101
|
+
padding: 72px 24px;
|
|
102
|
+
|
|
103
|
+
&__items {
|
|
104
|
+
gap: 20px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&__title {
|
|
108
|
+
font-size: 26px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// Мобильная версия (до 768px)
|
|
114
|
+
@media (max-width: 768px) {
|
|
115
|
+
.cards-v2 {
|
|
116
|
+
|
|
117
|
+
&__items {
|
|
118
|
+
grid-template-columns: repeat(2, 1fr);
|
|
119
|
+
gap: 16px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&__card-title {
|
|
123
|
+
font-size: 32px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__description {
|
|
127
|
+
font-size: 13px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Мобильная версия (до 430px)
|
|
133
|
+
@media (max-width: 430px) {
|
|
134
|
+
.cards-v2 {
|
|
135
|
+
padding: 40px 20px;
|
|
136
|
+
|
|
137
|
+
&__inner {
|
|
138
|
+
gap: 32px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&__title {
|
|
142
|
+
font-size: 22px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&__items {
|
|
146
|
+
gap: 12px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&__item {
|
|
150
|
+
padding: 20px 16px;
|
|
151
|
+
gap: 10px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&__card-title {
|
|
155
|
+
font-size: 24px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&__description {
|
|
159
|
+
font-size: 11px;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -15,25 +15,25 @@ var CardsWithButton = function CardsWithButton(_ref) {
|
|
|
15
15
|
btnText = _ref$btnText === void 0 ? 'Подключиться' : _ref$btnText,
|
|
16
16
|
onBtnClick = _ref.onBtnClick;
|
|
17
17
|
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
18
|
-
className: "cards-with-btn
|
|
18
|
+
className: "cards-with-btn-v2"
|
|
19
19
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
|
-
className: "cards-with-
|
|
20
|
+
className: "cards-with-btn-v2__inner"
|
|
21
21
|
}, title && /*#__PURE__*/_react["default"].createElement("h2", {
|
|
22
|
-
className: "cards-with-
|
|
22
|
+
className: "cards-with-btn-v2__title"
|
|
23
23
|
}, title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
24
|
-
className: "cards-with-
|
|
24
|
+
className: "cards-with-btn-v2__content"
|
|
25
25
|
}, items === null || items === void 0 ? void 0 : items.map(function (_ref2, index) {
|
|
26
26
|
var title = _ref2.title,
|
|
27
27
|
description = _ref2.description;
|
|
28
28
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
29
|
-
className: "cards-with-
|
|
29
|
+
className: "cards-with-btn-v2__card",
|
|
30
30
|
key: index
|
|
31
31
|
}, /*#__PURE__*/_react["default"].createElement("h3", {
|
|
32
|
-
className: "cards-with-
|
|
32
|
+
className: "cards-with-btn-v2__card-title"
|
|
33
33
|
}, title), /*#__PURE__*/_react["default"].createElement("p", {
|
|
34
|
-
className: "cards-with-
|
|
34
|
+
className: "cards-with-btn-v2__card-description"
|
|
35
35
|
}, description), /*#__PURE__*/_react["default"].createElement("button", {
|
|
36
|
-
className: "cards-with-
|
|
36
|
+
className: "cards-with-btn-v2__card-btn",
|
|
37
37
|
onClick: function onClick() {
|
|
38
38
|
return onBtnClick === null || onBtnClick === void 0 ? void 0 : onBtnClick();
|
|
39
39
|
}
|
|
@@ -1,17 +1,15 @@
|
|
|
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
|
-
|
|
5
|
-
$muted: #6B7280;
|
|
6
|
-
$border: #E5E7EB;
|
|
7
|
-
$bg: #F7F8FC;
|
|
8
|
-
$white: #FFFFFF;
|
|
9
|
-
|
|
10
|
-
.cards-with-btn {
|
|
4
|
+
.cards-with-btn-v2 {
|
|
11
5
|
font-family: 'Manrope', sans-serif;
|
|
12
6
|
background: $bg;
|
|
13
7
|
width: 100%;
|
|
14
|
-
padding: 96px
|
|
8
|
+
padding: 96px 40px;
|
|
9
|
+
|
|
10
|
+
* {
|
|
11
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
12
|
+
}
|
|
15
13
|
|
|
16
14
|
&__inner {
|
|
17
15
|
max-width: 1280px;
|
|
@@ -63,7 +61,7 @@ $white: #FFFFFF;
|
|
|
63
61
|
width: 6px;
|
|
64
62
|
}
|
|
65
63
|
|
|
66
|
-
.cards-with-
|
|
64
|
+
.cards-with-btn-v2__card-btn {
|
|
67
65
|
gap: 8px;
|
|
68
66
|
color: $green-dark;
|
|
69
67
|
}
|
|
@@ -119,57 +117,39 @@ $white: #FFFFFF;
|
|
|
119
117
|
width: fit-content;
|
|
120
118
|
}
|
|
121
119
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
@keyframes fadeUp {
|
|
121
|
+
from {
|
|
122
|
+
opacity: 0;
|
|
123
|
+
transform: translateY(24px);
|
|
124
|
+
}
|
|
125
|
+
to {
|
|
126
|
+
opacity: 1;
|
|
127
|
+
transform: translateY(0);
|
|
128
|
+
}
|
|
126
129
|
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// Планшет (до 1100px)
|
|
133
|
+
@media (max-width: 1100px) {
|
|
134
|
+
.cards-with-btn-v2 {
|
|
135
|
+
padding: 72px 24px;
|
|
127
136
|
|
|
128
|
-
@media (max-width: 900px) {
|
|
129
137
|
&__content {
|
|
130
138
|
grid-template-columns: repeat(2, 1fr);
|
|
131
139
|
gap: 20px;
|
|
132
140
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
@media (max-width: 768px) {
|
|
136
|
-
padding: 60px 24px;
|
|
137
|
-
|
|
141
|
+
|
|
138
142
|
&__title {
|
|
139
143
|
font-size: 26px;
|
|
140
144
|
margin-bottom: 40px;
|
|
141
145
|
}
|
|
142
|
-
|
|
143
|
-
&__card {
|
|
144
|
-
padding: 24px 20px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&__card-icon {
|
|
148
|
-
width: 48px;
|
|
149
|
-
height: 48px;
|
|
150
|
-
|
|
151
|
-
svg {
|
|
152
|
-
width: 24px;
|
|
153
|
-
height: 24px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&__card-title {
|
|
158
|
-
font-size: 16px;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
@media (max-width: 600px) {
|
|
163
|
-
padding: 48px 20px;
|
|
164
146
|
}
|
|
147
|
+
}
|
|
165
148
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
font-size: 24px;
|
|
171
|
-
}
|
|
172
|
-
|
|
149
|
+
// Мобильная версия (до 500px) - 1 колонка
|
|
150
|
+
@media (max-width: 500px) {
|
|
151
|
+
.cards-with-btn-v2 {
|
|
152
|
+
|
|
173
153
|
&__content {
|
|
174
154
|
grid-template-columns: 1fr;
|
|
175
155
|
gap: 16px;
|
|
@@ -179,17 +159,16 @@ $white: #FFFFFF;
|
|
|
179
159
|
padding: 20px 16px;
|
|
180
160
|
}
|
|
181
161
|
}
|
|
162
|
+
}
|
|
182
163
|
|
|
183
|
-
|
|
184
|
-
|
|
164
|
+
// Мобильная версия (до 430px)
|
|
165
|
+
@media (max-width: 430px) {
|
|
166
|
+
.cards-with-btn-v2 {
|
|
167
|
+
padding: 40px 20px;
|
|
185
168
|
|
|
186
169
|
&__title {
|
|
187
170
|
font-size: 22px;
|
|
188
171
|
margin-bottom: 32px;
|
|
189
172
|
}
|
|
190
|
-
|
|
191
|
-
&__card-description {
|
|
192
|
-
font-size: 13px;
|
|
193
|
-
}
|
|
194
173
|
}
|
|
195
174
|
}
|
|
@@ -7,15 +7,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = void 0;
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _ButtonBasicV = _interopRequireDefault(require("../../Buttons/ButtonBasicV2/ButtonBasicV2"));
|
|
10
11
|
require("./ClientsAboutUsV2.scss");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
-
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
14
|
-
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."); }
|
|
15
|
-
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; } }
|
|
16
|
-
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; }
|
|
17
|
-
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; } }
|
|
18
|
-
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
19
15
|
var list_about_us = [{
|
|
20
16
|
title: 'До сотрудничества с ECOMRU:',
|
|
21
17
|
description: /*#__PURE__*/_react["default"].createElement(_react["default"].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["default"].createElement("br", null), /*#__PURE__*/_react["default"].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["default"].createElement("br", null), /*#__PURE__*/_react["default"].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")
|
|
@@ -24,6 +20,7 @@ var list_about_us = [{
|
|
|
24
20
|
description: /*#__PURE__*/_react["default"].createElement(_react["default"].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["default"].createElement("br", null), /*#__PURE__*/_react["default"].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["default"].createElement("br", null), /*#__PURE__*/_react["default"].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["default"].createElement("br", null), /*#__PURE__*/_react["default"].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["default"].createElement("br", null), /*#__PURE__*/_react["default"].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")
|
|
25
21
|
}];
|
|
26
22
|
var ClientsAboutUsV2 = function ClientsAboutUsV2(_ref) {
|
|
23
|
+
var _window;
|
|
27
24
|
var _ref$title = _ref.title,
|
|
28
25
|
title = _ref$title === void 0 ? "Клиенты о нас" : _ref$title,
|
|
29
26
|
_ref$blockquote = _ref.blockquote,
|
|
@@ -32,27 +29,19 @@ var ClientsAboutUsV2 = function ClientsAboutUsV2(_ref) {
|
|
|
32
29
|
cite = _ref$cite === void 0 ? "Андрей Краснов - индивидуальный предприниматель, селлер на Wildberries и OZON" : _ref$cite,
|
|
33
30
|
_ref$linkMain = _ref.linkMain,
|
|
34
31
|
linkMain = _ref$linkMain === void 0 ? 'https://lk.ecomru.ru' : _ref$linkMain;
|
|
35
|
-
var
|
|
36
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
37
|
-
refPage = _useState2[0],
|
|
38
|
-
setRefPage = _useState2[1];
|
|
39
|
-
(0, _react.useEffect)(function () {
|
|
40
|
-
var _window;
|
|
41
|
-
var currentUrl = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.href;
|
|
42
|
-
setRefPage("?ref_page=".concat(currentUrl));
|
|
43
|
-
}, []);
|
|
32
|
+
var current_query = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.search;
|
|
44
33
|
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
45
|
-
className: "clients-about-
|
|
34
|
+
className: "clients-about-v2"
|
|
46
35
|
}, title && /*#__PURE__*/_react["default"].createElement("h2", {
|
|
47
|
-
className: "clients-about-
|
|
36
|
+
className: "clients-about-v2__title"
|
|
48
37
|
}, title), (blockquote || cite) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
49
|
-
className: "clients-about-
|
|
38
|
+
className: "clients-about-v2__header"
|
|
50
39
|
}, blockquote && /*#__PURE__*/_react["default"].createElement("blockquote", {
|
|
51
|
-
className: "clients-about-
|
|
40
|
+
className: "clients-about-v2__blockquote"
|
|
52
41
|
}, blockquote), cite && /*#__PURE__*/_react["default"].createElement("cite", {
|
|
53
|
-
className: "clients-about-
|
|
42
|
+
className: "clients-about-v2__cite"
|
|
54
43
|
}, cite)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
|
-
className: "clients-about-
|
|
44
|
+
className: "clients-about-v2__cards"
|
|
56
45
|
}, list_about_us.map(function (_ref2, ind) {
|
|
57
46
|
var title = _ref2.title,
|
|
58
47
|
description = _ref2.description,
|
|
@@ -60,24 +49,22 @@ var ClientsAboutUsV2 = function ClientsAboutUsV2(_ref) {
|
|
|
60
49
|
var isRightCard = ind === 1;
|
|
61
50
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
51
|
key: title + description,
|
|
63
|
-
className:
|
|
52
|
+
className: "clients-about-v2__card ".concat(isRightCard ? 'clients-about-v2__card_dark' : '')
|
|
64
53
|
}, /*#__PURE__*/_react["default"].createElement("h3", {
|
|
65
|
-
className: "clients-about-
|
|
54
|
+
className: "clients-about-v2__card-title"
|
|
66
55
|
}, title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
-
className: "clients-about-
|
|
68
|
-
}, description),
|
|
69
|
-
className: "clients-about-
|
|
56
|
+
className: "clients-about-v2__description"
|
|
57
|
+
}, description), /*#__PURE__*/_react["default"].createElement(_ButtonBasicV["default"], {
|
|
58
|
+
className: "clients-about-v2__button",
|
|
59
|
+
green: isRightCard,
|
|
60
|
+
white: !isRightCard,
|
|
70
61
|
onClick: function onClick() {
|
|
71
62
|
var _window2;
|
|
72
|
-
return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("".concat(linkMain, "/auth").concat(
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
var _window3;
|
|
78
|
-
return (_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.open("".concat(linkMain, "/auth").concat(refPage), '_blank');
|
|
79
|
-
}
|
|
80
|
-
}, btnName ? btnName : 'Подключиться', " \u2192"));
|
|
63
|
+
return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("".concat(linkMain, "/auth").concat(current_query), '_blank');
|
|
64
|
+
},
|
|
65
|
+
text: btnName ? btnName : 'Подключиться',
|
|
66
|
+
size: "40px"
|
|
67
|
+
}));
|
|
81
68
|
})));
|
|
82
69
|
};
|
|
83
70
|
var _default = exports["default"] = ClientsAboutUsV2;
|