ecomlab-components-next 0.1.12 → 0.1.13

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 (60) hide show
  1. package/dist/components/Buttons/ButtonBasic/ButtonBasic.js +1 -0
  2. package/dist/components/ConstructorComponents/AdvantagesBlock/AdvantagesBlock.js +114 -0
  3. package/dist/components/ConstructorComponents/AdvantagesBlock/AdvantagesBlock.scss +182 -0
  4. package/dist/components/ConstructorComponents/AdvantagesBlock/AdvantagesBlock.stories.js +33 -0
  5. package/dist/components/ConstructorComponents/CardsInfo/CardsInfo.js +158 -0
  6. package/dist/components/ConstructorComponents/CardsInfo/CardsInfo.scss +165 -0
  7. package/dist/components/ConstructorComponents/CardsInfo/CardsInfo.stories.js +19 -0
  8. package/dist/components/ConstructorComponents/ClientsAboutUs/ClientsAboutUs.scss +1 -1
  9. package/dist/components/ConstructorComponents/Header/Hader.stories.js +24 -0
  10. package/dist/components/ConstructorComponents/Header/Header.js +102 -0
  11. package/dist/components/ConstructorComponents/Header/Header.scss +139 -0
  12. package/dist/components/ConstructorComponents/Header/img/Ozon.svg +20 -0
  13. package/dist/components/ConstructorComponents/Header/img/WB.svg +15 -0
  14. package/dist/components/ConstructorComponents/Header/img/Yandex Market.svg +14 -0
  15. package/dist/components/ConstructorComponents/PhoneBlock/PhoneBlock.js +46 -0
  16. package/dist/components/ConstructorComponents/PhoneBlock/PhoneBlock.scss +180 -0
  17. package/dist/components/ConstructorComponents/PhoneBlock/PhoneBlock.stories.js +19 -0
  18. package/dist/components/ConstructorComponents/PhoneBlock/img/phone.png +0 -0
  19. package/dist/components/ConstructorComponents/Questions/Questions.js +68 -0
  20. package/dist/components/ConstructorComponents/Questions/Questions.scss +131 -0
  21. package/dist/components/ConstructorComponents/Questions/Questions.stories.js +57 -0
  22. package/dist/components/ConstructorComponents/Questions/img/ar_down.svg +5 -0
  23. package/dist/components/ConstructorComponents/Questions/img/ar_up.svg +5 -0
  24. package/dist/components/ConstructorComponents/Tariff/TariffPlan.js +732 -0
  25. package/dist/components/ConstructorComponents/Tariff/TariffPlan.scss +485 -0
  26. package/dist/components/ConstructorComponents/Tariff/TariffPlan.stories.js +16 -0
  27. package/dist/components/ConstructorComponents/Tariff/img/active.svg +5 -0
  28. package/dist/components/ConstructorComponents/Tariff/img/add.svg +6 -0
  29. package/dist/components/ConstructorComponents/Tariff/img/bx-chevron-down.svg +3 -0
  30. package/dist/components/ConstructorComponents/Tariff/img/bx-face.svg +7 -0
  31. package/dist/components/ConstructorComponents/Tariff/img/bx-info-circle.svg +6 -0
  32. package/dist/components/ConstructorComponents/Tariff/img/bx-package.svg +3 -0
  33. package/dist/components/ConstructorComponents/Tariff/img/chevron-down.png +0 -0
  34. package/dist/components/ConstructorComponents/Tariff/img/copy.svg +5 -0
  35. package/dist/components/ConstructorComponents/Tariff/img/disactive.svg +4 -0
  36. package/dist/components/ConstructorComponents/Tariff/img/discount-icon.svg +3 -0
  37. package/dist/components/ConstructorComponents/Tariff/img/drop_blue.svg +5 -0
  38. package/dist/components/ConstructorComponents/Tariff/img/stars_glass.svg +31 -0
  39. package/dist/components/ConstructorComponents/Tariff/imgs/bx-bar-chart-square.svg +4 -0
  40. package/dist/components/ConstructorComponents/Tariff/imgs/bx-book-open.svg +5 -0
  41. package/dist/components/ConstructorComponents/Tariff/imgs/bx-calendar-week.svg +6 -0
  42. package/dist/components/ConstructorComponents/Tariff/imgs/bx-cart-alt.svg +5 -0
  43. package/dist/components/ConstructorComponents/Tariff/imgs/bx-chart.svg +4 -0
  44. package/dist/components/ConstructorComponents/Tariff/imgs/bx-chat.svg +4 -0
  45. package/dist/components/ConstructorComponents/Tariff/imgs/bx-detail.svg +4 -0
  46. package/dist/components/ConstructorComponents/Tariff/imgs/bx-donate-heart.svg +3 -0
  47. package/dist/components/ConstructorComponents/Tariff/imgs/bx-face.svg +5 -0
  48. package/dist/components/ConstructorComponents/Tariff/imgs/bx-globe.svg +3 -0
  49. package/dist/components/ConstructorComponents/Tariff/imgs/bx-layout.svg +3 -0
  50. package/dist/components/ConstructorComponents/Tariff/imgs/bx-message-detail.svg +6 -0
  51. package/dist/components/ConstructorComponents/Tariff/imgs/bx-notification.svg +4 -0
  52. package/dist/components/ConstructorComponents/Tariff/imgs/bx-package.svg +3 -0
  53. package/dist/components/ConstructorComponents/Tariff/imgs/bx-slider.svg +3 -0
  54. package/dist/components/ConstructorComponents/Tariff/imgs/check.svg +6 -0
  55. package/dist/components/ConstructorComponents/VideoBlock/VideoBlock.js +25 -0
  56. package/dist/components/ConstructorComponents/VideoBlock/VideoBlock.scss +41 -0
  57. package/dist/components/ConstructorComponents/VideoBlock/VideoBlock.stories.js +18 -0
  58. package/dist/components/Tabs/TabsGreen/TabsGreen.js +47 -0
  59. package/dist/components/Tabs/TabsGreen/TabsGreen.scss +77 -0
  60. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
 
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ require("./AdvantagesBlock.scss");
9
+ var _ButtonBasic = _interopRequireDefault(require("../../Buttons/ButtonBasic/ButtonBasic"));
10
+ var _react = require("react");
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
13
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
14
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
15
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
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 AdvantagesBlock = function AdvantagesBlock(_ref) {
23
+ var _window;
24
+ var title = _ref.title,
25
+ _ref$list = _ref.list,
26
+ list = _ref$list === void 0 ? [] : _ref$list,
27
+ description = _ref.description,
28
+ descriptionWhite = _ref.descriptionWhite,
29
+ _ref$className = _ref.className,
30
+ className = _ref$className === void 0 ? '' : _ref$className,
31
+ width = _ref.width,
32
+ btn = _ref.btn;
33
+ var _useState = (0, _react.useState)(''),
34
+ _useState2 = _slicedToArray(_useState, 2),
35
+ refPage = _useState2[0],
36
+ setRefPage = _useState2[1];
37
+ var blocksRef = (0, _react.useRef)([]);
38
+ var _useState3 = (0, _react.useState)([]),
39
+ _useState4 = _slicedToArray(_useState3, 2),
40
+ maxHeight = _useState4[0],
41
+ setMaxHeight = _useState4[1];
42
+ var _useState5 = (0, _react.useState)((_window = window) === null || _window === void 0 ? void 0 : _window.innerWidth),
43
+ _useState6 = _slicedToArray(_useState5, 2),
44
+ withGeneral = _useState6[0],
45
+ setWidthGeneral = _useState6[1];
46
+ (0, _react.useEffect)(function () {
47
+ var _window2;
48
+ var currentUrl = (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href;
49
+ setRefPage("?ref_page=".concat(currentUrl));
50
+ }, [list]);
51
+ var setHeight = function setHeight() {
52
+ var _window3;
53
+ setWidthGeneral((_window3 = window) === null || _window3 === void 0 ? void 0 : _window3.innerWidth);
54
+ setMaxHeight(0);
55
+ var heights = blocksRef.current.map(function (block) {
56
+ var _block$getBoundingCli;
57
+ return (_block$getBoundingCli = block.getBoundingClientRect()) === null || _block$getBoundingCli === void 0 ? void 0 : _block$getBoundingCli.height;
58
+ });
59
+ var max = Math.max.apply(Math, _toConsumableArray(heights));
60
+ setMaxHeight(max);
61
+ };
62
+ (0, _react.useEffect)(function () {
63
+ window.addEventListener("resize", setHeight);
64
+ window.addEventListener('load', setHeight);
65
+ return function () {
66
+ var _window4;
67
+ window.removeEventListener("resize", setHeight);
68
+ (_window4 = window) === null || _window4 === void 0 || _window4.removeEventListener('load', setHeight);
69
+ };
70
+ }, [blocksRef]);
71
+ return /*#__PURE__*/React.createElement("section", {
72
+ className: "advantages-block ".concat(className)
73
+ }, /*#__PURE__*/React.createElement("div", {
74
+ className: "advantages-block__header"
75
+ }, title && /*#__PURE__*/React.createElement("h2", {
76
+ className: "advantages-block__title"
77
+ }, title), description && /*#__PURE__*/React.createElement("p", {
78
+ className: "advantages-block__description"
79
+ }, description)), descriptionWhite && /*#__PURE__*/React.createElement("p", {
80
+ className: "advantages-block__description-white"
81
+ }, descriptionWhite), (list === null || list === void 0 ? void 0 : list.length) > 0 && /*#__PURE__*/React.createElement("div", {
82
+ className: "advantages-block__items"
83
+ }, list === null || list === void 0 ? void 0 : list.map(function (_ref2, ind) {
84
+ var title = _ref2.title,
85
+ description = _ref2.description;
86
+ return /*#__PURE__*/React.createElement("div", {
87
+ className: "advantages-block__item ".concat(className),
88
+ key: title + ind,
89
+ style: {
90
+ maxWidth: width == 'auto' ? 'fit-content' : ''
91
+ }
92
+ }, /*#__PURE__*/React.createElement("div", {
93
+ style: {
94
+ height: withGeneral > 430 ? maxHeight : ''
95
+ }
96
+ }, title && /*#__PURE__*/React.createElement("div", {
97
+ className: "advantages-block__item-title",
98
+ ref: function ref(el) {
99
+ return blocksRef.current[ind] = el;
100
+ }
101
+ }, title)), description && /*#__PURE__*/React.createElement("p", {
102
+ className: "advantages-block__item-description"
103
+ }, description));
104
+ })), btn && /*#__PURE__*/React.createElement(_ButtonBasic["default"], {
105
+ green: true,
106
+ width: "320px",
107
+ text: btn,
108
+ onClick: function onClick() {
109
+ var _window5;
110
+ return (_window5 = window) === null || _window5 === void 0 ? void 0 : _window5.open("https://lk.ecomru.ru/auth".concat(refPage), '_blunk');
111
+ }
112
+ }));
113
+ };
114
+ var _default = exports["default"] = AdvantagesBlock;
@@ -0,0 +1,182 @@
1
+ .advantages-block {
2
+ display: flex;
3
+ flex-direction: column;
4
+ border-radius: 20px;
5
+ gap: 30px;
6
+
7
+ &__header {
8
+ display: flex;
9
+ width: 100%;
10
+ justify-content: space-between;
11
+ align-items: center;
12
+ gap: 24px;
13
+ }
14
+
15
+ &__title {
16
+ color: black;
17
+ font-family: "Golos Text";
18
+ font-size: 42px;
19
+ font-style: normal;
20
+ font-weight: 500;
21
+ line-height: 1.2;
22
+ }
23
+
24
+ &__description {
25
+ color: #FFA800;
26
+ font-family: "Golos Text";
27
+ font-size: 20px;
28
+ font-style: normal;
29
+ font-weight: 500;
30
+ font-size: 20px;
31
+ line-height: 1.2
32
+ }
33
+
34
+ &__description-white {
35
+ color: black;
36
+ font-family: "Golos Text";
37
+ font-size: 16px;
38
+ font-style: normal;
39
+ font-weight: 500;
40
+ line-height: 24px;
41
+ }
42
+
43
+ &__items {
44
+ display: flex;
45
+ width: 100%;
46
+ gap: 32px;
47
+ row-gap: 32px;
48
+ flex-wrap: wrap;
49
+ justify-content: center;
50
+ }
51
+
52
+ &__item {
53
+ display: flex;
54
+ flex-direction: column;
55
+ width: 100%;
56
+ max-width: calc(25% - 24px);
57
+ align-items: flex-start;
58
+ gap: 14px;
59
+ }
60
+
61
+ .max-items-2 {
62
+ max-width: calc(50% - 16px);
63
+ }
64
+
65
+ .max-items-3 {
66
+ max-width: calc(33.33% - 22px);
67
+ }
68
+
69
+ .max-items-4 {
70
+ max-width: calc(25% - 24px);
71
+ }
72
+
73
+ .max-items-5 {
74
+ max-width: calc(20% - 14px);
75
+ }
76
+
77
+ &__item-title {
78
+ color: var(--Text-Accent-Green, #00B45E);
79
+ font-family: "Golos Text";
80
+ font-size: 24px;
81
+ font-style: normal;
82
+ font-weight: 500;
83
+ }
84
+
85
+ &__item-description {
86
+ color: #333;
87
+ font-family: "Golos Text";
88
+ font-size: 17px;
89
+ font-style: normal;
90
+ font-weight: 400;
91
+ }
92
+ }
93
+
94
+ @media (max-width: 1100px) {
95
+ .advantages-block {
96
+
97
+ &__header {
98
+ flex-wrap: wrap;
99
+ }
100
+
101
+ &__title {
102
+ font-size: 28px;
103
+ }
104
+
105
+ &__description {}
106
+
107
+ &__description-white {}
108
+
109
+ &__items {}
110
+
111
+ &__item {
112
+ max-width: calc(50% - 16px);
113
+ }
114
+
115
+ .max-items-2 {
116
+ max-width: calc(50% - 16px);
117
+ }
118
+
119
+ .max-items-3 {
120
+ max-width: calc(50% - 16px);
121
+ }
122
+
123
+ .max-items-4 {
124
+ max-width: calc(50% - 16px);
125
+ }
126
+
127
+ .max-items-5 {
128
+ max-width: calc(50% - 16px);
129
+ }
130
+
131
+ &__item-title {}
132
+
133
+ &__item-description {}
134
+ }
135
+ }
136
+
137
+ @media (max-width: 430px) {
138
+ .advantages-block {
139
+ gap: 24px;
140
+
141
+ &__header {
142
+ gap: 14px;
143
+ }
144
+
145
+ &__title {
146
+ font-size: 20px;
147
+ }
148
+
149
+ &__description {
150
+ font-size: 16px;
151
+ line-height: 24px;
152
+ }
153
+
154
+ &__description-white {}
155
+
156
+ &__items {}
157
+
158
+ &__item {
159
+ max-width: 100%;
160
+ }
161
+
162
+ .max-items-2 {
163
+ max-width: 100%;
164
+ }
165
+
166
+ .max-items-3 {
167
+ max-width: 100%;
168
+ }
169
+
170
+ .max-items-4 {
171
+ max-width: 100%;
172
+ }
173
+
174
+ .max-items-5 {
175
+ max-width: 100%;
176
+ }
177
+
178
+ &__item-title {}
179
+
180
+ &__item-description {}
181
+ }
182
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.AdvantagesBlockTest = void 0;
7
+ var _react = require("react");
8
+ var _AdvantagesBlock = _interopRequireDefault(require("./AdvantagesBlock"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
+ var advantages_list = [{
11
+ title: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u044B\u0435 \u0440\u0435\u0448\u0435\u043D\u0438\u044F",
12
+ description: /*#__PURE__*/React.createElement(React.Fragment, null, "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044F \u0446\u0435\u043D\u043E\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430 ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0420\u0435\u043A\u043B\u0430\u043C\u0430 \u0438 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433 ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0420\u0430\u0431\u043E\u0442\u0430 \u0441 \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u043E\u043C ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u041C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432 ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0410\u0432\u0442\u043E\u043E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u043E\u0442\u0437\u044B\u0432\u044B ", /*#__PURE__*/React.createElement("br", null), "\xB7 SEO-\u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u044F ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0422\u0430\u0441\u043A-\u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440 ", /*#__PURE__*/React.createElement("br", null), "\xB7 CRM ", /*#__PURE__*/React.createElement("br", null), "\xB7 PIM \u0438 \u043C\u043D\u043E\u0433\u043E\u0435 \u0434\u0440\u0443\u0433\u043E\u0435 ", /*#__PURE__*/React.createElement("br", null))
13
+ }, {
14
+ title: "\u0420\u0435\u043A\u043B\u0430\u043C\u0430 \u0438 \u043C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433",
15
+ description: /*#__PURE__*/React.createElement(React.Fragment, null, "\xB7 \u0412 2 \u0440\u0430\u0437\u0430 \u0441\u043E\u043A\u0440\u0430\u0442\u0438 \u0440\u0430\u0441\u0445\u043E\u0434\u044B \u043D\u0430 \u0440\u0435\u043A\u043B\u0430\u043C\u0443. ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u042D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0440\u0430\u0441\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0439 \u0431\u044E\u0434\u0436\u0435\u0442 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u0439 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0438. ", /*#__PURE__*/React.createElement("br", null), "\xB7 \u041F\u043E\u043B\u0443\u0447\u0438 \u0431\u043E\u043B\u0435\u0435 50 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0445 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0439 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445.")
16
+ }, {
17
+ title: "\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0438 \u0434\u0435\u043D\u0435\u0433",
18
+ description: /*#__PURE__*/React.createElement(React.Fragment, null, "\xB7 \u0421\u0447\u0438\u0442\u0430\u0439 \u0431\u044E\u0434\u0436\u0435\u0442 \u0438 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u0439 \u0440\u0430\u0441\u0445\u043E\u0434\u044B \u0438\u0437 \u0435\u0434\u0438\u043D\u043E\u0433\u043E \u043B\u0438\u0447\u043D\u043E\u0433\u043E \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0430.", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0439 \u0440\u0443\u0442\u0438\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043E\u0441\u0432\u043E\u0431\u043E\u0434\u0438 \u0431\u043E\u043B\u0435\u0435 50% \u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438.", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0421\u044D\u043A\u043E\u043D\u043E\u043C\u044C 40% \u0431\u044E\u0434\u0436\u0435\u0442\u0430 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u0437\u0430 \u0441\u0447\u0451\u0442 \u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u0438\u0437\u043D\u0435\u0441-\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432.")
19
+ }, {
20
+ title: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432",
21
+ description: /*#__PURE__*/React.createElement(React.Fragment, null, "\xB7 \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0439 \u0431\u043E\u043B\u0435\u0435 75% \u0432\u0441\u0435\u0445 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u044E\u0442\u0441\u044F \u0440\u0443\u043A\u0430\u043C\u0438.", /*#__PURE__*/React.createElement("br", null), "\xB7 \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439 \u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u0435 \u0438 \u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0431\u0438\u0437\u043D\u0435\u0441\u0430.", /*#__PURE__*/React.createElement("br", null))
22
+ }];
23
+ var _default = exports["default"] = {
24
+ title: 'AdvantagesBlock',
25
+ component: _AdvantagesBlock["default"]
26
+ };
27
+ var AdvantagesBlockTest = exports.AdvantagesBlockTest = function AdvantagesBlockTest() {
28
+ return /*#__PURE__*/React.createElement(_AdvantagesBlock["default"], {
29
+ title: "\u041F\u0440\u0435\u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430",
30
+ description: '60% клиентов сотрудничают с нами уже более 2-х лет',
31
+ list: advantages_list
32
+ });
33
+ };
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+
3
+ 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
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _image = _interopRequireDefault(require("next/image"));
10
+ var _ButtonBasic = _interopRequireDefault(require("../../Buttons/ButtonBasic/ButtonBasic"));
11
+ require("./CardsInfo.scss");
12
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
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); }
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; }
15
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
16
+ 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."); }
17
+ 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; } }
18
+ 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; }
19
+ 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; } }
20
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
21
+ var list = [{
22
+ label: "\u0410\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0430",
23
+ description: "\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0437\u0430\u043A\u0430\u0437\u044B, \u0446\u0435\u043D\u044B, \u0440\u0435\u043A\u043B\u0430\u043C\u043D\u044B\u0435 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0438, \u0441\u0447\u0438\u0442\u0430\u0439 \u044E\u043D\u0438\u0442-\u044D\u043A\u043E\u043D\u043E\u043C\u0438\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438 \u0437\u0430 \n \u0440\u0435\u043D\u0442\u0430\u0431\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C\u044E \u0441\u0432\u043E\u0438\u0445 \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u043E\u0432 \u043D\u0430 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445 Wildberries, Ozon \u0438 \u042F\u043D\u0434\u0435\u043A\u0441 \u041C\u0430\u0440\u043A\u0435\u0442",
24
+ img: "https://dl.ecomru.ru:9001/dev-images/analitics_1.png",
25
+ link: '/analytics'
26
+ }, {
27
+ label: "\u0422\u043E\u0432\u0430\u0440\u044B",
28
+ description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u0432\u0441\u0435\u043C \u0442\u043E\u0432\u0430\u0440\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u043E\u043C \u043D\u0430 \u043E\u0434\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0435, \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0438 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u0441 \u043E\u0434\u043D\u043E\u0433\u043E \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430 \u043D\u0430 \u0434\u0440\u0443\u0433\u043E\u0439 \u0438 \u0443\u043B\u0443\u0447\u0448\u0430\u0439 \u0438\u0445",
29
+ img: "https://dl.ecomru.ru:9001/dev-images/product.png",
30
+ link: '/products'
31
+ }, {
32
+ label: "\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432",
33
+ description: "\u0421\u043B\u0435\u0434\u0438 \u0437\u0430 \u0446\u0435\u043D\u0430\u043C\u0438, \u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u0443\u0439 \u0430\u0441\u0441\u043E\u0440\u0442\u0438\u043C\u0435\u043D\u0442 \u0438 \u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0441\u043E\u0431\u0438\u0440\u0430\u0439 \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u043B\u043E\u0432\u0430 \u0443 \u043A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043E\u0432 \u0432 \u0441\u0432\u043E\u0435\u0439 \u043D\u0438\u0448\u0435",
34
+ img: "https://dl.ecomru.ru:9001/dev-images/competitors_1.png",
35
+ link: ''
36
+ }, {
37
+ label: "\u041C\u0430\u0440\u043A\u0435\u0442\u0438\u043D\u0433",
38
+ description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u0440\u0435\u043A\u043B\u0430\u043C\u043E\u0439 \u0438 \u0430\u043A\u0446\u0438\u044F\u043C\u0438 \u043D\u0430 3-\u0445 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u0430\u0445 \u0432 \u043E\u0434\u043D\u043E\u043C \u043E\u043A\u043D\u0435 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u0439 \u043A\u0430\u043C\u043F\u0430\u043D\u0438\u0438",
39
+ img: "https://dl.ecomru.ru:9001/dev-images/marketing_1.png",
40
+ // link: '/marketing'
41
+ link: ''
42
+ }, {
43
+ label: "\u041A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u043B\u043E\u0432\u0430",
44
+ description: "SEO-\u043E\u043F\u0442\u0438\u043C\u0438\u0437\u0438\u0440\u0443\u0439 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u0440\u0435\u043B\u0435\u0432\u0430\u043D\u0442\u043D\u044B\u043C\u0438 \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u043C\u0438 \u0441\u043B\u043E\u0432\u0430\u043C\u0438 \u0438 \u043F\u043E\u0432\u044B\u0441\u044C \u0441\u0432\u043E\u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u0438 \u0432 \u043F\u043E\u0438\u0441\u043A\u043E\u0432\u043E\u0439 \u0432\u044B\u0434\u0430\u0447\u0435",
45
+ img: "https://dl.ecomru.ru:9001/dev-images/keyword.png",
46
+ link: '/keywords'
47
+ }, {
48
+ label: "\u041E\u0442\u0437\u044B\u0432\u044B \u0438 \u0432\u043E\u043F\u0440\u043E\u0441\u044B",
49
+ description: "\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0439 \u043E\u0442\u0432\u0435\u0442\u044B \u043D\u0430 \u043E\u0442\u0437\u044B\u0432\u044B \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u043A\u0430\u0436\u0434\u043E\u043C\u0443 \u043A\u043E\u043C\u043C\u0435\u043D\u0442\u0430\u0440\u0438\u044E",
50
+ img: "https://dl.ecomru.ru:9001/dev-images/image_14_3.png",
51
+ link: '/auto_feedback'
52
+ }, {
53
+ label: "Social Network",
54
+ description: "\u041D\u0430\u0441\u0442\u0440\u043E\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043F\u043E\u0441\u0442\u0438\u043D\u0433 \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430 \u0432 \u0412\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u0435, Telegram, Instagram \u0438 \u0414\u0437\u0435\u043D \u0441 \u043E\u0434\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B",
55
+ img: "https://dl.ecomru.ru:9001/dev-images/image_13_3.png",
56
+ link: '/social_network'
57
+ }, {
58
+ label: "\u0417\u0430\u0434\u0430\u0447\u0438",
59
+ description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u043F\u0440\u043E\u0435\u043A\u0442\u0430\u043C\u0438 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438 \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438 \u043F\u0440\u0438 \u043F\u043E\u043C\u043E\u0449\u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0433\u043E \u0442\u0430\u0441\u043A-\u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u0430",
60
+ img: "https://dl.ecomru.ru:9001/dev-images/image_15_1.png",
61
+ link: '/tasks'
62
+ }, {
63
+ label: "\u0417\u0430\u043A\u0430\u0437\u044B",
64
+ description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u0437\u0430\u043A\u0430\u0437\u0430\u043C\u0438 \u0438 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u0439 \u043E\u0441\u0442\u0430\u0442\u043A\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u0430\u0445 3-\u0445 \u043C\u0430\u0440\u043A\u0435\u0442\u043F\u043B\u0435\u0439\u0441\u043E\u0432 \u0438\u0437 \u043E\u0434\u043D\u043E\u0433\u043E \u043E\u043A\u043D\u0430",
65
+ img: "https://dl.ecomru.ru:9001/dev-images/image_11_4.png",
66
+ link: '/orders'
67
+ }, {
68
+ label: "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",
69
+ description: "\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0439 \u0443\u0434\u043E\u0431\u043D\u043E\u0435 \u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435, \u0441\u0442\u0430\u0432\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0438, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u0438 \u0432\u0435\u0434\u0438 \u0441\u0432\u043E\u0439 \u043B\u0438\u0447\u043D\u044B\u0439 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u0438\u043A \u0432\u043D\u0443\u0442\u0440\u0438 \u0435\u0434\u0438\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B",
70
+ img: "https://dl.ecomru.ru:9001/dev-images/calendar.png",
71
+ link: '/calendar'
72
+ }, {
73
+ label: "CRM",
74
+ description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u043F\u0440\u043E\u0434\u0430\u0436\u0430\u043C\u0438, \u0432\u043E\u0440\u043E\u043D\u043A\u0430\u043C\u0438, \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u0430\u043C\u0438 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443",
75
+ img: "",
76
+ link: '/crm'
77
+ }, {
78
+ label: "Wiki",
79
+ description: "\u0421\u043E\u0437\u0434\u0430\u0439 \u0441\u0432\u043E\u044E \u0431\u0430\u0437\u0443 \u0437\u043D\u0430\u043D\u0438\u0439 \u0434\u043B\u044F \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u043E\u0432 \u0438 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0432\u043D\u0443\u0442\u0440\u0438 \u0435\u0434\u0438\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B",
80
+ img: "https://dl.ecomru.ru:9001/dev-images/image_10_4.png",
81
+ link: '/wiki'
82
+ }, {
83
+ label: "\u0410\u043A\u0446\u0438\u0438",
84
+ description: "\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0439 \u0430\u043A\u0446\u0438\u044F\u043C\u0438 \u043D\u0430 Wildberries, Ozon \u0438 \u042F\u043D\u0434\u0435\u043A\u0441 \u041C\u0430\u0440\u043A\u0435\u0442 \u0441 \u0435\u0434\u0438\u043D\u043E\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B, \u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0439 \u0434\u0435\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u043A\u0443 \u043F\u043E \u0431\u043E\u043B\u0435\u0435 \u0447\u0435\u043C 20 \u043C\u0435\u0442\u0440\u0438\u043A\u0430\u043C",
85
+ img: "https://dl.ecomru.ru:9001/dev-images/image_9_4.png",
86
+ link: '/stock'
87
+ }, {
88
+ label: "\u0427\u0430\u0442 \u0411\u043E\u0442",
89
+ description: "\u0421\u043E\u0437\u0434\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0445\u043E\u0434\u044F\u0449\u0438\u0435 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F, \u043E\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0438 \u043E\u0431\u0449\u0430\u0435\u0442\u0441\u044F \u0441 \u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043C\u0438",
90
+ img: "https://dl.ecomru.ru:9001/dev-images/image_8_4.png",
91
+ link: ''
92
+ }];
93
+ var CardsInfo = function CardsInfo(_ref) {
94
+ var title = _ref.title,
95
+ service = _ref.service,
96
+ _ref$listCard = _ref.listCard,
97
+ listCard = _ref$listCard === void 0 ? [] : _ref$listCard,
98
+ child = _ref.child;
99
+ var list_arr = (listCard === null || listCard === void 0 ? void 0 : listCard.length) > 0 ? listCard : list;
100
+ var curr_list = list_arr.filter(function (_ref2) {
101
+ var label = _ref2.label;
102
+ return label != service;
103
+ });
104
+ var _useState = (0, _react.useState)(6),
105
+ _useState2 = _slicedToArray(_useState, 2),
106
+ isShow = _useState2[0],
107
+ setIsShow = _useState2[1];
108
+ return /*#__PURE__*/_react["default"].createElement("section", {
109
+ className: "block-cards-info"
110
+ }, title && /*#__PURE__*/_react["default"].createElement("h2", {
111
+ className: "block-cards-info__title"
112
+ }, title), /*#__PURE__*/_react["default"].createElement("div", {
113
+ className: "block-cards-info__items"
114
+ }, curr_list.map(function (_ref3, ind) {
115
+ var label = _ref3.label,
116
+ img = _ref3.img,
117
+ description = _ref3.description,
118
+ link = _ref3.link;
119
+ return /*#__PURE__*/_react["default"].createElement("a", {
120
+ href: link ? link : '#',
121
+ target: "_blank",
122
+ className: "block-cards-info__link-box"
123
+ }, /*#__PURE__*/_react["default"].createElement("div", {
124
+ className: "block-cards-info__item",
125
+ key: label + img
126
+ }, /*#__PURE__*/_react["default"].createElement("div", {
127
+ className: "block-cards-info__img-box"
128
+ }, !img && /*#__PURE__*/_react["default"].createElement(_image["default"], {
129
+ alt: "icon",
130
+ className: "block-cards-info__img-development",
131
+ src: "https://dl.ecomru.ru:9001/dev-images/frame_1321317238.png"
132
+ }), /*#__PURE__*/_react["default"].createElement(_image["default"], {
133
+ alt: "icon",
134
+ className: "block-cards-info__img",
135
+ src: img ? img : 'https://dl.ecomru.ru:9001/dev-images/6_2.png'
136
+ })), /*#__PURE__*/_react["default"].createElement("div", {
137
+ className: "block-cards-info__info-box"
138
+ }, label && /*#__PURE__*/_react["default"].createElement("h3", {
139
+ className: "block-cards-info__title_card"
140
+ }, label), description && /*#__PURE__*/_react["default"].createElement("p", {
141
+ className: "block-cards-info__description"
142
+ }, description))));
143
+ }).slice(0, isShow)), isShow <= 6 && curr_list.length > 6 && /*#__PURE__*/_react["default"].createElement(_ButtonBasic["default"], {
144
+ green: true,
145
+ width: '100%',
146
+ maxWidth: '456px',
147
+ text: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0435\u0449\u0435",
148
+ size: "50px",
149
+ onClick: function onClick(e) {
150
+ setIsShow(20);
151
+ },
152
+ style: {
153
+ marginLeft: 'auto',
154
+ marginRight: 'auto'
155
+ }
156
+ }));
157
+ };
158
+ var _default = exports["default"] = CardsInfo;
@@ -0,0 +1,165 @@
1
+ .block-cards-info {
2
+ display: flex;
3
+ gap: 30px;
4
+ flex-wrap: wrap;
5
+ cursor: pointer;
6
+
7
+ &__title {
8
+ font-family: "Golos Text";
9
+ font-size: 42px;
10
+ font-style: normal;
11
+ font-weight: 500;
12
+ line-height: 51px;
13
+ }
14
+
15
+ &__items {
16
+ display: flex;
17
+ gap: 30px;
18
+ flex-wrap: wrap;
19
+ }
20
+
21
+ &__link-box {
22
+ display: flex;
23
+ flex-direction: column;
24
+ width: calc(33% - 17px);
25
+ }
26
+
27
+ &__item {
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: 24px;
31
+ width: 100%;
32
+ }
33
+
34
+ &__img-box {
35
+ overflow: hidden;
36
+ width: 100%;
37
+ border-radius: 10px;
38
+ border: 1px solid #8495ED;
39
+ aspect-ratio: 4/2.3;
40
+ position: relative;
41
+ overflow: hidden;
42
+ }
43
+
44
+ &__img-development {
45
+ position: absolute;
46
+ z-index: 1;
47
+ top: 11px;
48
+ left: 8px;
49
+ }
50
+
51
+ &__img {
52
+ position: relative;
53
+ max-width: 100%;
54
+ height: auto;
55
+ border-radius: 10px;
56
+ object-fit: cover;
57
+ }
58
+
59
+ &__title_card {
60
+ font-family: "Golos Text";
61
+ font-size: 24px;
62
+ font-style: normal;
63
+ font-weight: 500;
64
+ line-height: 32px;
65
+ }
66
+
67
+ &__description {
68
+ color: #333;
69
+ font-family: "Golos Text";
70
+ font-size: 18px;
71
+ font-style: normal;
72
+ font-weight: 400;
73
+ line-height: 28px;
74
+ }
75
+
76
+ &__info-box {
77
+ display: flex;
78
+ flex-direction: column;
79
+ gap: 18px;
80
+ }
81
+ }
82
+
83
+ @media (max-width: 1100px) {
84
+ .block-cards-info {
85
+ gap: 24px;
86
+
87
+ &__title {
88
+ font-size: 28px;
89
+ line-height: 32px;
90
+ }
91
+
92
+ &__items {
93
+ gap: 16px;
94
+ }
95
+
96
+ &__link-box {
97
+ width: calc(50% - 8px);
98
+ }
99
+
100
+ &__item {
101
+ gap: 14px;
102
+ }
103
+
104
+ &__img-box {}
105
+
106
+ &__img-development {}
107
+
108
+ &__img {}
109
+
110
+ &__title_card {
111
+ font-size: 18px;
112
+ line-height: 24px;
113
+ }
114
+
115
+ &__description {
116
+ font-size: 16px;
117
+ line-height: 24px;
118
+ }
119
+
120
+ &__info-box {
121
+ gap: 8px;
122
+ }
123
+ }
124
+ }
125
+
126
+ @media (max-width: 430px) {
127
+ .block-cards-info {
128
+ gap: 16px;
129
+
130
+ &__title {
131
+ font-size: 20px;
132
+ line-height: 24px;
133
+ }
134
+
135
+ &__items {
136
+ gap: 16px;
137
+ }
138
+
139
+ &__link-box {
140
+ width: 100%;
141
+ }
142
+
143
+ &__item {
144
+ gap: 14px;
145
+ }
146
+
147
+ &__img-box {}
148
+
149
+ &__img-development {}
150
+
151
+ &__img {}
152
+
153
+ &__title_card {
154
+ font-size: 18px;
155
+ line-height: 24px;
156
+ }
157
+
158
+ &__description {
159
+ font-size: 16px;
160
+ line-height: 24px;
161
+ }
162
+
163
+ &__info-box {}
164
+ }
165
+ }