ecomlab-components-next 0.1.237 → 0.1.239
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 +85 -0
- package/dist/components/Buttons/ButtonBasicV2/ButtonBasicV2.scss +55 -0
- package/dist/components/Buttons/{SignUpButton/ButtonSignUp.stories.js → ButtonBasicV2/ButtonBasicV2stories.js} +42 -29
- package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.js +153 -0
- package/dist/components/ConstructorComponents/ArticlesBlockV2/ArticlesBlockV2.module.scss +214 -0
- package/dist/components/ConstructorComponents/BlocksInfo/BlocksInfo.scss +0 -1
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.js +210 -0
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.scss +236 -0
- package/dist/components/ConstructorComponents/BlocksInfoV2/BlocksInfoV2.stories.js +57 -0
- package/dist/components/ConstructorComponents/BlocksInfoV2/img/develop.png +0 -0
- package/dist/components/ConstructorComponents/CardsInfo/CardsInfo.js +15 -29
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.js +164 -0
- package/dist/components/ConstructorComponents/CardsServicesV2/CardsServicesV2.scss +333 -0
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.js +51 -0
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.scss +158 -0
- package/dist/components/ConstructorComponents/CardsV2/CardsV2.stories.js +16 -0
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.js +83 -0
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.scss +312 -0
- package/dist/components/ConstructorComponents/ClientsAboutUsV2/ClientsAboutUsV2.stories.js +25 -0
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.js +102 -0
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.scss +145 -0
- package/dist/components/ConstructorComponents/FeaturesGridV2/FeaturesGridV2.stories.js +36 -0
- package/dist/components/ConstructorComponents/FormV2/FormV2.js +139 -0
- package/dist/components/ConstructorComponents/FormV2/FormV2.scss +153 -0
- package/dist/components/ConstructorComponents/FormV2/FormWithBtn.stories.js +16 -0
- package/dist/components/ConstructorComponents/Header/Header.js +1 -1
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.js +127 -0
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.scss +227 -0
- package/dist/components/ConstructorComponents/HeaderV2/HeaderV2.stories.js +24 -0
- package/dist/components/ConstructorComponents/HeaderV2/img/Ozon.svg +20 -0
- package/dist/components/ConstructorComponents/HeaderV2/img/WB.svg +15 -0
- package/dist/components/ConstructorComponents/HeaderV2/img/Yandex Market.svg +14 -0
- package/dist/components/ConstructorComponents/MainContainer/MainContainer.js +4 -2
- package/dist/components/ConstructorComponents/MainContainer/MainContainer.scss +24 -0
- package/dist/components/ConstructorComponents/MainContainer/MainContainerV2.stories.js +199 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.js +48 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.scss +66 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/MarqueImgsV2.stories.js +16 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_1.svg +4 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_10.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_11.svg +10 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_12.svg +11 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_13.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_2.svg +10 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_3.svg +10 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_4.svg +28 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_5.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_6.svg +26 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_7.png +0 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_7.svg +17 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_8.svg +9 -0
- package/dist/components/ConstructorComponents/MarqueImgsV2/img/brand_9.svg +9 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.js +40 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.scss +302 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/PhoneBlockV2.stories.js +19 -0
- package/dist/components/ConstructorComponents/PhoneBlockV2/img/phone.png +0 -0
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.js +45 -0
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.scss +151 -0
- package/dist/components/ConstructorComponents/PointsListV2/PointsListV2.stories.js +43 -0
- package/dist/components/ConstructorComponents/PointsListV2/img/bx-right-arrow-alt.svg +5 -0
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.js +72 -0
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.scss +179 -0
- package/dist/components/ConstructorComponents/QuestionsV2/QuestionsV2.stories.js +57 -0
- package/dist/components/ConstructorComponents/QuestionsV2/img/ar_down.svg +5 -0
- package/dist/components/ConstructorComponents/QuestionsV2/img/ar_up.svg +5 -0
- package/dist/components/ConstructorComponents/ServicesSectionV2/ServicesSectionV2.js +161 -0
- package/dist/components/ConstructorComponents/ServicesSectionV2/ServicesSectionV2.scss +245 -0
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.js +44 -0
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.module.scss +156 -0
- package/dist/components/ConstructorComponents/StatisticCardV2/StatisticCardV2.stories.js +32 -0
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.js +86 -0
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.module.scss +226 -0
- package/dist/components/ConstructorComponents/StepsV2/StepsV2.stories.js +30 -0
- package/dist/components/ConstructorComponents/variables.scss +50 -0
- package/dist/components/Slider/SliderCarousel/SliderCarousel.js +4 -6
- package/dist/index.js +84 -0
- package/dist/stories/LongTileArticleBox/LongTileArticleBox.js +1 -1
- package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.js +1 -1
- package/package.json +1 -1
- package/dist/components/Buttons/SignUpButton/ButtonSignUp.js +0 -75
- package/dist/components/Buttons/SignUpButton/ButtonSignUp.module.scss +0 -92
- package/dist/components/Buttons/SignUpButton/calendar.svg +0 -14
- package/dist/components/Checkbox/Checkbox/Checkbox.js +0 -83
- package/dist/components/Checkbox/Checkbox/Checkbox.scss +0 -136
- package/dist/components/Checkbox/Checkbox/Checkbox.stories.js +0 -46
- package/dist/components/Checkbox/Checkbox/img/check.svg +0 -3
- package/dist/main.js +0 -14
- package/dist/stories/InputDynamicWidth/InputDynamicWidth.js +0 -85
- package/dist/stories/InputDynamicWidth/InputDynamicWidth.scss +0 -98
- package/dist/stories/InputDynamicWidth/InputDynamicWidth.stories.js +0 -32
- package/dist/stories/InputDynamicWidth/img/close_icon.svg +0 -3
- package/dist/stories/InputDynamicWidth/img/search_icon.svg +0 -6
- package/dist/stories/NoArticles/NoArticles.js +0 -29
- package/dist/stories/NoArticles/NoArticles.scss +0 -26
- package/dist/stories/NoArticles/NoArticles.stories.js +0 -20
- package/dist/stories/NoArticles/img/banner.svg +0 -266
- package/dist/stories/ViewSwitch/ViewSwitch.js +0 -48
- package/dist/stories/ViewSwitch/ViewSwitch.scss +0 -135
- package/dist/stories/ViewSwitch/ViewSwitch.stories.js +0 -48
- package/dist/stories/ViewSwitch/img/Chat.js +0 -24
- package/dist/stories/ViewSwitch/img/Table.js +0 -21
- package/dist/stories/ViewSwitch/img/Tile.js +0 -20
- package/dist/stories/ViewSwitch/img/TileLong.js +0 -20
- package/dist/storybook-static/167.1ab9d45b.iframe.bundle.js +0 -1
- package/dist/storybook-static/294.029a22c7.iframe.bundle.js +0 -1
- package/dist/storybook-static/364.41fcb7af.iframe.bundle.js +0 -1
- package/dist/storybook-static/54.0740a2d0.iframe.bundle.js +0 -2
- package/dist/storybook-static/54.0740a2d0.iframe.bundle.js.LICENSE.txt +0 -1
- package/dist/storybook-static/735.329871ea.iframe.bundle.js +0 -2
- package/dist/storybook-static/735.329871ea.iframe.bundle.js.LICENSE.txt +0 -9
- package/dist/storybook-static/844.4c57ff93.iframe.bundle.js +0 -94
- package/dist/storybook-static/844.4c57ff93.iframe.bundle.js.map +0 -1
- package/dist/storybook-static/869.a718104a.iframe.bundle.js +0 -1
- package/dist/storybook-static/908.c53199b4.iframe.bundle.js +0 -1
- package/dist/storybook-static/939.72503e72.iframe.bundle.js +0 -405
- package/dist/storybook-static/939.72503e72.iframe.bundle.js.LICENSE.txt +0 -54
- package/dist/storybook-static/939.72503e72.iframe.bundle.js.map +0 -1
- package/dist/storybook-static/components-Button-stories.6b7204e5.iframe.bundle.js +0 -1
- package/dist/storybook-static/favicon.svg +0 -1
- package/dist/storybook-static/file.svg +0 -1
- package/dist/storybook-static/globe.svg +0 -1
- package/dist/storybook-static/iframe.html +0 -511
- package/dist/storybook-static/index.html +0 -185
- package/dist/storybook-static/index.json +0 -1
- package/dist/storybook-static/main.456a86f5.iframe.bundle.js +0 -1
- package/dist/storybook-static/next.svg +0 -1
- package/dist/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/dist/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/dist/storybook-static/project.json +0 -1
- package/dist/storybook-static/runtime~main.8e4a98c9.iframe.bundle.js +0 -1
- package/dist/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js +0 -331
- package/dist/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt +0 -51
- package/dist/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js +0 -12
- package/dist/storybook-static/sb-addons/essentials-backgrounds-5/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +0 -391
- package/dist/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js +0 -230
- package/dist/storybook-static/sb-addons/essentials-docs-4/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-measure-8/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-outline-9/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-toolbars-7/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/essentials-viewport-6/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/interactions-11/manager-bundle.js +0 -210
- package/dist/storybook-static/sb-addons/interactions-11/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/onboarding-1/manager-bundle.js +0 -127
- package/dist/storybook-static/sb-addons/onboarding-1/manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
- package/dist/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/dist/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/dist/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/storybook-static/sb-manager/globals-module-info.js +0 -1037
- package/dist/storybook-static/sb-manager/globals-runtime.js +0 -41107
- package/dist/storybook-static/sb-manager/globals.js +0 -48
- package/dist/storybook-static/sb-manager/runtime.js +0 -11960
- package/dist/storybook-static/sb-preview/globals.js +0 -33
- package/dist/storybook-static/sb-preview/runtime.js +0 -7247
- package/dist/storybook-static/static/media/accessibility.b812909c.png +0 -0
- package/dist/storybook-static/static/media/addon-library.7d60eaf1.png +0 -0
- package/dist/storybook-static/static/media/assets.74434bfb.png +0 -0
- package/dist/storybook-static/static/media/context.0aaeed46.png +0 -0
- package/dist/storybook-static/static/media/discord.c13ab8cc.svg +0 -1
- package/dist/storybook-static/static/media/docs.78ff2c00.png +0 -0
- package/dist/storybook-static/static/media/figma-plugin.92feae99.png +0 -0
- package/dist/storybook-static/static/media/github.bf1215e7.svg +0 -1
- package/dist/storybook-static/static/media/share.b661f220.png +0 -0
- package/dist/storybook-static/static/media/styling.6ea0e96c.png +0 -0
- package/dist/storybook-static/static/media/testing.6f11ce8b.png +0 -0
- package/dist/storybook-static/static/media/theming.3ca117fd.png +0 -0
- package/dist/storybook-static/static/media/tutorials.f9b22f92.svg +0 -1
- package/dist/storybook-static/static/media/youtube.0220385a.svg +0 -1
- package/dist/storybook-static/stories-Button-stories.a157a598.iframe.bundle.js +0 -1
- package/dist/storybook-static/stories-Configure-mdx.ad43dce3.iframe.bundle.js +0 -1
- package/dist/storybook-static/stories-Header-stories.813bf6ef.iframe.bundle.js +0 -1
- package/dist/storybook-static/stories-Page-stories.9918ddc0.iframe.bundle.js +0 -1
- package/dist/storybook-static/vercel.svg +0 -1
- package/dist/storybook-static/window.svg +0 -1
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
|
+
@import '../variables.scss';
|
|
3
|
+
|
|
4
|
+
$purple: #6B5CE7;
|
|
5
|
+
$purple-light: #EEF0FF;
|
|
6
|
+
$purple-dark: #5448D0;
|
|
7
|
+
$green: #22C55E;
|
|
8
|
+
$text: #1A1A2E;
|
|
9
|
+
$muted: #6B7280;
|
|
10
|
+
$border: #E5E7EB;
|
|
11
|
+
$bg: #F7F8FC;
|
|
12
|
+
$white: #FFFFFF;
|
|
13
|
+
|
|
14
|
+
.services-section-v2 {
|
|
15
|
+
background: $white;
|
|
16
|
+
border-radius: 16px;
|
|
17
|
+
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
|
|
18
|
+
border: 1px solid $border;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
|
|
21
|
+
* {
|
|
22
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.services-container {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: row;
|
|
29
|
+
height: 400px;
|
|
30
|
+
|
|
31
|
+
@media (max-width: 900px) {
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Sidebar styles
|
|
37
|
+
.services-sidebar {
|
|
38
|
+
width: 160px;
|
|
39
|
+
flex-shrink: 0;
|
|
40
|
+
border-right: 1px solid $border;
|
|
41
|
+
padding: 16px 0;
|
|
42
|
+
background: $white;
|
|
43
|
+
overflow-y: auto;
|
|
44
|
+
|
|
45
|
+
@media (max-width: 900px) {
|
|
46
|
+
width: 100%;
|
|
47
|
+
border-right: none;
|
|
48
|
+
border-bottom: 1px solid $border;
|
|
49
|
+
max-height: 300px;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-wrap: wrap;
|
|
52
|
+
padding: 12px;
|
|
53
|
+
gap: 8px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.services-logo {
|
|
58
|
+
padding: 0 16px 16px;
|
|
59
|
+
font-size: 16px;
|
|
60
|
+
font-weight: 800;
|
|
61
|
+
border-bottom: 1px solid $border;
|
|
62
|
+
margin-bottom: 8px;
|
|
63
|
+
|
|
64
|
+
span {
|
|
65
|
+
color: $green;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media (max-width: 900px) {
|
|
69
|
+
width: 100%;
|
|
70
|
+
text-align: center;
|
|
71
|
+
border-bottom: none;
|
|
72
|
+
padding-bottom: 8px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.services-nav-item {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: 10px;
|
|
80
|
+
padding: 6px 16px;
|
|
81
|
+
font-size: 13px;
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
color: $muted;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
transition: all 0.15s;
|
|
86
|
+
|
|
87
|
+
&:hover {
|
|
88
|
+
background: $bg;
|
|
89
|
+
color: $text;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.active {
|
|
93
|
+
color: $green-dark;
|
|
94
|
+
background: $green-light-bg;
|
|
95
|
+
border-radius: 6px;
|
|
96
|
+
margin: 0 8px;
|
|
97
|
+
padding: 6px 8px;
|
|
98
|
+
font-weight: 600;
|
|
99
|
+
|
|
100
|
+
.services-nav-dot {
|
|
101
|
+
background: $green;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@media (max-width: 900px) {
|
|
106
|
+
flex: 0 0 auto;
|
|
107
|
+
padding: 8px 14px;
|
|
108
|
+
border-radius: 20px;
|
|
109
|
+
|
|
110
|
+
&.active {
|
|
111
|
+
margin: 0;
|
|
112
|
+
padding: 8px 14px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.services-nav-dot {
|
|
118
|
+
width: 6px;
|
|
119
|
+
height: 6px;
|
|
120
|
+
border-radius: 50%;
|
|
121
|
+
background: $muted;
|
|
122
|
+
transition: background 0.15s;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Main content styles
|
|
126
|
+
.services-main {
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
gap: 8px;
|
|
130
|
+
flex: 1;
|
|
131
|
+
padding: 20px;
|
|
132
|
+
background: $bg;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.services-header {
|
|
136
|
+
display: flex;
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
align-items: center;
|
|
139
|
+
margin-bottom: 20px;
|
|
140
|
+
flex-wrap: wrap;
|
|
141
|
+
gap: 12px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.services-title {
|
|
145
|
+
font-size: 18px;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
color: $text;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.services-header-right {
|
|
151
|
+
display: flex;
|
|
152
|
+
align-items: center;
|
|
153
|
+
gap: 12px;
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.services-date {
|
|
158
|
+
font-size: 11px;
|
|
159
|
+
color: $muted;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.services-export {
|
|
163
|
+
font-size: 11px;
|
|
164
|
+
font-weight: 600;
|
|
165
|
+
color: $muted;
|
|
166
|
+
border: 1px solid $border;
|
|
167
|
+
padding: 4px 10px;
|
|
168
|
+
border-radius: 6px;
|
|
169
|
+
background: $white;
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
transition: all 0.2s;
|
|
172
|
+
|
|
173
|
+
&:hover {
|
|
174
|
+
border-color: $green;
|
|
175
|
+
color: $green;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Content area with image and description
|
|
180
|
+
.services-content {
|
|
181
|
+
display: flex;
|
|
182
|
+
gap: 24px;
|
|
183
|
+
background: $white;
|
|
184
|
+
border-radius: 12px;
|
|
185
|
+
|
|
186
|
+
@media (max-width: 768px) {
|
|
187
|
+
flex-direction: column;
|
|
188
|
+
padding: 16px;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.services-content-text {
|
|
193
|
+
flex: 1;
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-direction: column;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.services-description {
|
|
200
|
+
font-size: 13px;
|
|
201
|
+
color: $text;
|
|
202
|
+
line-height: 1.6;
|
|
203
|
+
margin-bottom: 8px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.services-link {
|
|
207
|
+
color: $green;
|
|
208
|
+
font-size: 14px;
|
|
209
|
+
font-weight: 600;
|
|
210
|
+
text-decoration: none;
|
|
211
|
+
display: inline-flex;
|
|
212
|
+
align-items: center;
|
|
213
|
+
gap: 6px;
|
|
214
|
+
transition: gap 0.2s;
|
|
215
|
+
|
|
216
|
+
&:hover {
|
|
217
|
+
gap: 10px;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.services-content-image {
|
|
222
|
+
display: flex;
|
|
223
|
+
|
|
224
|
+
img {
|
|
225
|
+
max-width: 100%;
|
|
226
|
+
object-fit: contain;
|
|
227
|
+
border-radius: 8px;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// Chart area
|
|
232
|
+
.services-chart-area {
|
|
233
|
+
background: $white;
|
|
234
|
+
border-radius: 10px;
|
|
235
|
+
border: 1px solid $border;
|
|
236
|
+
padding: 16px;
|
|
237
|
+
height: 100px;
|
|
238
|
+
position: relative;
|
|
239
|
+
overflow: hidden;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.services-chart-svg {
|
|
243
|
+
width: 100%;
|
|
244
|
+
height: 100%;
|
|
245
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 _utils = require("../../../common/utils");
|
|
10
|
+
var _StatisticCardV2Module = _interopRequireDefault(require("./StatisticCardV2.module.scss"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
|
+
var StatisticCardV2 = function StatisticCardV2(_ref) {
|
|
13
|
+
var list = _ref.list,
|
|
14
|
+
_ref$reverse = _ref.reverse,
|
|
15
|
+
reverse = _ref$reverse === void 0 ? false : _ref$reverse;
|
|
16
|
+
return /*#__PURE__*/_react["default"].createElement("section", {
|
|
17
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic2')
|
|
18
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
19
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic2__cards')
|
|
20
|
+
}, list.map(function (_ref2) {
|
|
21
|
+
var label = _ref2.label,
|
|
22
|
+
sum = _ref2.sum,
|
|
23
|
+
color = _ref2.color;
|
|
24
|
+
if (label && sum) {
|
|
25
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
26
|
+
key: label + sum,
|
|
27
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic2__card'),
|
|
28
|
+
style: {
|
|
29
|
+
flexDirection: reverse ? 'column-reverse' : '',
|
|
30
|
+
justifyContent: !reverse ? 'flex-start' : 'flex-end'
|
|
31
|
+
}
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
33
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic2__card_name')
|
|
34
|
+
}, reverse ? sum === null || sum === void 0 ? void 0 : sum.toLocaleString() : label), /*#__PURE__*/_react["default"].createElement("span", {
|
|
35
|
+
className: (0, _utils.classes)(_StatisticCardV2Module["default"], 'statistic2__card_sum'),
|
|
36
|
+
style: {
|
|
37
|
+
color: color || ''
|
|
38
|
+
}
|
|
39
|
+
}, reverse ? label : sum === null || sum === void 0 ? void 0 : sum.toLocaleString()));
|
|
40
|
+
}
|
|
41
|
+
return null;
|
|
42
|
+
})));
|
|
43
|
+
};
|
|
44
|
+
var _default = exports["default"] = StatisticCardV2;
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
|
|
2
|
+
@import '../variables.scss';
|
|
3
|
+
|
|
4
|
+
.statistic2 {
|
|
5
|
+
background: linear-gradient(135deg, #1A1A2E 0%, $green-dark 100%);
|
|
6
|
+
padding: 80px 48px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
* {
|
|
10
|
+
font-family: 'Manrope', 'Golos Text', sans-serif !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__cards {
|
|
14
|
+
max-width: 1280px;
|
|
15
|
+
margin: 0 auto;
|
|
16
|
+
display: grid;
|
|
17
|
+
grid-template-columns: repeat(4, 1fr);
|
|
18
|
+
gap: 40px;
|
|
19
|
+
text-align: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__card {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__card_sum {
|
|
29
|
+
font-size: 52px;
|
|
30
|
+
font-weight: 800;
|
|
31
|
+
letter-spacing: -2px;
|
|
32
|
+
background: linear-gradient(135deg, #fff 0%, $green-light-bg 100%);
|
|
33
|
+
-webkit-background-clip: text;
|
|
34
|
+
-webkit-text-fill-color: transparent;
|
|
35
|
+
background-clip: text;
|
|
36
|
+
line-height: 1.1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__card_name {
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
color: rgba(255, 255, 255, 0.6);
|
|
42
|
+
line-height: 1.4;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// При reverse режиме (если нужно инвертированное отображение)
|
|
47
|
+
.statistic2__card[style*="column-reverse"] {
|
|
48
|
+
.statistic2__card_sum {
|
|
49
|
+
margin-bottom: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.statistic2__card_name {
|
|
53
|
+
margin-top: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// ========== МОБИЛЬНАЯ АДАПТАЦИЯ ==========
|
|
58
|
+
@media (max-width: 1024px) {
|
|
59
|
+
.statistic2 {
|
|
60
|
+
padding: 70px 32px;
|
|
61
|
+
|
|
62
|
+
&__cards {
|
|
63
|
+
gap: 32px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__card_sum {
|
|
67
|
+
font-size: 46px;
|
|
68
|
+
letter-spacing: -1.5px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__card_name {
|
|
72
|
+
font-size: 13px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@media (max-width: 768px) {
|
|
78
|
+
.statistic2 {
|
|
79
|
+
padding: 60px 24px;
|
|
80
|
+
|
|
81
|
+
&__cards {
|
|
82
|
+
grid-template-columns: repeat(2, 1fr);
|
|
83
|
+
gap: 32px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&__card_sum {
|
|
87
|
+
font-size: 42px;
|
|
88
|
+
letter-spacing: -1.5px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&__card_name {
|
|
92
|
+
font-size: 13px;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media (max-width: 600px) {
|
|
98
|
+
.statistic2 {
|
|
99
|
+
padding: 50px 20px;
|
|
100
|
+
|
|
101
|
+
&__cards {
|
|
102
|
+
gap: 28px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__card_sum {
|
|
106
|
+
font-size: 38px;
|
|
107
|
+
letter-spacing: -1px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__card_name {
|
|
111
|
+
font-size: 12px;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@media (max-width: 480px) {
|
|
117
|
+
.statistic2 {
|
|
118
|
+
padding: 40px 16px;
|
|
119
|
+
|
|
120
|
+
&__cards {
|
|
121
|
+
grid-template-columns: 1fr;
|
|
122
|
+
gap: 28px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&__card_sum {
|
|
126
|
+
font-size: 44px;
|
|
127
|
+
letter-spacing: -1px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&__card_name {
|
|
131
|
+
font-size: 14px;
|
|
132
|
+
max-width: 260px;
|
|
133
|
+
margin: 0 auto;
|
|
134
|
+
line-height: 1.4;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@media (max-width: 375px) {
|
|
140
|
+
.statistic2 {
|
|
141
|
+
padding: 32px 16px;
|
|
142
|
+
|
|
143
|
+
&__cards {
|
|
144
|
+
gap: 24px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&__card_sum {
|
|
148
|
+
font-size: 36px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&__card_name {
|
|
152
|
+
font-size: 12px;
|
|
153
|
+
max-width: 220px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.StatisticCardV2Test = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _StatisticCardV = _interopRequireDefault(require("./StatisticCardV2"));
|
|
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: 'StatisticCardV2',
|
|
25
|
+
component: _StatisticCardV["default"]
|
|
26
|
+
};
|
|
27
|
+
var StatisticCardV2Test = exports.StatisticCardV2Test = function StatisticCardV2Test() {
|
|
28
|
+
return /*#__PURE__*/_react["default"].createElement(_StatisticCardV["default"], {
|
|
29
|
+
reverse: true,
|
|
30
|
+
list: cards_list
|
|
31
|
+
});
|
|
32
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
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 _StepsV2Module = _interopRequireDefault(require("./StepsV2.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 StepsV2 = function StepsV2(_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
|
+
_ref$linkMain = _ref.linkMain,
|
|
30
|
+
linkMain = _ref$linkMain === void 0 ? 'https://lk.ecomru.ru' : _ref$linkMain;
|
|
31
|
+
var _useState = (0, _react.useState)(''),
|
|
32
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
33
|
+
refPage = _useState2[0],
|
|
34
|
+
setRefPage = _useState2[1];
|
|
35
|
+
var _useState3 = (0, _react.useState)(false),
|
|
36
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
37
|
+
isMobile = _useState4[0],
|
|
38
|
+
setIsMobile = _useState4[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
|
+
var checkMobile = function checkMobile() {
|
|
44
|
+
return setIsMobile(window.innerWidth <= 1100);
|
|
45
|
+
};
|
|
46
|
+
checkMobile();
|
|
47
|
+
window.addEventListener('resize', checkMobile);
|
|
48
|
+
return function () {
|
|
49
|
+
return window.removeEventListener('resize', checkMobile);
|
|
50
|
+
};
|
|
51
|
+
}, []);
|
|
52
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("section", {
|
|
53
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps-section ".concat(className))
|
|
54
|
+
}, title && /*#__PURE__*/_react["default"].createElement("h3", {
|
|
55
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__title")
|
|
56
|
+
}, title), /*#__PURE__*/_react["default"].createElement("div", {
|
|
57
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__items")
|
|
58
|
+
}, list.map(function (_ref2, ind) {
|
|
59
|
+
var stepTitle = _ref2.title,
|
|
60
|
+
description = _ref2.description;
|
|
61
|
+
if (!stepTitle) return null;
|
|
62
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
63
|
+
key: stepTitle + description,
|
|
64
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__item")
|
|
65
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
66
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__count")
|
|
67
|
+
}, ind + 1), isMobile ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__item-text")
|
|
69
|
+
}, stepTitle && /*#__PURE__*/_react["default"].createElement("h4", {
|
|
70
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__title_step")
|
|
71
|
+
}, stepTitle), description && /*#__PURE__*/_react["default"].createElement("p", {
|
|
72
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__description")
|
|
73
|
+
}, description)) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, stepTitle && /*#__PURE__*/_react["default"].createElement("h4", {
|
|
74
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__title_step")
|
|
75
|
+
}, stepTitle), description && /*#__PURE__*/_react["default"].createElement("p", {
|
|
76
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__description")
|
|
77
|
+
}, description)));
|
|
78
|
+
})), /*#__PURE__*/_react["default"].createElement("button", {
|
|
79
|
+
className: (0, _utils.classes)(_StepsV2Module["default"], "steps__btn"),
|
|
80
|
+
onClick: function onClick() {
|
|
81
|
+
var _window2;
|
|
82
|
+
return (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.open("".concat(linkMain, "/auth").concat(refPage), '_blank');
|
|
83
|
+
}
|
|
84
|
+
}, "\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E \u2192")));
|
|
85
|
+
};
|
|
86
|
+
var _default = exports["default"] = StepsV2;
|