ecomlab-components-next 0.1.22 → 0.1.24

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.
Files changed (20) hide show
  1. package/dist/components/ConstructorComponents/BlocksInfo/BlocksInfo.js +101 -0
  2. package/dist/components/ConstructorComponents/BlocksInfo/BlocksInfo.scss +225 -0
  3. package/dist/components/ConstructorComponents/BlocksInfo/BlocksInfo.stories.js +57 -0
  4. package/dist/components/ConstructorComponents/BlocksInfo/img/develop.png +0 -0
  5. package/dist/components/ConstructorComponents/CardsGrey/CardsGrey.js +47 -0
  6. package/dist/components/ConstructorComponents/CardsGrey/CardsGrey.scss +81 -0
  7. package/dist/components/ConstructorComponents/CardsGrey/CardsGrey.stories.js +16 -0
  8. package/dist/components/ConstructorComponents/CardsInfo/CardsInfo.js +1 -0
  9. package/dist/components/ConstructorComponents/MainContainer/MainContainer.js +17 -0
  10. package/dist/components/ConstructorComponents/MainContainer/MainContainer.scss +23 -0
  11. package/dist/components/ConstructorComponents/MainContainer/MainContainer.stories.js +18 -0
  12. package/dist/components/ConstructorComponents/StatisticCard/StatisticCard.js +46 -0
  13. package/dist/components/ConstructorComponents/StatisticCard/StatisticCard.module.scss +94 -0
  14. package/dist/components/ConstructorComponents/StatisticCard/StatisticCard.stories.js +32 -0
  15. package/dist/components/ConstructorComponents/StepItems/StepItems.js +74 -0
  16. package/dist/components/ConstructorComponents/StepItems/StepItems.module.scss +149 -0
  17. package/dist/components/ConstructorComponents/StepItems/StepItems.stories.js +28 -0
  18. package/dist/components/ConstructorComponents/VideoBlock/VideoBlock.js +1 -0
  19. package/dist/index.js +35 -0
  20. package/package.json +1 -1
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ 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); }
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+ var _react = _interopRequireWildcard(require("react"));
10
+ var _image = _interopRequireDefault(require("next/image"));
11
+ require("./BlocksInfo.scss");
12
+ var _ButtonBasic = _interopRequireDefault(require("../../Buttons/ButtonBasic/ButtonBasic"));
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
+ 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); }
15
+ 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; }
16
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
17
+ 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."); }
18
+ 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; } }
19
+ 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; }
20
+ 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; } }
21
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
22
+ var BlocksInfo = function BlocksInfo(_ref) {
23
+ var title = _ref.title,
24
+ _ref$list = _ref.list,
25
+ list = _ref$list === void 0 ? [] : _ref$list,
26
+ child = _ref.child;
27
+ var _useState = (0, _react.useState)(''),
28
+ _useState2 = _slicedToArray(_useState, 2),
29
+ refPage = _useState2[0],
30
+ setRefPage = _useState2[1];
31
+ (0, _react.useEffect)(function () {
32
+ var _window;
33
+ var currentUrl = (_window = window) === null || _window === void 0 || (_window = _window.location) === null || _window === void 0 ? void 0 : _window.href;
34
+ setRefPage("?ref_page=".concat(currentUrl));
35
+ }, []);
36
+ return /*#__PURE__*/_react["default"].createElement("section", {
37
+ className: "landing-blocks-info-2"
38
+ }, title && /*#__PURE__*/_react["default"].createElement("h2", {
39
+ className: "landing-blocks-info-2__title"
40
+ }, title), /*#__PURE__*/_react["default"].createElement("div", {
41
+ className: "landing-blocks-info-2__items"
42
+ }, list.map(function (_ref2, ind) {
43
+ var label = _ref2.label,
44
+ img = _ref2.img,
45
+ description = _ref2.description;
46
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
47
+ style: {
48
+ flexDirection: ind % 2 == 0 ? 'row-reverse' : ''
49
+ },
50
+ className: "landing-blocks-info-2__item",
51
+ key: label + img
52
+ }, /*#__PURE__*/_react["default"].createElement("div", {
53
+ className: "landing-blocks-info-2__img-box"
54
+ }, /*#__PURE__*/_react["default"].createElement("img", {
55
+ layout: "fill",
56
+ className: "landing-blocks-info-2__img",
57
+ src: img ? img : 'https://dl.ecomru.ru:9001/dev-images/3_12.png',
58
+ alt: 'icon'
59
+ }), !img && /*#__PURE__*/_react["default"].createElement("img", {
60
+ className: "landing-blocks-info-2__img-development",
61
+ src: "https://dl.ecomru.ru:9001/dev-images/frame_1321317238.png"
62
+ })), /*#__PURE__*/_react["default"].createElement("div", {
63
+ className: "landing-blocks-info-2__info-box"
64
+ }, label && /*#__PURE__*/_react["default"].createElement("h3", {
65
+ className: "landing-blocks-info-2__title_card"
66
+ }, label), description && /*#__PURE__*/_react["default"].createElement("p", {
67
+ className: "landing-blocks-info-2__description"
68
+ }, description), /*#__PURE__*/_react["default"].createElement(_ButtonBasic["default"], {
69
+ className: 'landing-blocks-info-2__btn-1',
70
+ green: true,
71
+ width: "100%",
72
+ text: "\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C",
73
+ onClick: function onClick() {
74
+ var _window2;
75
+ return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("https://lk.ecomru.ru/auth".concat(refPage), '_blunk');
76
+ },
77
+ size: "60px",
78
+ style: {
79
+ fontSize: '24px',
80
+ marginTop: '16px'
81
+ }
82
+ }))), ind == 1 && child && child, /*#__PURE__*/_react["default"].createElement("div", {
83
+ className: 'landing-blocks-info-2__btn-box'
84
+ }, /*#__PURE__*/_react["default"].createElement(_ButtonBasic["default"], {
85
+ className: 'landing-blocks-info-2__btn-2',
86
+ green: true,
87
+ width: "100%",
88
+ maxWidth: "382px",
89
+ text: "\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C",
90
+ size: "50px",
91
+ onClick: function onClick() {
92
+ var _window3;
93
+ return (_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.open("https://lk.ecomru.ru/auth".concat(refPage), '_blunk');
94
+ },
95
+ style: {
96
+ fontSize: '16px'
97
+ }
98
+ })));
99
+ })));
100
+ };
101
+ var _default = exports["default"] = BlocksInfo;
@@ -0,0 +1,225 @@
1
+ .landing-blocks-info-2 {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 32px;
5
+
6
+ &__title {
7
+ font-family: "Golos Text";
8
+ font-size: 42px;
9
+ font-style: normal;
10
+ font-weight: 500;
11
+ line-height: 51px;
12
+ }
13
+
14
+ &__items {
15
+ display: flex;
16
+ flex-direction: column;
17
+ width: 100%;
18
+ }
19
+
20
+ &__item {
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 100px;
24
+ flex-direction: row;
25
+ padding: 0px;
26
+ background: #fff;
27
+ padding-top: 80px;
28
+ padding-bottom: 80px;
29
+ border-bottom: 1px solid #D8D8D8;
30
+
31
+ &:nth-child(1) {
32
+ padding-top: 0px;
33
+ }
34
+ }
35
+
36
+ &__title_card {
37
+ color: #464853;
38
+ font-family: Inter;
39
+ font-size: 28px;
40
+ font-style: normal;
41
+ font-weight: 700;
42
+ line-height: 37px;
43
+ }
44
+
45
+ &__info-box {
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: 40px;
49
+ width: calc(100% - 55%);
50
+ }
51
+
52
+ &__info-block {
53
+ display: flex;
54
+ height: auto;
55
+ width: 100%;
56
+ padding: 20px 24px;
57
+ flex-direction: column;
58
+ justify-content: center;
59
+ align-items: center;
60
+ gap: 20px;
61
+ align-self: stretch;
62
+ border-radius: 12px;
63
+ background: #FFF;
64
+ }
65
+
66
+ &__description {
67
+ color: #464853;
68
+ font-family: Inter;
69
+ font-size: 16px;
70
+ font-style: normal;
71
+ font-weight: 500;
72
+ line-height: 24px;
73
+ }
74
+
75
+ &__img-box {
76
+ width: 100%;
77
+ max-width: 55%;
78
+ height: 100%;
79
+ border-radius: 10px;
80
+ border: 1px solid #7585D5;
81
+ background: #F7F7F7;
82
+ overflow: hidden;
83
+ aspect-ratio: 1.75/1;
84
+ position: relative;
85
+ }
86
+
87
+ &__img {
88
+ width: 100%;
89
+ height: 100%;
90
+ object-fit: contain;
91
+ }
92
+
93
+
94
+ &__img-development {
95
+ position: absolute;
96
+ z-index: 1;
97
+ top: 35px;
98
+ left: 35px;
99
+ }
100
+
101
+ &__btn-2 {
102
+ display: none;
103
+ }
104
+
105
+ &__btn-box {
106
+ display: none;
107
+ align-items: center;
108
+ justify-content: center;
109
+ //background-color: #FFF;
110
+ width: 100%;
111
+ padding: 8px;
112
+ }
113
+ }
114
+
115
+ @media (max-width: 1100px) {
116
+ .landing-blocks-info-2 {
117
+ gap: 24px;
118
+
119
+ &__btn-box {
120
+ display: flex;
121
+ }
122
+
123
+ &__btn-2 {
124
+ display: inline-block;
125
+ }
126
+
127
+ &__btn-1 {
128
+ display: none;
129
+ }
130
+
131
+ &__title {}
132
+
133
+ &__items {
134
+ align-items: center;
135
+ gap: 8px;
136
+ }
137
+
138
+ &__item {
139
+ gap: 16px;
140
+ padding: 8px 12px;
141
+ flex-direction: column-reverse !important;
142
+ }
143
+
144
+ &__title_card {
145
+ font-size: 18px;
146
+ line-height: 24px;
147
+ }
148
+
149
+ &__info-box {
150
+ gap: 10px;
151
+ width: 100%;
152
+ }
153
+
154
+ &__info-block {}
155
+
156
+ &__description {
157
+ font-size: 14px;
158
+ line-height: 24px;
159
+ }
160
+
161
+ &__img-box {
162
+ width: 100%;
163
+ }
164
+
165
+ &__img {
166
+ width: 100%;
167
+ // height: auto;
168
+ }
169
+ }
170
+ }
171
+
172
+ @media (max-width: 430px) {
173
+ .landing-blocks-info-2 {
174
+ gap: 20px;
175
+
176
+ &__btn-box {
177
+ display: flex;
178
+ }
179
+
180
+ &__btn-2 {
181
+ display: inline-block !important;
182
+ }
183
+
184
+ &__btn-1 {
185
+ display: none;
186
+ }
187
+
188
+ &__title {
189
+ font-size: 20px;
190
+ line-height: 28px;
191
+ }
192
+
193
+ &__items {
194
+ gap: 8px;
195
+ }
196
+
197
+ &__item {
198
+ gap: 16px;
199
+ padding: 8px 12px;
200
+ flex-direction: column-reverse !important;
201
+ }
202
+
203
+ &__title_card {
204
+ font-size: 18px;
205
+ line-height: 24px;
206
+ }
207
+
208
+ &__info-box {
209
+ gap: 10px;
210
+ width: 100%;
211
+ }
212
+
213
+ &__info-block {}
214
+
215
+ &__description {
216
+ font-size: 14px;
217
+ line-height: 24px;
218
+ }
219
+
220
+ &__img-box {
221
+ width: 100%;
222
+ aspect-ratio: none;
223
+ }
224
+ }
225
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.BlocksInfoTest = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _BlocksInfo = _interopRequireDefault(require("./BlocksInfo"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var possibilities_list = [{
11
+ label: "\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430 \u043F\u0440\u043E\u0434\u0430\u0436 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445",
12
+ description: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, "\xB7 \u041F\u043E\u043B\u0443\u0447\u0430\u0439 \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u0442\u0432\u043E\u0438\u0445 \u043F\u0440\u043E\u0434\u0430\u0436 \u043F\u043E Wildberries, Ozon \u0438 \u042F\u043D\u0434\u0435\u043A\u0441 \u041C\u0430\u0440\u043A\u0435\u0442 \u0432 \u0440\u0430\u0437\u0440\u0435\u0437\u0435 \u0431\u043E\u043B\u0435\u0435 20 \u043C\u0435\u0442\u0440\u0438\u043A.", /*#__PURE__*/_react["default"].createElement("br", null), "\xB7 \u0420\u0430\u0437\u0432\u0438\u0432\u0430\u0439 \u0441\u0432\u043E\u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438 \u043D\u0430\u0448\u0438\u0445 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A."),
13
+ img: "https://dl.ecomru.ru:9001/dev-images/image_383.png"
14
+ }, {
15
+ label: "\u0410\u043D\u0430\u043B\u0438\u0437 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0435\u0439",
16
+ description: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u044B, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439 \n \u043D\u0430\u0448\u0438 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043F\u043E\u0434\u0431\u043E\u0440\u043A\u0438 \u0434\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0439 \u043D\u0430 \u0432\u044B\u0431\u043E\u0440\u043A\u0438 \n \u0442\u043E\u0432\u0430\u0440\u043E\u0432. \u041D\u0430\u0448 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432\u0435\u0431 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0442\u0435\u0431\u0435 \u0432 \u043E\u0434\u043D\u043E\u043C \u043E\u0442\u0447\u0435\u0442\u0435 \n \u0432\u0438\u0434\u0435\u0442\u044C \u0432\u0441\u0435 \u043C\u0435\u0442\u0440\u0438\u043A\u0438 \u043F\u0440\u043E\u0434\u0430\u0436 \u0438 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438.",
17
+ img: "https://dl.ecomru.ru:9001/dev-images/image_384.png"
18
+ }, {
19
+ label: "\u0417\u0430\u043A\u0430\u0437\u044B \u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438",
20
+ description: "\u0421\u043C\u043E\u0442\u0440\u0438 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u043C\u0443 \n \u0437\u0430\u043A\u0430\u0437\u0443 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0435. \u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0439 \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439 \n \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u044E \u043F\u043E\u0441\u0442\u0430\u0432\u043E\u043A \u0438 \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u0439 \u044E\u043D\u0438\u0442-\u044D\u043A\u043E\u043D\u043E\u043C\u0438\u043A\u0443 \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \n \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0438 \u0447\u0438\u0441\u0442\u043E\u0439 \u043F\u0440\u0438\u0431\u044B\u043B\u0438 \u0441 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043F\u0440\u043E\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0442\u043E\u0432\u0430\u0440\u0430.",
21
+ img: "https://dl.ecomru.ru:9001/dev-images/image_385.png"
22
+ }, {
23
+ label: "\u0412\u043E\u0437\u0432\u0440\u0430\u0442\u044B \u0438 \u043E\u0442\u043C\u0435\u043D\u044B",
24
+ description: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u0441\u0432\u043E\u0439 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442 \u043F\u043E \u043E\u0442\u043C\u0435\u043D\u0430\u043C \u0438 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\u043C, \n \u0432\u044B\u044F\u0432\u043B\u044F\u0439 \u043A\u0430\u043A\u0438\u0435 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u043F\u043E\u0447\u0435\u043C\u0443 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043E \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u044E\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u044B.",
25
+ img: "https://dl.ecomru.ru:9001/dev-images/image_391.png",
26
+ link: '/tasks'
27
+ }, {
28
+ label: "\u0426\u0435\u043D\u044B",
29
+ description: "\u0421\u043B\u0435\u0434\u0438 \u0437\u0430 \u0434\u0438\u043D\u0430\u043C\u0438\u043A\u043E\u0439 \u0446\u0435\u043D \u043D\u0430 \u0440\u044B\u043D\u043A\u0435, \u0441\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u0439 \n \u0441\u043E \u0441\u0432\u043E\u0438\u043C\u0438 \u0438 \u043F\u0440\u043E\u0432\u043E\u0434\u0438 \u0446\u0435\u043D\u043E\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435.",
30
+ img: "https://dl.ecomru.ru:9001/dev-images/image_386_1.png",
31
+ link: '/marketing'
32
+ }, {
33
+ label: "\u041E\u0441\u0442\u0430\u0442\u043A\u0438",
34
+ description: "\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0439 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u0430\u0445, \n \u0432\u044B\u0447\u0438\u0441\u043B\u044F\u0439 \u043E\u0431\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043C\u043E\u0441\u0442\u044C, \u0443\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0434\u0430\u0436\u0438 \n \u0438 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0439 \u043E\u043F\u0442\u0438\u043C\u0430\u043B\u044C\u043D\u044B\u0439 \u0433\u0440\u0430\u0444\u0438\u043A \u043F\u043E\u0441\u0442\u0430\u0432\u043E\u043A.",
35
+ img: "https://dl.ecomru.ru:9001/dev-images/image_388.png",
36
+ link: '/products'
37
+ }, {
38
+ label: "\u041A\u0440\u043E\u0441\u0441-\u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430",
39
+ description: "\u041F\u0440\u043E\u0432\u043E\u0434\u0438 \u0441\u0440\u0430\u0432\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0430\u043D\u0430\u043B\u0438\u0437 \u0432\u0441\u0435\u0445 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0435\u0439 \n \u043C\u0435\u0436\u0434\u0443 \u0442\u0440\u0435\u043C\u044F \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u043C\u0438 \n \u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438 \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043D\u0430\u043B \u043F\u0440\u043E\u0434\u0430\u0436 \u043D\u0430\u0438\u0431\u043E\u043B\u0435\u0435 \u043F\u0440\u0438\u0431\u044B\u043B\u044C\u043D\u044B\u0439 \u0434\u043B\u044F \u0442\u0435\u0431\u044F.",
40
+ img: "https://dl.ecomru.ru:9001/dev-images/image_389.png",
41
+ link: '/orders'
42
+ }, {
43
+ label: "\u041F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u0447\u043D\u0438\u043A",
44
+ description: "\u041F\u043E\u043B\u0443\u0447\u0430\u0439 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \n \u043F\u043E \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0434\u0430\u0436, \u0443\u043F\u0440\u043E\u0441\u0442\u0438 \u043F\u043E\u0438\u0441\u043A \u043D\u043E\u0432\u044B\u0445 \u0442\u043E\u0447\u0435\u043A \u0440\u043E\u0441\u0442\u0430.",
45
+ img: "https://dl.ecomru.ru:9001/dev-images/image_390.png",
46
+ link: '/competitor_analysis'
47
+ }];
48
+ var _default = exports["default"] = {
49
+ title: 'BlocksInfo',
50
+ component: _BlocksInfo["default"]
51
+ };
52
+ var BlocksInfoTest = exports.BlocksInfoTest = function BlocksInfoTest() {
53
+ return /*#__PURE__*/_react["default"].createElement(_BlocksInfo["default"], {
54
+ title: "\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430",
55
+ list: possibilities_list
56
+ });
57
+ };
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _image = _interopRequireDefault(require("next/image"));
10
+ require("./CardsGrey.scss");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ var list = [{
13
+ title: "99%",
14
+ description: "\u0418\u0418 \u0442\u043E\u0447\u043D\u043E \u0432\u044B\u044F\u0432\u043B\u044F\u0435\u0442 \u0442\u0435\u043C\u0430\u0442\u0438\u043A\u0443 \u043E\u0442\u0437\u044B\u0432\u043E\u0432. \u0423 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u044D\u0442\u043E\u0442 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u044C 87%"
15
+ }, {
16
+ title: "85%",
17
+ description: "\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u044F \u043E\u0442\u0432\u0435\u0442, \u043D\u0435\u0439\u0440\u043E\u0441\u0435\u0442\u044C \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0435\u0442 \u043D\u0430 85% \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432, \u0447\u0435\u043C \u0447\u0435\u043B\u043E\u0432\u0435\u043A."
18
+ }, {
19
+ title: "5\u0445",
20
+ description: "\u0410\u0432\u0442\u043E\u043E\u0442\u0432\u0435\u0442\u044B \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043D\u0435\u0439\u0440\u043E\u0441\u0435\u0442\u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0442 \u0432 5 \u0440\u0430\u0437 \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u043E\u0442\u0437\u044B\u0432\u044B \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u0430\u043C\u0438."
21
+ }, {
22
+ title: "GPT-4o",
23
+ description: "\u0412\u043D\u0443\u0442\u0440\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C \u043D\u0435\u0439\u0440\u043E\u0441\u0435\u0442\u044C GPT-4o. \u041E\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u0430 \u0442\u0435\u0441\u0442 \u0422\u044C\u044E\u0440\u0438\u043D\u0433\u0430 \u0438 \u0435\u0451 \u043E\u0442\u0432\u0435\u0442\u044B \u0442\u0430\u043A\u0438\u0435 \u0436\u0435, \u043A\u0430\u043A \u0443 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430.\xA0"
24
+ }];
25
+ var CardsGrey = function CardsGrey(_ref) {
26
+ var title = _ref.title,
27
+ child = _ref.child;
28
+ return /*#__PURE__*/_react["default"].createElement("section", {
29
+ className: "cards-grey"
30
+ }, title && /*#__PURE__*/_react["default"].createElement("h2", {
31
+ className: "cards-grey__title"
32
+ }, title), /*#__PURE__*/_react["default"].createElement("div", {
33
+ className: "cards-grey__items"
34
+ }, list.map(function (_ref2) {
35
+ var title = _ref2.title,
36
+ description = _ref2.description;
37
+ return /*#__PURE__*/_react["default"].createElement("div", {
38
+ className: "cards-grey__item",
39
+ key: title + description
40
+ }, /*#__PURE__*/_react["default"].createElement("p", {
41
+ className: "cards-grey__title-card"
42
+ }, title), /*#__PURE__*/_react["default"].createElement("p", {
43
+ className: "cards-grey__description-card"
44
+ }, description));
45
+ })));
46
+ };
47
+ var _default = exports["default"] = CardsGrey;
@@ -0,0 +1,81 @@
1
+ .cards-grey {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 30px;
5
+
6
+ &__items {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ gap: 12px;
10
+ }
11
+
12
+ &__item {
13
+ display: flex;
14
+ height: auto;
15
+ padding: 14px;
16
+ flex-direction: column;
17
+ align-items: flex-start;
18
+ gap: 14px;
19
+ border-radius: 8px;
20
+ background: #F7F7F7;
21
+ max-width: calc(25% - 9px);
22
+ }
23
+
24
+ &__title-card {
25
+ color: #00B45E;
26
+ font-family: "Golos Text";
27
+ font-size: 32px;
28
+ font-style: normal;
29
+ font-weight: 500;
30
+ line-height: 24px;
31
+ }
32
+
33
+ &__description-card {
34
+ color: #333;
35
+ font-family: "Golos Text";
36
+ font-size: 16px;
37
+ font-style: normal;
38
+ font-weight: 400;
39
+ line-height: 24px;
40
+ }
41
+ }
42
+
43
+ @media (max-width: 1100px) {
44
+ .cards-grey {
45
+ display: flex;
46
+ gap: 32px;
47
+ align-items: center;
48
+
49
+ &__title {}
50
+
51
+ &__items {
52
+ flex-wrap: wrap;
53
+ justify-content: center;
54
+ }
55
+
56
+ &__item {
57
+ min-width: 155px;
58
+ width: 100%;
59
+ }
60
+
61
+ &__card_name { }
62
+
63
+ &__card_sum {}
64
+ }
65
+ }
66
+
67
+ @media (max-width: 430px) {
68
+ .cards-grey {
69
+
70
+ &__title {}
71
+
72
+ &__cards {}
73
+
74
+ &__card {
75
+ }
76
+
77
+ &__card_name { }
78
+
79
+ &__card_sum {}
80
+ }
81
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.CardsGreyTest = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _CardsGrey = _interopRequireDefault(require("./CardsGrey"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var _default = exports["default"] = {
11
+ title: 'CardsGrey',
12
+ component: _CardsGrey["default"]
13
+ };
14
+ var CardsGreyTest = exports.CardsGreyTest = function CardsGreyTest() {
15
+ return /*#__PURE__*/_react["default"].createElement(_CardsGrey["default"], null);
16
+ };
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  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); }
4
5
  Object.defineProperty(exports, "__esModule", {
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _image = _interopRequireDefault(require("next/image"));
9
+ require("./MainContainer.scss");
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ var MainContainer = function MainContainer(_ref) {
12
+ var children = _ref.children;
13
+ return /*#__PURE__*/_react["default"].createElement("main", {
14
+ className: "landing-main-container"
15
+ }, children);
16
+ };
17
+ var _default = exports["default"] = MainContainer;
@@ -0,0 +1,23 @@
1
+ .landing-main-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ padding: 60px 40px 100px;
5
+ max-width: 1440px;
6
+ margin-left: auto;
7
+ margin-right: auto;
8
+ gap: 100px;
9
+ }
10
+
11
+ @media (max-width: 1100px) {
12
+ .landing-main-container {
13
+ padding: 42px 24px 60px;
14
+ gap: 80px;
15
+ }
16
+ }
17
+
18
+ @media (max-width: 430px) {
19
+ .landing-main-container {
20
+ padding: 60px 16px 60px;
21
+ gap: 50px;
22
+ }
23
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.MainContainerTest = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _MainContainer = _interopRequireDefault(require("./MainContainer"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var _default = exports["default"] = {
11
+ title: 'MainContainer',
12
+ component: _MainContainer["default"]
13
+ };
14
+ var MainContainerTest = exports.MainContainerTest = function MainContainerTest() {
15
+ return /*#__PURE__*/_react["default"].createElement(_MainContainer["default"], {
16
+ children: "\u041A\u043E\u043D\u0442\u0435\u043D\u0442"
17
+ });
18
+ };
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _image = _interopRequireDefault(require("next/image"));
10
+ var _utils = require("../../../common/utils");
11
+ var _StatisticCardModule = _interopRequireDefault(require("./StatisticCard.module.scss"));
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
+ // import "./StatisticCard.scss"
14
+
15
+ var StatisticCard = function StatisticCard(_ref) {
16
+ var list = _ref.list,
17
+ _ref$reverse = _ref.reverse,
18
+ reverse = _ref$reverse === void 0 ? false : _ref$reverse;
19
+ return /*#__PURE__*/_react["default"].createElement("section", {
20
+ className: (0, _utils.classes)(_StatisticCardModule["default"], 'statistic')
21
+ }, /*#__PURE__*/_react["default"].createElement("div", {
22
+ className: (0, _utils.classes)(_StatisticCardModule["default"], 'statistic__cards')
23
+ }, list.map(function (_ref2) {
24
+ var label = _ref2.label,
25
+ sum = _ref2.sum,
26
+ color = _ref2.color;
27
+ if (label && sum) {
28
+ return /*#__PURE__*/_react["default"].createElement("div", {
29
+ key: label + sum,
30
+ className: (0, _utils.classes)(_StatisticCardModule["default"], 'statistic__card'),
31
+ style: {
32
+ flexDirection: reverse ? 'column-reverse' : '',
33
+ justifyContent: !reverse ? 'flex-start' : 'flex-end'
34
+ }
35
+ }, /*#__PURE__*/_react["default"].createElement("span", {
36
+ className: (0, _utils.classes)(_StatisticCardModule["default"], 'statistic__card_name')
37
+ }, reverse ? sum === null || sum === void 0 ? void 0 : sum.toLocaleString() : label), /*#__PURE__*/_react["default"].createElement("span", {
38
+ className: (0, _utils.classes)(_StatisticCardModule["default"], 'statistic__card_sum'),
39
+ style: {
40
+ color: color ? color : ''
41
+ }
42
+ }, reverse ? label : sum === null || sum === void 0 ? void 0 : sum.toLocaleString()));
43
+ }
44
+ })));
45
+ };
46
+ var _default = exports["default"] = StatisticCard;
@@ -0,0 +1,94 @@
1
+ .statistic {
2
+ display: flex;
3
+ gap: 32px;
4
+ align-items: center;
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
+ &__cards {
16
+ display: flex;
17
+ flex-wrap: wrap;
18
+ width: 100%;
19
+ gap: 12px;
20
+ }
21
+
22
+ &__card {
23
+ display: flex;
24
+ flex-direction: column;
25
+ align-items: center;
26
+ justify-content: flex-start;
27
+ min-width: calc(25% - 12px);
28
+ max-width: calc(25% - 12px);
29
+ padding: 12px 14px;
30
+ gap: 14px;
31
+ border-radius: 8px;
32
+ background: #F7F7F7;
33
+ }
34
+
35
+ &__card_name {
36
+ text-align: center;
37
+ color: #333;
38
+ font-family: "Golos Text";
39
+ font-size: 16px;
40
+ font-style: normal;
41
+ font-weight: 400;
42
+ line-height: 24px;
43
+ }
44
+
45
+ &__card_sum {
46
+ text-align: center;
47
+ color: #00B45E;
48
+ font-family: "Golos Text";
49
+ font-size: 32px;
50
+ font-style: normal;
51
+ font-weight: 500;
52
+ }
53
+ }
54
+
55
+ @media (max-width: 1100px) {
56
+ .statistic {
57
+ display: flex;
58
+ gap: 32px;
59
+ align-items: center;
60
+
61
+ &__title {}
62
+
63
+ &__cards {
64
+ flex-wrap: wrap;
65
+ justify-content: center;
66
+ }
67
+
68
+ &__card {
69
+ min-width: 155px;
70
+ width: 100%;
71
+ }
72
+
73
+ &__card_name { }
74
+
75
+ &__card_sum {}
76
+ }
77
+ }
78
+
79
+ @media (max-width: 430px) {
80
+ .statistic {
81
+
82
+ &__title {}
83
+
84
+ &__cards {}
85
+
86
+ &__card {
87
+ min-width: 155px;
88
+ }
89
+
90
+ &__card_name { }
91
+
92
+ &__card_sum {}
93
+ }
94
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.StatisticCardTest = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _StatisticCard = _interopRequireDefault(require("./StatisticCard"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var cards_list = [{
11
+ sum: 'Аналитика повышает продажи',
12
+ label: 'На 50%'
13
+ }, {
14
+ sum: 'Брендов доверяют нам',
15
+ label: '1 млн+'
16
+ }, {
17
+ sum: 'Товаров ежедневно в мониторинге',
18
+ label: '77 млн+'
19
+ }, {
20
+ sum: 'Бюджета экономят наши клиенты',
21
+ label: 'До 30%'
22
+ }];
23
+ var _default = exports["default"] = {
24
+ title: 'StatisticCard',
25
+ component: _StatisticCard["default"]
26
+ };
27
+ var StatisticCardTest = exports.StatisticCardTest = function StatisticCardTest() {
28
+ return /*#__PURE__*/_react["default"].createElement(_StatisticCard["default"], {
29
+ reverse: true,
30
+ list: cards_list
31
+ });
32
+ };
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ 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); }
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+ var _react = _interopRequireWildcard(require("react"));
10
+ var _image = _interopRequireDefault(require("next/image"));
11
+ var _utils = require("../../../common/utils");
12
+ var _StepItemsModule = _interopRequireDefault(require("./StepItems.module.scss"));
13
+ var _ButtonBasic = _interopRequireDefault(require("../../Buttons/ButtonBasic/ButtonBasic"));
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
15
+ 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); }
16
+ 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; }
17
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
18
+ 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."); }
19
+ 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; } }
20
+ 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; }
21
+ 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; } }
22
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
23
+ var StepItems = function StepItems(_ref) {
24
+ var title = _ref.title,
25
+ _ref$list = _ref.list,
26
+ list = _ref$list === void 0 ? [] : _ref$list,
27
+ _ref$className = _ref.className,
28
+ className = _ref$className === void 0 ? '' : _ref$className;
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["default"].createElement("section", {
39
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps')
40
+ }, title && /*#__PURE__*/_react["default"].createElement("h3", {
41
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps__title')
42
+ }, title), /*#__PURE__*/_react["default"].createElement("div", {
43
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps__items')
44
+ }, list.map(function (_ref2, ind) {
45
+ var title = _ref2.title,
46
+ description = _ref2.description;
47
+ if (title) {
48
+ return /*#__PURE__*/_react["default"].createElement("div", {
49
+ key: title + description,
50
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps__item')
51
+ }, /*#__PURE__*/_react["default"].createElement("div", {
52
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps__count')
53
+ }, ind + 1), title && /*#__PURE__*/_react["default"].createElement("h4", {
54
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps__title_step')
55
+ }, title), description && /*#__PURE__*/_react["default"].createElement("p", {
56
+ className: (0, _utils.classes)(_StepItemsModule["default"], 'steps__description')
57
+ }, description));
58
+ }
59
+ })), /*#__PURE__*/_react["default"].createElement(_ButtonBasic["default"], {
60
+ green: true,
61
+ text: "\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",
62
+ style: {
63
+ marginLeft: 'auto',
64
+ marginRight: 'auto'
65
+ },
66
+ maxWidth: '320px',
67
+ width: "100%",
68
+ onClick: function onClick() {
69
+ var _window2;
70
+ return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("https://lk.ecomru.ru/auth".concat(refPage), '_blunk');
71
+ }
72
+ }));
73
+ };
74
+ var _default = exports["default"] = StepItems;
@@ -0,0 +1,149 @@
1
+ .steps {
2
+ display: flex;
3
+ width: 100%;
4
+ flex-direction: column;
5
+ gap: 30px;
6
+ align-items: flex-start;
7
+ gap: 30px;
8
+ border-radius: 20px;
9
+
10
+ &__title {
11
+ color: black;
12
+ font-family: "Golos Text";
13
+ font-size: 42px;
14
+ font-style: normal;
15
+ font-weight: 500;
16
+ line-height: 51px;
17
+ }
18
+
19
+ &__items {
20
+ display: flex;
21
+ gap: 16px;
22
+ }
23
+
24
+ &__item {
25
+ display: flex;
26
+ flex-direction: column;
27
+ width: 100%;
28
+ gap: 12px;
29
+ max-width: calc(25% - 12px);
30
+
31
+ &:nth-child(2) {
32
+ .steps__count {
33
+ color: #19AD30;
34
+ background: #DBFFDA;
35
+ }
36
+ }
37
+
38
+ &:nth-child(3) {
39
+ .steps__count {
40
+ color: #4989FF;
41
+ background: #DEEFFF;
42
+ }
43
+ }
44
+
45
+ &:nth-child(4) {
46
+
47
+ .steps__count {
48
+ color: #B251FF;
49
+ background: #F5E1FF;
50
+ }
51
+ }
52
+
53
+ &:nth-child(5) {
54
+
55
+ .steps__count {
56
+ color: #FF5166;
57
+ background: #FFE1E3;
58
+ }
59
+ }
60
+ }
61
+
62
+ &__title_step {
63
+ color: #333;
64
+ font-family: "Golos Text";
65
+ font-size: 16px;
66
+ font-style: normal;
67
+ font-weight: 500;
68
+ }
69
+
70
+ &__count {
71
+ display: flex;
72
+ justify-content: center;
73
+ align-items: center;
74
+ border-radius: 8px;
75
+ width: 42px;
76
+ height: 42px;
77
+ padding: 10px;
78
+ background: #FFF3DE;
79
+ color: #FFA008;
80
+ font-family: "Golos Text";
81
+ font-size: 32px;
82
+ font-style: normal;
83
+ font-weight: 500;
84
+ line-height: 51px;
85
+ }
86
+
87
+ &__description {
88
+ color: #C5C5C5;
89
+ font-family: "Golos Text";
90
+ font-size: 14px;
91
+ font-style: normal;
92
+ font-weight: 400;
93
+ line-height: 20px;
94
+ }
95
+ }
96
+
97
+ @media(max-width: 1100px) {
98
+ .steps {
99
+
100
+ &__title {
101
+ font-family: "Golos Text";
102
+ font-size: 28px;
103
+ line-height: 32px;
104
+ }
105
+
106
+ &__items {
107
+ flex-direction: column;
108
+ }
109
+
110
+ &__item {
111
+ max-width: 100%;
112
+ width: 100%;
113
+ }
114
+
115
+ &__title_step {}
116
+
117
+ &__count {}
118
+
119
+ &__description {}
120
+ }
121
+ }
122
+
123
+ @media(max-width: 430px) {
124
+ .steps {
125
+
126
+ &__title {
127
+ font-size: 20px;
128
+ line-height: 24px;
129
+ }
130
+
131
+ &__items {
132
+ flex-direction: column;
133
+ }
134
+
135
+ &__item {
136
+ max-width: 100%;
137
+ width: 100%;
138
+ }
139
+
140
+ &__title_step {
141
+ font-size: 16px;
142
+ line-height: 24px;
143
+ }
144
+
145
+ &__count {}
146
+
147
+ &__description {}
148
+ }
149
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.StepItemsTest = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _StepItems = _interopRequireDefault(require("./StepItems"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var steps = [{
11
+ title: 'Зарегистрируй личный кабинет на платформе ECOMRU'
12
+ }, {
13
+ title: "\u0414\u043E\u0431\u0430\u0432\u044C \u0441\u0432\u043E\u0438\u0445 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u043E\u0432 \u043D\u0430 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435 \u043F\u0440\u0438 \u043F\u043E\u043C\u043E\u0449\u0438 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B"
14
+ }, {
15
+ title: "\u0414\u043B\u044F \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0439 \u0438\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044E \u043F\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044E \u0440\u0430\u0437\u0434\u0435\u043B\u0430 \u201C\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430\u201D"
16
+ }, {
17
+ title: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0446\u0435\u043D\u044B, \u0437\u0430\u043A\u0430\u0437\u044B \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u0435\u043B\u0438 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u043F\u0440\u0438 \u043F\u043E\u043C\u043E\u0449\u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0433\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430"
18
+ }];
19
+ var _default = exports["default"] = {
20
+ title: 'StepItems',
21
+ component: _StepItems["default"]
22
+ };
23
+ var StepItemsTest = exports.StepItemsTest = function StepItemsTest() {
24
+ return /*#__PURE__*/_react["default"].createElement(_StepItems["default"], {
25
+ title: 'Как начать пользоваться сервисом',
26
+ list: steps
27
+ });
28
+ };
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
package/dist/index.js CHANGED
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "ArticlesBlock", {
15
15
  return _ArticlesBlock["default"];
16
16
  }
17
17
  });
18
+ Object.defineProperty(exports, "BlocksInfo", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _BlocksInfo["default"];
22
+ }
23
+ });
18
24
  Object.defineProperty(exports, "Button", {
19
25
  enumerable: true,
20
26
  get: function get() {
@@ -27,6 +33,12 @@ Object.defineProperty(exports, "ButtonBasic", {
27
33
  return _ButtonBasic["default"];
28
34
  }
29
35
  });
36
+ Object.defineProperty(exports, "CardsGrey", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _CardsGrey["default"];
40
+ }
41
+ });
30
42
  Object.defineProperty(exports, "CardsInfo", {
31
43
  enumerable: true,
32
44
  get: function get() {
@@ -51,6 +63,12 @@ Object.defineProperty(exports, "Header", {
51
63
  return _Header["default"];
52
64
  }
53
65
  });
66
+ Object.defineProperty(exports, "MainContainer", {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _MainContainer["default"];
70
+ }
71
+ });
54
72
  Object.defineProperty(exports, "PhoneBlock", {
55
73
  enumerable: true,
56
74
  get: function get() {
@@ -63,6 +81,18 @@ Object.defineProperty(exports, "Questions", {
63
81
  return _Questions["default"];
64
82
  }
65
83
  });
84
+ Object.defineProperty(exports, "StatisticCard", {
85
+ enumerable: true,
86
+ get: function get() {
87
+ return _StatisticCard["default"];
88
+ }
89
+ });
90
+ Object.defineProperty(exports, "StepItems", {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _StepItems["default"];
94
+ }
95
+ });
66
96
  Object.defineProperty(exports, "TariffPlan", {
67
97
  enumerable: true,
68
98
  get: function get() {
@@ -86,5 +116,10 @@ var _TariffPlan = _interopRequireDefault(require("./components/ConstructorCompon
86
116
  var _VideoBlock = _interopRequireDefault(require("./components/ConstructorComponents/VideoBlock/VideoBlock"));
87
117
  var _ArticlesBlock = _interopRequireDefault(require("./components/ConstructorComponents/ArticlesBlock/ArticlesBlock"));
88
118
  var _FormWithBtn = _interopRequireDefault(require("./components/ConstructorComponents/FormWithBtn/FormWithBtn"));
119
+ var _BlocksInfo = _interopRequireDefault(require("./components/ConstructorComponents/BlocksInfo/BlocksInfo"));
120
+ var _StepItems = _interopRequireDefault(require("./components/ConstructorComponents/StepItems/StepItems"));
121
+ var _StatisticCard = _interopRequireDefault(require("./components/ConstructorComponents/StatisticCard/StatisticCard"));
122
+ var _MainContainer = _interopRequireDefault(require("./components/ConstructorComponents/MainContainer/MainContainer"));
123
+ var _CardsGrey = _interopRequireDefault(require("./components/ConstructorComponents/CardsGrey/CardsGrey"));
89
124
  var _ButtonBasic = _interopRequireDefault(require("./components/Buttons/ButtonBasic/ButtonBasic"));
90
125
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ecomlab-components-next",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "A set of common and reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "files": [