adata-ui 2.0.9 → 2.0.10
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.
|
@@ -63,13 +63,13 @@ const props = defineProps<{
|
|
|
63
63
|
|
|
64
64
|
<div class="absolute left-6 top-6 flex flex-col gap-4 pr-6">
|
|
65
65
|
<div class="flex items-center gap-2">
|
|
66
|
-
<div class="rounded-
|
|
66
|
+
<div class="rounded-[4px] icon-item bg-deepblue-900/5 dark:bg-gray-200/5 p-1 ">
|
|
67
67
|
<component
|
|
68
68
|
:is="icon"
|
|
69
69
|
class="size-6 shrink-0"
|
|
70
70
|
/>
|
|
71
71
|
</div>
|
|
72
|
-
<p class="text-base font-semibold">
|
|
72
|
+
<p class="text-base title font-semibold">
|
|
73
73
|
{{ title }}
|
|
74
74
|
</p>
|
|
75
75
|
</div>
|
|
@@ -158,10 +158,12 @@ const props = defineProps<{
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
|
|
162
|
-
.active-item .
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
|
|
162
|
+
.active-item .title {
|
|
163
|
+
color: #0070EB;
|
|
164
|
+
}
|
|
165
|
+
.active-item .border-path {
|
|
166
|
+
fill: #0070EB1A;
|
|
165
167
|
}
|
|
166
168
|
.curve-block:hover .border-path,
|
|
167
169
|
.curve-block:hover .animated-border {
|
|
@@ -170,6 +172,12 @@ const props = defineProps<{
|
|
|
170
172
|
fill: white;
|
|
171
173
|
}
|
|
172
174
|
|
|
175
|
+
.curve-block:hover .icon-item {
|
|
176
|
+
background-color: #E0EFFF;
|
|
177
|
+
color: #0070EB;
|
|
178
|
+
transition: all 2s ease, fill 2s ease;
|
|
179
|
+
}
|
|
180
|
+
|
|
173
181
|
.border-path {
|
|
174
182
|
stroke: url(#gradient-light);
|
|
175
183
|
}
|
|
@@ -196,12 +204,20 @@ const props = defineProps<{
|
|
|
196
204
|
fill: #26282b;
|
|
197
205
|
}
|
|
198
206
|
|
|
199
|
-
.active-item .
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
207
|
+
.active-item .title {
|
|
208
|
+
color: #1b98e2;
|
|
209
|
+
}
|
|
210
|
+
.active-item .border-path {
|
|
211
|
+
fill: rgba(23, 146, 221, 0.38);
|
|
203
212
|
}
|
|
204
213
|
|
|
214
|
+
.curve-block:hover .icon-item {
|
|
215
|
+
background-color: rgba(30, 88, 156, 0.6);
|
|
216
|
+
color: #1b98e2;
|
|
217
|
+
transition: all 2s ease, fill 2s ease;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
|
|
205
221
|
.curve-block:hover .border-path,
|
|
206
222
|
.curve-block:hover .animated-border {
|
|
207
223
|
fill: #131415;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
|
|
2
|
+
import { PAGES } from '#adata-ui/shared/constans/pages'
|
|
3
3
|
import { usePkServicesLinks } from '#adata-ui/composables/useHeaderNavigationLinks'
|
|
4
4
|
|
|
5
5
|
const services = usePkServicesLinks()
|
|
6
|
+
const route = useRoute()
|
|
7
|
+
const localePath = useLocalePath()
|
|
8
|
+
const config = useAppConfig()
|
|
9
|
+
const { locale } = useI18n()
|
|
6
10
|
|
|
7
11
|
const blockStyles = [
|
|
8
12
|
'first-border-gradient',
|
|
@@ -15,6 +19,17 @@ const blockStyles = [
|
|
|
15
19
|
'eighth-border-gradient',
|
|
16
20
|
'ninth-border-gradient',
|
|
17
21
|
]
|
|
22
|
+
const linkByIndex = [
|
|
23
|
+
PAGES.pk.main,
|
|
24
|
+
PAGES.pk.employees,
|
|
25
|
+
PAGES.pk.connections,
|
|
26
|
+
PAGES.pk.foreign,
|
|
27
|
+
PAGES.pk.unload,
|
|
28
|
+
PAGES.pk.offshore,
|
|
29
|
+
PAGES.pk.sanctions,
|
|
30
|
+
PAGES.pk.compare,
|
|
31
|
+
buildLocalizedUrl(locale, config.myLayer.landingUrl, '/all-services'),
|
|
32
|
+
]
|
|
18
33
|
</script>
|
|
19
34
|
|
|
20
35
|
<template>
|
|
@@ -27,7 +42,10 @@ const blockStyles = [
|
|
|
27
42
|
>
|
|
28
43
|
<div
|
|
29
44
|
class="size-10 p-2 rounded-lg"
|
|
30
|
-
:class="
|
|
45
|
+
:class="[
|
|
46
|
+
index === services.length - 1 ? 'bg-gradient-blue text-white' : 'bg-deepblue-900/5 dark:bg-gray-200/5',
|
|
47
|
+
{'!bg-blue-700 text-white dark:!bg-blue-500 ': route.path.replace(/\/+$/, '') === localePath(linkByIndex[index]).replace(/\/+$/, '')}
|
|
48
|
+
]"
|
|
31
49
|
>
|
|
32
50
|
<component
|
|
33
51
|
:is="service.icon"
|
package/lang/en.ts
CHANGED
|
@@ -399,8 +399,8 @@ const EnLocale: RuLocale = {
|
|
|
399
399
|
b: "Request demo access"
|
|
400
400
|
},
|
|
401
401
|
request_demo: {
|
|
402
|
-
title:
|
|
403
|
-
info:
|
|
402
|
+
"title": "Try all the features of the service for free",
|
|
403
|
+
"info": "Check the functionality and quality of the data in real conditions. Demo access will allow you to test all the key features of the service\nFill out the form to submit a connection request",
|
|
404
404
|
agreement: 'By filling out the form, you agree to the processing of personal data and receiving informational messages',
|
|
405
405
|
send: 'Submit Request',
|
|
406
406
|
},
|
package/lang/kk.ts
CHANGED
|
@@ -400,8 +400,8 @@ const KkLocale: RuLocale = {
|
|
|
400
400
|
b: "Демо қолжетімділікті сұрау"
|
|
401
401
|
},
|
|
402
402
|
request_demo: {
|
|
403
|
-
title:
|
|
404
|
-
info:
|
|
403
|
+
"title": "Қызметтің барлық мүмкіндіктерін тегін қолданып көріңіз",
|
|
404
|
+
"info": "Деректердің функционалдығын және сапасын нақты жағдайларда тексеріңіз. Демо-қолжетімділік қызметтің барлық негізгі мүмкіндіктерін сынап көруге мүмкіндік береді\nҚосылуға өтінім беру үшін форманы толтырыңыз",
|
|
405
405
|
agreement: 'Пішінді толтыра отырып, сіз жеке деректерді өңдеуге және ақпараттық хабарламаларды алуға келісім бересіз',
|
|
406
406
|
send: 'Өтінімді жіберу',
|
|
407
407
|
},
|