@sharadox/sharadox-web-library 0.6.5 → 0.7.0
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/README.md +46 -8
- package/distribution/action/send-contact/index.d.ts +5 -6
- package/distribution/action/send-contact/index.d.ts.map +1 -1
- package/distribution/action/send-contact/index.js +13 -49
- package/distribution/action/send-contact/index.js.map +1 -1
- package/distribution/action/send-contact/type.d.ts +1 -3
- package/distribution/action/send-contact/type.d.ts.map +1 -1
- package/distribution/component/button/index.module.css +1 -58
- package/distribution/component/button/index.module.scss +60 -0
- package/distribution/component/capability/index.js +2 -2
- package/distribution/component/capability/index.module.css +1 -94
- package/distribution/component/capability/index.module.scss +85 -0
- package/distribution/component/capability/type.d.ts +1 -1
- package/distribution/component/consent/index.d.ts +1 -4
- package/distribution/component/consent/index.d.ts.map +1 -1
- package/distribution/component/consent/index.js +19 -32
- package/distribution/component/consent/index.js.map +1 -1
- package/distribution/component/consent/index.module.css +1 -183
- package/distribution/component/consent/index.module.scss +45 -0
- package/distribution/component/consent/preferences-link/index.js +1 -1
- package/distribution/component/consent/type.d.ts +1 -1
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +4 -4
- package/distribution/component/contact/form/index.js.map +1 -1
- package/distribution/component/contact/form/index.module.css +1 -168
- package/distribution/component/contact/form/index.module.scss +163 -0
- package/distribution/component/contact/form/type.d.ts +1 -1
- package/distribution/component/contact/index.js +2 -2
- package/distribution/component/contact/index.module.css +1 -56
- package/distribution/component/contact/index.module.scss +52 -0
- package/distribution/component/contact/type.d.ts +1 -1
- package/distribution/component/cross/index.module.css +1 -53
- package/distribution/component/cross/index.module.scss +50 -0
- package/distribution/component/eyebrow/index.module.css +1 -9
- package/distribution/component/eyebrow/index.module.scss +9 -0
- package/distribution/component/footer/index.js +4 -4
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -138
- package/distribution/component/footer/index.module.scss +125 -0
- package/distribution/component/footer/type.d.ts +1 -1
- package/distribution/component/globe/index.d.ts +2 -2
- package/distribution/component/globe/index.d.ts.map +1 -1
- package/distribution/component/globe/index.js +23 -32
- package/distribution/component/globe/index.js.map +1 -1
- package/distribution/component/globe/index.module.css +1 -25
- package/distribution/component/globe/index.module.scss +7 -0
- package/distribution/component/hero/guide/index.module.css +1 -97
- package/distribution/component/hero/guide/index.module.scss +94 -0
- package/distribution/component/hero/index.js +1 -1
- package/distribution/component/hero/index.module.css +1 -124
- package/distribution/component/hero/index.module.scss +109 -0
- package/distribution/component/hero/type.d.ts +1 -1
- package/distribution/component/language-switch/index.js +4 -4
- package/distribution/component/language-switch/index.js.map +1 -1
- package/distribution/component/language-switch/index.module.css +1 -20
- package/distribution/component/language-switch/index.module.scss +22 -0
- package/distribution/component/language-switch/type.d.ts +1 -1
- package/distribution/component/marquee/index.js +1 -1
- package/distribution/component/marquee/index.module.css +1 -43
- package/distribution/component/marquee/index.module.scss +39 -0
- package/distribution/component/navigation/index.js +1 -1
- package/distribution/component/navigation/index.module.css +1 -81
- package/distribution/component/navigation/index.module.scss +76 -0
- package/distribution/component/navigation/type.d.ts +1 -1
- package/distribution/component/process/index.js +1 -1
- package/distribution/component/process/index.module.css +1 -43
- package/distribution/component/process/index.module.scss +40 -0
- package/distribution/component/process/step/index.module.css +1 -33
- package/distribution/component/process/step/index.module.scss +31 -0
- package/distribution/component/process/type.d.ts +1 -1
- package/distribution/component/section/index.module.css +1 -35
- package/distribution/component/section/index.module.scss +32 -0
- package/distribution/component/section-heading/index.js +1 -1
- package/distribution/component/section-heading/index.module.css +1 -7
- package/distribution/component/section-heading/index.module.scss +7 -0
- package/distribution/component/section-indicator/index.js +2 -2
- package/distribution/component/section-indicator/index.module.css +1 -145
- package/distribution/component/section-indicator/index.module.scss +143 -0
- package/distribution/component/section-indicator/type.d.ts +1 -1
- package/distribution/component/service-index/index.js +1 -1
- package/distribution/component/service-index/index.module.css +1 -88
- package/distribution/component/service-index/index.module.scss +83 -0
- package/distribution/component/service-index/type.d.ts +1 -1
- package/distribution/component/services/campaign-visual/index.js +2 -2
- package/distribution/component/services/campaign-visual/index.module.css +1 -128
- package/distribution/component/services/campaign-visual/index.module.scss +122 -0
- package/distribution/component/services/campaign-visual/stage/index.js +3 -3
- package/distribution/component/services/campaign-visual/stage/index.js.map +1 -1
- package/distribution/component/services/campaign-visual/stage/type.d.ts +1 -1
- package/distribution/component/services/campaign-visual/type.d.ts +1 -1
- package/distribution/component/services/cell/index.js +2 -2
- package/distribution/component/services/cell/index.module.css +1 -86
- package/distribution/component/services/cell/index.module.scss +81 -0
- package/distribution/component/services/design-visual/index.js +1 -1
- package/distribution/component/services/design-visual/index.module.css +1 -130
- package/distribution/component/services/design-visual/index.module.scss +117 -0
- package/distribution/component/services/index.js +2 -2
- package/distribution/component/services/index.module.css +1 -84
- package/distribution/component/services/index.module.scss +66 -0
- package/distribution/component/services/mobile-visual/index.d.ts.map +1 -1
- package/distribution/component/services/mobile-visual/index.js +2 -1
- package/distribution/component/services/mobile-visual/index.js.map +1 -1
- package/distribution/component/services/mobile-visual/index.module.css +1 -104
- package/distribution/component/services/mobile-visual/index.module.scss +93 -0
- package/distribution/component/services/mobile-visual/type.d.ts +1 -1
- package/distribution/component/services/platform-visual/index.module.css +1 -46
- package/distribution/component/services/platform-visual/index.module.scss +39 -0
- package/distribution/component/services/social-visual/index.js +5 -5
- package/distribution/component/services/social-visual/index.js.map +1 -1
- package/distribution/component/services/social-visual/index.module.css +1 -131
- package/distribution/component/services/social-visual/index.module.scss +120 -0
- package/distribution/component/services/social-visual/type.d.ts +1 -1
- package/distribution/component/services/type.d.ts +1 -1
- package/distribution/component/services/web-visual/index.js +1 -1
- package/distribution/component/services/web-visual/index.module.css +1 -142
- package/distribution/component/services/web-visual/index.module.scss +132 -0
- package/distribution/component/share-image/index.d.ts +1 -2
- package/distribution/component/share-image/index.d.ts.map +1 -1
- package/distribution/component/share-image/index.js +3 -3
- package/distribution/component/share-image/index.js.map +1 -1
- package/distribution/component/share-image/type.d.ts +1 -1
- package/distribution/component/statement/index.js +1 -1
- package/distribution/component/statement/index.module.css +1 -11
- package/distribution/component/statement/index.module.scss +10 -0
- package/distribution/component/structured-data/index.d.ts.map +1 -1
- package/distribution/component/structured-data/index.js +48 -53
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/component/structured-data/type.d.ts +1 -1
- package/distribution/component/style-switch/index.d.ts +2 -2
- package/distribution/component/style-switch/index.d.ts.map +1 -1
- package/distribution/component/style-switch/index.js +11 -18
- package/distribution/component/style-switch/index.js.map +1 -1
- package/distribution/component/style-switch/index.module.css +1 -36
- package/distribution/component/style-switch/index.module.scss +37 -0
- package/distribution/component/style-switch/type.d.ts +1 -1
- package/distribution/component/touchpoint/index.js +3 -3
- package/distribution/component/touchpoint/index.module.css +1 -85
- package/distribution/component/touchpoint/index.module.scss +75 -0
- package/distribution/component/touchpoint/plate/index.module.css +1 -136
- package/distribution/component/touchpoint/plate/index.module.scss +129 -0
- package/distribution/component/touchpoint/type.d.ts +1 -1
- package/distribution/component/wordmark/index.module.css +1 -23
- package/distribution/component/wordmark/index.module.scss +22 -0
- package/distribution/content/locale/index.d.ts +6 -0
- package/distribution/content/locale/index.d.ts.map +1 -0
- package/distribution/content/locale/index.js +7 -0
- package/distribution/content/locale/index.js.map +1 -0
- package/distribution/{utility → content}/locale/type.d.ts +3 -2
- package/distribution/content/locale/type.d.ts.map +1 -0
- package/distribution/{utility → content}/locale/type.js.map +1 -1
- package/distribution/content/style/index.d.ts +47 -43
- package/distribution/content/style/index.d.ts.map +1 -1
- package/distribution/content/style/index.js +20 -13
- package/distribution/content/style/index.js.map +1 -1
- package/distribution/utility/separate/index.d.ts +6 -1
- package/distribution/utility/separate/index.d.ts.map +1 -1
- package/distribution/utility/separate/index.js +8 -2
- package/distribution/utility/separate/index.js.map +1 -1
- package/llms.txt +10 -0
- package/package.json +37 -28
- package/distribution/component/consent/toggle/index.d.ts +0 -4
- package/distribution/component/consent/toggle/index.d.ts.map +0 -1
- package/distribution/component/consent/toggle/index.js +0 -7
- package/distribution/component/consent/toggle/index.js.map +0 -1
- package/distribution/component/consent/toggle/type.d.ts +0 -10
- package/distribution/component/consent/toggle/type.d.ts.map +0 -1
- package/distribution/component/consent/toggle/type.js.map +0 -1
- package/distribution/component/cursor/index.d.ts +0 -3
- package/distribution/component/cursor/index.d.ts.map +0 -1
- package/distribution/component/cursor/index.js +0 -45
- package/distribution/component/cursor/index.js.map +0 -1
- package/distribution/component/cursor/index.module.css +0 -55
- package/distribution/component/globe/arc/index.d.ts +0 -4
- package/distribution/component/globe/arc/index.d.ts.map +0 -1
- package/distribution/component/globe/arc/index.js +0 -29
- package/distribution/component/globe/arc/index.js.map +0 -1
- package/distribution/component/globe/arc/type.d.ts +0 -12
- package/distribution/component/globe/arc/type.d.ts.map +0 -1
- package/distribution/component/globe/arc/type.js +0 -2
- package/distribution/component/globe/arc/type.js.map +0 -1
- package/distribution/component/globe/color/index.d.ts +0 -4
- package/distribution/component/globe/color/index.d.ts.map +0 -1
- package/distribution/component/globe/color/index.js +0 -16
- package/distribution/component/globe/color/index.js.map +0 -1
- package/distribution/component/globe/color/type.d.ts +0 -13
- package/distribution/component/globe/color/type.d.ts.map +0 -1
- package/distribution/component/globe/color/type.js +0 -2
- package/distribution/component/globe/color/type.js.map +0 -1
- package/distribution/component/globe/dots/index.d.ts +0 -4
- package/distribution/component/globe/dots/index.d.ts.map +0 -1
- package/distribution/component/globe/dots/index.js +0 -38
- package/distribution/component/globe/dots/index.js.map +0 -1
- package/distribution/component/globe/dots/type.d.ts +0 -7
- package/distribution/component/globe/dots/type.d.ts.map +0 -1
- package/distribution/component/globe/dots/type.js +0 -2
- package/distribution/component/globe/dots/type.js.map +0 -1
- package/distribution/component/globe/marker/index.d.ts +0 -4
- package/distribution/component/globe/marker/index.d.ts.map +0 -1
- package/distribution/component/globe/marker/index.js +0 -21
- package/distribution/component/globe/marker/index.js.map +0 -1
- package/distribution/component/globe/marker/type.d.ts +0 -9
- package/distribution/component/globe/marker/type.d.ts.map +0 -1
- package/distribution/component/globe/marker/type.js +0 -2
- package/distribution/component/globe/marker/type.js.map +0 -1
- package/distribution/component/globe/shader/arc/index.d.ts +0 -6
- package/distribution/component/globe/shader/arc/index.d.ts.map +0 -1
- package/distribution/component/globe/shader/arc/index.js +0 -24
- package/distribution/component/globe/shader/arc/index.js.map +0 -1
- package/distribution/component/globe/shader/atmosphere/index.d.ts +0 -6
- package/distribution/component/globe/shader/atmosphere/index.d.ts.map +0 -1
- package/distribution/component/globe/shader/atmosphere/index.js +0 -15
- package/distribution/component/globe/shader/atmosphere/index.js.map +0 -1
- package/distribution/component/globe/shader/body/index.d.ts +0 -6
- package/distribution/component/globe/shader/body/index.d.ts.map +0 -1
- package/distribution/component/globe/shader/body/index.js +0 -15
- package/distribution/component/globe/shader/body/index.js.map +0 -1
- package/distribution/component/globe/shader/dot/index.d.ts +0 -6
- package/distribution/component/globe/shader/dot/index.d.ts.map +0 -1
- package/distribution/component/globe/shader/dot/index.js +0 -29
- package/distribution/component/globe/shader/dot/index.js.map +0 -1
- package/distribution/component/globe/shader/glow-vertex/index.d.ts +0 -3
- package/distribution/component/globe/shader/glow-vertex/index.d.ts.map +0 -1
- package/distribution/component/globe/shader/glow-vertex/index.js +0 -9
- package/distribution/component/globe/shader/glow-vertex/index.js.map +0 -1
- package/distribution/component/globe/world/index.d.ts +0 -4
- package/distribution/component/globe/world/index.d.ts.map +0 -1
- package/distribution/component/globe/world/index.js +0 -39
- package/distribution/component/globe/world/index.js.map +0 -1
- package/distribution/component/globe/world/type.d.ts +0 -10
- package/distribution/component/globe/world/type.d.ts.map +0 -1
- package/distribution/component/globe/world/type.js +0 -2
- package/distribution/component/globe/world/type.js.map +0 -1
- package/distribution/component/locale-link/index.d.ts +0 -4
- package/distribution/component/locale-link/index.d.ts.map +0 -1
- package/distribution/component/locale-link/index.js +0 -9
- package/distribution/component/locale-link/index.js.map +0 -1
- package/distribution/component/locale-link/type.d.ts +0 -10
- package/distribution/component/locale-link/type.d.ts.map +0 -1
- package/distribution/component/locale-link/type.js +0 -2
- package/distribution/component/locale-link/type.js.map +0 -1
- package/distribution/hook/globe-drag/index.d.ts +0 -10
- package/distribution/hook/globe-drag/index.d.ts.map +0 -1
- package/distribution/hook/globe-drag/index.js +0 -99
- package/distribution/hook/globe-drag/index.js.map +0 -1
- package/distribution/hook/globe-drag/type.d.ts +0 -11
- package/distribution/hook/globe-drag/type.d.ts.map +0 -1
- package/distribution/hook/globe-drag/type.js +0 -2
- package/distribution/hook/globe-drag/type.js.map +0 -1
- package/distribution/hook/land-points/index.d.ts +0 -3
- package/distribution/hook/land-points/index.d.ts.map +0 -1
- package/distribution/hook/land-points/index.js +0 -17
- package/distribution/hook/land-points/index.js.map +0 -1
- package/distribution/style/token/index.css +0 -1
- package/distribution/utility/hex-channel/index.d.ts +0 -3
- package/distribution/utility/hex-channel/index.d.ts.map +0 -1
- package/distribution/utility/hex-channel/index.js +0 -8
- package/distribution/utility/hex-channel/index.js.map +0 -1
- package/distribution/utility/latitude-longitude-to-vector/index.d.ts +0 -7
- package/distribution/utility/latitude-longitude-to-vector/index.d.ts.map +0 -1
- package/distribution/utility/latitude-longitude-to-vector/index.js +0 -12
- package/distribution/utility/latitude-longitude-to-vector/index.js.map +0 -1
- package/distribution/utility/locale/index.d.ts +0 -6
- package/distribution/utility/locale/index.d.ts.map +0 -1
- package/distribution/utility/locale/index.js +0 -8
- package/distribution/utility/locale/index.js.map +0 -1
- package/distribution/utility/locale/type.d.ts.map +0 -1
- package/distribution/utility/locale/type.js +0 -2
- package/distribution/utility/parse-contact/index.d.ts +0 -4
- package/distribution/utility/parse-contact/index.d.ts.map +0 -1
- package/distribution/utility/parse-contact/index.js +0 -23
- package/distribution/utility/parse-contact/index.js.map +0 -1
- package/distribution/utility/parse-contact/type.d.ts +0 -20
- package/distribution/utility/parse-contact/type.d.ts.map +0 -1
- package/distribution/utility/parse-contact/type.js +0 -2
- package/distribution/utility/parse-contact/type.js.map +0 -1
- package/distribution/utility/web-gl-support/index.d.ts +0 -3
- package/distribution/utility/web-gl-support/index.d.ts.map +0 -1
- package/distribution/utility/web-gl-support/index.js +0 -11
- package/distribution/utility/web-gl-support/index.js.map +0 -1
- /package/distribution/{component/consent/toggle → content/locale}/type.js +0 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.indicator {
|
|
4
|
+
--page: 0;
|
|
5
|
+
--within: 0;
|
|
6
|
+
position: fixed;
|
|
7
|
+
z-index: 40;
|
|
8
|
+
right: max(14px, calc((100vw - var(--maximum-width)) / 2 - 92px));
|
|
9
|
+
top: 50%;
|
|
10
|
+
transform: translateY(-50%);
|
|
11
|
+
padding: 14px 0;
|
|
12
|
+
animation: enter 1s 1.2s $ease both;
|
|
13
|
+
ol {
|
|
14
|
+
position: relative;
|
|
15
|
+
display: grid;
|
|
16
|
+
gap: 14px;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
list-style: none;
|
|
20
|
+
}
|
|
21
|
+
@include below(1180px) {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@keyframes enter {
|
|
26
|
+
from {
|
|
27
|
+
opacity: 0;
|
|
28
|
+
transform: translate(16px, -50%);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
/* The rail fills with the page's progress. */
|
|
32
|
+
.rail {
|
|
33
|
+
position: absolute;
|
|
34
|
+
right: 0;
|
|
35
|
+
top: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
width: 1px;
|
|
38
|
+
@include dashed(vertical, var(--line-2), 3px, 3px);
|
|
39
|
+
span {
|
|
40
|
+
position: absolute;
|
|
41
|
+
inset: 0 0 auto;
|
|
42
|
+
height: calc(var(--page) * 100%);
|
|
43
|
+
background: linear-gradient(180deg, transparent, var(--foreground));
|
|
44
|
+
box-shadow: 0 0 8px tint(60%);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.indicator a {
|
|
48
|
+
position: relative;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: flex-end;
|
|
52
|
+
gap: 10px;
|
|
53
|
+
height: 26px;
|
|
54
|
+
padding-right: 0;
|
|
55
|
+
color: var(--foreground-3);
|
|
56
|
+
transition: color 0.3s;
|
|
57
|
+
&:hover {
|
|
58
|
+
color: var(--foreground);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.number {
|
|
62
|
+
font-size: 10.5px;
|
|
63
|
+
letter-spacing: 0.04em;
|
|
64
|
+
transition: color 0.3s;
|
|
65
|
+
}
|
|
66
|
+
.tick {
|
|
67
|
+
position: relative;
|
|
68
|
+
width: 12px;
|
|
69
|
+
height: 1px;
|
|
70
|
+
background: var(--line-2);
|
|
71
|
+
transition:
|
|
72
|
+
width 0.6s $ease,
|
|
73
|
+
background 0.3s;
|
|
74
|
+
span {
|
|
75
|
+
position: absolute;
|
|
76
|
+
inset: 0 auto 0 0;
|
|
77
|
+
width: 0;
|
|
78
|
+
background: var(--foreground);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/* Names sit to the left in a frosted pill: hidden until hovered, flashing in when their section becomes current. */
|
|
82
|
+
.name {
|
|
83
|
+
position: absolute;
|
|
84
|
+
right: 64px;
|
|
85
|
+
padding: 5px 11px;
|
|
86
|
+
border-radius: 99px;
|
|
87
|
+
border: 1px solid var(--line-2);
|
|
88
|
+
background: shade(75%);
|
|
89
|
+
backdrop-filter: blur(10px);
|
|
90
|
+
color: var(--foreground);
|
|
91
|
+
font-size: 12.5px;
|
|
92
|
+
font-weight: 500;
|
|
93
|
+
letter-spacing: -0.01em;
|
|
94
|
+
white-space: nowrap;
|
|
95
|
+
opacity: 0;
|
|
96
|
+
transform: translateX(8px);
|
|
97
|
+
filter: blur(4px);
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
transition:
|
|
100
|
+
opacity 0.35s,
|
|
101
|
+
transform 0.5s $ease,
|
|
102
|
+
filter 0.35s;
|
|
103
|
+
}
|
|
104
|
+
.indicator:hover .name {
|
|
105
|
+
opacity: 1;
|
|
106
|
+
transform: none;
|
|
107
|
+
filter: none;
|
|
108
|
+
}
|
|
109
|
+
.current {
|
|
110
|
+
color: var(--foreground) !important;
|
|
111
|
+
.tick {
|
|
112
|
+
width: 34px;
|
|
113
|
+
background: tint(25%);
|
|
114
|
+
span {
|
|
115
|
+
width: calc(var(--within) * 100%);
|
|
116
|
+
box-shadow: 0 0 8px tint(70%);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
.name {
|
|
120
|
+
animation: flash 2.2s $ease both;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
@keyframes flash {
|
|
124
|
+
0% {
|
|
125
|
+
opacity: 0;
|
|
126
|
+
transform: translateX(10px);
|
|
127
|
+
filter: blur(4px);
|
|
128
|
+
}
|
|
129
|
+
15%,
|
|
130
|
+
70% {
|
|
131
|
+
opacity: 1;
|
|
132
|
+
transform: none;
|
|
133
|
+
filter: none;
|
|
134
|
+
}
|
|
135
|
+
100% {
|
|
136
|
+
opacity: 0;
|
|
137
|
+
transform: translateX(4px);
|
|
138
|
+
filter: blur(2px);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
.indicator:hover .current .name {
|
|
142
|
+
animation: none;
|
|
143
|
+
}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { separate } from "@sharadox/sharadox-web-library/utility/separate";
|
|
3
3
|
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
4
4
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
5
|
-
import { translate } from "@sharadox/web-library/
|
|
5
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
6
6
|
import styles from "./index.module.css";
|
|
7
7
|
/** The five disciplines in a row of grid cells under the hero, each a shortcut to its section. */
|
|
8
8
|
export function ServiceIndex({ locale }) {
|
|
@@ -1,88 +1 @@
|
|
|
1
|
-
.index {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
4
|
-
margin: 0 auto;
|
|
5
|
-
display: grid;
|
|
6
|
-
grid-template-columns: repeat(5, 1fr);
|
|
7
|
-
border: 1px solid var(--line);
|
|
8
|
-
}
|
|
9
|
-
@media (max-width: 960px) {
|
|
10
|
-
.index {
|
|
11
|
-
grid-template-columns: repeat(2, 1fr);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.cell {
|
|
16
|
-
position: relative;
|
|
17
|
-
display: grid;
|
|
18
|
-
align-content: start;
|
|
19
|
-
gap: 6px;
|
|
20
|
-
padding: 22px 22px 24px;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
23
|
-
}
|
|
24
|
-
.cell:not(:last-of-type) {
|
|
25
|
-
border-right: 1px solid var(--line);
|
|
26
|
-
}
|
|
27
|
-
.cell::before {
|
|
28
|
-
content: "";
|
|
29
|
-
position: absolute;
|
|
30
|
-
inset: 0;
|
|
31
|
-
z-index: -1;
|
|
32
|
-
background: linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);
|
|
33
|
-
opacity: 0;
|
|
34
|
-
transition: opacity 0.4s;
|
|
35
|
-
}
|
|
36
|
-
.cell:hover::before {
|
|
37
|
-
opacity: 1;
|
|
38
|
-
}
|
|
39
|
-
.cell:hover .arrow {
|
|
40
|
-
opacity: 1;
|
|
41
|
-
transform: none;
|
|
42
|
-
}
|
|
43
|
-
@media (max-width: 960px) {
|
|
44
|
-
.cell {
|
|
45
|
-
border-right: 0 !important;
|
|
46
|
-
border-bottom: 1px solid var(--line);
|
|
47
|
-
}
|
|
48
|
-
.cell:nth-of-type(odd) {
|
|
49
|
-
border-right: 1px solid var(--line) !important;
|
|
50
|
-
}
|
|
51
|
-
.cell:last-of-type {
|
|
52
|
-
grid-column: span 2;
|
|
53
|
-
border-bottom: 0;
|
|
54
|
-
border-right: 0 !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@keyframes rise {
|
|
59
|
-
from {
|
|
60
|
-
opacity: 0;
|
|
61
|
-
transform: translateY(10px);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
.number {
|
|
65
|
-
font-size: 11.5px;
|
|
66
|
-
color: var(--foreground-3);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.title {
|
|
70
|
-
font-weight: 600;
|
|
71
|
-
letter-spacing: -0.02em;
|
|
72
|
-
font-size: 15.5px;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.kinds {
|
|
76
|
-
font-size: 11.5px;
|
|
77
|
-
color: var(--foreground-2);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.arrow {
|
|
81
|
-
position: absolute;
|
|
82
|
-
top: 18px;
|
|
83
|
-
right: 18px;
|
|
84
|
-
font-size: 14px;
|
|
85
|
-
opacity: 0;
|
|
86
|
-
transform: translate(-4px, -4px);
|
|
87
|
-
transition: opacity 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
|
|
88
|
-
}
|
|
1
|
+
.index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(5, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:last-of-type{grid-column:span 2;border-bottom:0;border-right:0 !important}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;font-size:14px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.index {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: repeat(5, 1fr);
|
|
9
|
+
border: 1px solid var(--line);
|
|
10
|
+
@include below(960px) {
|
|
11
|
+
grid-template-columns: repeat(2, 1fr);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.cell {
|
|
15
|
+
position: relative;
|
|
16
|
+
display: grid;
|
|
17
|
+
align-content: start;
|
|
18
|
+
gap: 6px;
|
|
19
|
+
padding: 22px 22px 24px;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
animation: rise 0.9s $ease both;
|
|
22
|
+
&:not(:last-of-type) {
|
|
23
|
+
border-right: 1px solid var(--line);
|
|
24
|
+
}
|
|
25
|
+
&::before {
|
|
26
|
+
content: "";
|
|
27
|
+
position: absolute;
|
|
28
|
+
inset: 0;
|
|
29
|
+
z-index: -1;
|
|
30
|
+
background: linear-gradient(180deg, tint(7%), transparent);
|
|
31
|
+
opacity: 0;
|
|
32
|
+
transition: opacity 0.4s;
|
|
33
|
+
}
|
|
34
|
+
&:hover::before {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
&:hover .arrow {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
transform: none;
|
|
40
|
+
}
|
|
41
|
+
@include below(960px) {
|
|
42
|
+
border-right: 0 !important;
|
|
43
|
+
border-bottom: 1px solid var(--line);
|
|
44
|
+
&:nth-of-type(odd) {
|
|
45
|
+
border-right: 1px solid var(--line) !important;
|
|
46
|
+
}
|
|
47
|
+
&:last-of-type {
|
|
48
|
+
grid-column: span 2;
|
|
49
|
+
border-bottom: 0;
|
|
50
|
+
border-right: 0 !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@keyframes rise {
|
|
55
|
+
from {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
transform: translateY(10px);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
.number {
|
|
61
|
+
font-size: 11.5px;
|
|
62
|
+
color: var(--foreground-3);
|
|
63
|
+
}
|
|
64
|
+
.title {
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
letter-spacing: -0.02em;
|
|
67
|
+
font-size: 15.5px;
|
|
68
|
+
}
|
|
69
|
+
.kinds {
|
|
70
|
+
font-size: 11.5px;
|
|
71
|
+
color: var(--foreground-2);
|
|
72
|
+
}
|
|
73
|
+
.arrow {
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 18px;
|
|
76
|
+
right: 18px;
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
opacity: 0;
|
|
79
|
+
transform: translate(-4px, -4px);
|
|
80
|
+
transition:
|
|
81
|
+
opacity 0.3s,
|
|
82
|
+
transform 0.4s $ease;
|
|
83
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useInView } from "@sharadox/web-library/
|
|
4
|
-
import { translate } from "@sharadox/web-library/
|
|
3
|
+
import { useInView } from "@sharadox/animation-web-library/in-view";
|
|
4
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
5
5
|
import { Stage } from "@sharadox/sharadox-web-library/component/services/campaign-visual/stage";
|
|
6
6
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
7
7
|
import styles from "./index.module.css";
|
|
@@ -1,128 +1 @@
|
|
|
1
|
-
.visual {
|
|
2
|
-
position: absolute;
|
|
3
|
-
inset: 0;
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-template-columns: 1.2fr 1fr;
|
|
6
|
-
align-items: center;
|
|
7
|
-
perspective: 1000px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.scene {
|
|
11
|
-
position: relative;
|
|
12
|
-
justify-self: center;
|
|
13
|
-
width: 150px;
|
|
14
|
-
height: 150px;
|
|
15
|
-
transform-style: preserve-3d;
|
|
16
|
-
transform: rotateX(62deg) rotateZ(-38deg);
|
|
17
|
-
animation: turn 16s linear infinite;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@keyframes turn {
|
|
21
|
-
to {
|
|
22
|
-
transform: rotateX(62deg) rotateZ(322deg);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
.plate {
|
|
26
|
-
position: absolute;
|
|
27
|
-
inset: 0;
|
|
28
|
-
margin: auto;
|
|
29
|
-
border-radius: 16px;
|
|
30
|
-
border: 1px solid var(--foreground-3);
|
|
31
|
-
background: color-mix(in srgb, var(--foreground) 6%, transparent);
|
|
32
|
-
box-shadow: 0 0 40px -10px color-mix(in srgb, var(--foreground) 30%, transparent);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.plate0 {
|
|
36
|
-
width: 150px;
|
|
37
|
-
height: 150px;
|
|
38
|
-
transform: translateZ(0);
|
|
39
|
-
}
|
|
40
|
-
.on .plate0 {
|
|
41
|
-
animation: lift-0 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.plate1 {
|
|
45
|
-
width: 104px;
|
|
46
|
-
height: 104px;
|
|
47
|
-
transform: translateZ(34px);
|
|
48
|
-
background: color-mix(in srgb, var(--foreground) 12%, transparent);
|
|
49
|
-
}
|
|
50
|
-
.on .plate1 {
|
|
51
|
-
animation: lift-1 1.4s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.plate2 {
|
|
55
|
-
width: 58px;
|
|
56
|
-
height: 58px;
|
|
57
|
-
transform: translateZ(68px);
|
|
58
|
-
background: var(--foreground);
|
|
59
|
-
border-color: var(--foreground);
|
|
60
|
-
}
|
|
61
|
-
.on .plate2 {
|
|
62
|
-
animation: lift-2 1.4s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@keyframes lift-0 {
|
|
66
|
-
from {
|
|
67
|
-
transform: translateZ(0);
|
|
68
|
-
opacity: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@keyframes lift-1 {
|
|
72
|
-
from {
|
|
73
|
-
transform: translateZ(0);
|
|
74
|
-
opacity: 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
@keyframes lift-2 {
|
|
78
|
-
from {
|
|
79
|
-
transform: translateZ(0);
|
|
80
|
-
opacity: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
.ring {
|
|
84
|
-
position: absolute;
|
|
85
|
-
inset: 0;
|
|
86
|
-
margin: auto;
|
|
87
|
-
width: 58px;
|
|
88
|
-
height: 58px;
|
|
89
|
-
border-radius: 16px;
|
|
90
|
-
border: 1px solid var(--foreground);
|
|
91
|
-
transform: translateZ(68px);
|
|
92
|
-
animation: ripple 2.6s ease-out infinite;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@keyframes ripple {
|
|
96
|
-
from {
|
|
97
|
-
transform: translateZ(68px) scale(1);
|
|
98
|
-
opacity: 0.8;
|
|
99
|
-
}
|
|
100
|
-
to {
|
|
101
|
-
transform: translateZ(68px) scale(3.2);
|
|
102
|
-
opacity: 0;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
.legend {
|
|
106
|
-
margin: 0;
|
|
107
|
-
display: grid;
|
|
108
|
-
gap: 14px;
|
|
109
|
-
padding-right: 22px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.stage {
|
|
113
|
-
padding-left: 12px;
|
|
114
|
-
border-left: 1px dashed var(--line-2);
|
|
115
|
-
}
|
|
116
|
-
.stage dt {
|
|
117
|
-
font-size: 10.5px;
|
|
118
|
-
text-transform: uppercase;
|
|
119
|
-
letter-spacing: 0.05em;
|
|
120
|
-
color: var(--foreground-3);
|
|
121
|
-
}
|
|
122
|
-
.stage dd {
|
|
123
|
-
margin: 0;
|
|
124
|
-
font-size: 22px;
|
|
125
|
-
font-weight: 600;
|
|
126
|
-
letter-spacing: -0.03em;
|
|
127
|
-
font-variant-numeric: tabular-nums;
|
|
128
|
-
}
|
|
1
|
+
.visual{position:absolute;inset:0;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;perspective:1000px}.scene{position:relative;justify-self:center;width:150px;height:150px;transform-style:preserve-3d;transform:rotateX(62deg) rotateZ(-38deg);animation:turn 16s linear infinite}@keyframes turn{to{transform:rotateX(62deg) rotateZ(322deg)}}.plate{position:absolute;inset:0;margin:auto;border-radius:16px;border:1px solid var(--foreground-3);background:color-mix(in srgb, var(--foreground) 6%, transparent);box-shadow:0 0 40px -10px color-mix(in srgb, var(--foreground) 30%, transparent)}.plate0{width:150px;height:150px;transform:translateZ(0)}.on .plate0{animation:lift-0 1.4s cubic-bezier(0.22, 1, 0.36, 1) both}.plate1{width:104px;height:104px;transform:translateZ(34px);background:color-mix(in srgb, var(--foreground) 12%, transparent)}.on .plate1{animation:lift-1 1.4s .15s cubic-bezier(0.22, 1, 0.36, 1) both}.plate2{width:58px;height:58px;transform:translateZ(68px);background:var(--foreground);border-color:var(--foreground)}.on .plate2{animation:lift-2 1.4s .3s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes lift-0{from{transform:translateZ(0);opacity:0}}@keyframes lift-1{from{transform:translateZ(0);opacity:0}}@keyframes lift-2{from{transform:translateZ(0);opacity:0}}.ring{position:absolute;inset:0;margin:auto;width:58px;height:58px;border-radius:16px;border:1px solid var(--foreground);transform:translateZ(68px);animation:ripple 2.6s ease-out infinite}@keyframes ripple{from{transform:translateZ(68px) scale(1);opacity:.8}to{transform:translateZ(68px) scale(3.2);opacity:0}}.legend{margin:0;display:grid;gap:14px;padding-right:22px}.stage{padding-left:12px;border-left:1px dashed var(--line-2)}.stage dt{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--foreground-3)}.stage dd{margin:0;font-size:22px;font-weight:600;letter-spacing:-0.03em;font-variant-numeric:tabular-nums}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.visual {
|
|
4
|
+
position: absolute;
|
|
5
|
+
inset: 0;
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: 1.2fr 1fr;
|
|
8
|
+
align-items: center;
|
|
9
|
+
perspective: 1000px;
|
|
10
|
+
}
|
|
11
|
+
.scene {
|
|
12
|
+
position: relative;
|
|
13
|
+
justify-self: center;
|
|
14
|
+
width: 150px;
|
|
15
|
+
height: 150px;
|
|
16
|
+
transform-style: preserve-3d;
|
|
17
|
+
transform: rotateX(62deg) rotateZ(-38deg);
|
|
18
|
+
animation: turn 16s linear infinite;
|
|
19
|
+
}
|
|
20
|
+
@keyframes turn {
|
|
21
|
+
to {
|
|
22
|
+
transform: rotateX(62deg) rotateZ(322deg);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.plate {
|
|
26
|
+
position: absolute;
|
|
27
|
+
inset: 0;
|
|
28
|
+
margin: auto;
|
|
29
|
+
border-radius: 16px;
|
|
30
|
+
border: 1px solid var(--foreground-3);
|
|
31
|
+
background: tint(6%);
|
|
32
|
+
box-shadow: 0 0 40px -10px tint(30%);
|
|
33
|
+
}
|
|
34
|
+
.plate0 {
|
|
35
|
+
width: 150px;
|
|
36
|
+
height: 150px;
|
|
37
|
+
transform: translateZ(0);
|
|
38
|
+
.on & {
|
|
39
|
+
animation: lift-0 1.4s $ease both;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.plate1 {
|
|
43
|
+
width: 104px;
|
|
44
|
+
height: 104px;
|
|
45
|
+
transform: translateZ(34px);
|
|
46
|
+
background: tint(12%);
|
|
47
|
+
.on & {
|
|
48
|
+
animation: lift-1 1.4s 0.15s $ease both;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.plate2 {
|
|
52
|
+
width: 58px;
|
|
53
|
+
height: 58px;
|
|
54
|
+
transform: translateZ(68px);
|
|
55
|
+
background: var(--foreground);
|
|
56
|
+
border-color: var(--foreground);
|
|
57
|
+
.on & {
|
|
58
|
+
animation: lift-2 1.4s 0.3s $ease both;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
@keyframes lift-0 {
|
|
62
|
+
from {
|
|
63
|
+
transform: translateZ(0);
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@keyframes lift-1 {
|
|
68
|
+
from {
|
|
69
|
+
transform: translateZ(0);
|
|
70
|
+
opacity: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
@keyframes lift-2 {
|
|
74
|
+
from {
|
|
75
|
+
transform: translateZ(0);
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.ring {
|
|
80
|
+
position: absolute;
|
|
81
|
+
inset: 0;
|
|
82
|
+
margin: auto;
|
|
83
|
+
width: 58px;
|
|
84
|
+
height: 58px;
|
|
85
|
+
border-radius: 16px;
|
|
86
|
+
border: 1px solid var(--foreground);
|
|
87
|
+
transform: translateZ(68px);
|
|
88
|
+
animation: ripple 2.6s ease-out infinite;
|
|
89
|
+
}
|
|
90
|
+
@keyframes ripple {
|
|
91
|
+
from {
|
|
92
|
+
transform: translateZ(68px) scale(1);
|
|
93
|
+
opacity: 0.8;
|
|
94
|
+
}
|
|
95
|
+
to {
|
|
96
|
+
transform: translateZ(68px) scale(3.2);
|
|
97
|
+
opacity: 0;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.legend {
|
|
101
|
+
margin: 0;
|
|
102
|
+
display: grid;
|
|
103
|
+
gap: 14px;
|
|
104
|
+
padding-right: 22px;
|
|
105
|
+
}
|
|
106
|
+
.stage {
|
|
107
|
+
padding-left: 12px;
|
|
108
|
+
border-left: 1px dashed var(--line-2);
|
|
109
|
+
dt {
|
|
110
|
+
font-size: 10.5px;
|
|
111
|
+
text-transform: uppercase;
|
|
112
|
+
letter-spacing: 0.05em;
|
|
113
|
+
color: var(--foreground-3);
|
|
114
|
+
}
|
|
115
|
+
dd {
|
|
116
|
+
margin: 0;
|
|
117
|
+
font-size: 22px;
|
|
118
|
+
font-weight: 600;
|
|
119
|
+
letter-spacing: -0.03em;
|
|
120
|
+
font-variant-numeric: tabular-nums;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useCountUp } from "@sharadox/web-library/
|
|
4
|
-
import {
|
|
3
|
+
import { useCountUp } from "@sharadox/animation-web-library/count-up";
|
|
4
|
+
import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
|
|
5
5
|
import styles from "../index.module.css";
|
|
6
6
|
/** One funnel stage in the legend: its label and a number counting up. */
|
|
7
7
|
export function Stage({ label, value, start, durationMilliseconds, locale }) {
|
|
8
8
|
const count = useCountUp(value, start, durationMilliseconds);
|
|
9
|
-
return (_jsxs("div", { className: styles.stage, children: [_jsx("dt", { className: "monospace", children: label }), _jsx("dd", { children: count.toLocaleString(languageTag(locale)) })] }));
|
|
9
|
+
return (_jsxs("div", { className: styles.stage, children: [_jsx("dt", { className: "monospace", children: label }), _jsx("dd", { children: count.toLocaleString(LOCALES.languageTag(locale)) })] }));
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAG1C,0EAA0E;AAC1E,MAAM,UAAU,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAmB;IAC1F,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAC;IAC7D,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,aAAI,SAAS,EAAC,WAAW,YAAE,KAAK,GAAM,EACtC,uBAAK,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,GAAM,IACxD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useSpotlight } from "@sharadox/web-library/
|
|
4
|
-
import { useTilt } from "@sharadox/web-library/
|
|
3
|
+
import { useSpotlight } from "@sharadox/pointer-web-library/spotlight";
|
|
4
|
+
import { useTilt } from "@sharadox/pointer-web-library/tilt";
|
|
5
5
|
import styles from "./index.module.css";
|
|
6
6
|
/**
|
|
7
7
|
* One discipline in the services grid: its live visual (which tilts in 3D towards the pointer), number, kinds and
|