@sharadox/sharadox-web-library 0.6.6 → 0.7.1
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.d.ts.map +1 -1
- package/distribution/component/cross/index.js +2 -1
- package/distribution/component/cross/index.js.map +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.d.ts.map +1 -1
- package/distribution/component/eyebrow/index.js +2 -1
- package/distribution/component/eyebrow/index.js.map +1 -1
- 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.d.ts.map +1 -1
- package/distribution/component/navigation/index.js +3 -2
- package/distribution/component/navigation/index.js.map +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.d.ts.map +1 -1
- package/distribution/component/section/index.js +2 -1
- package/distribution/component/section/index.js.map +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.d.ts.map +1 -1
- package/distribution/component/services/campaign-visual/index.js +4 -3
- package/distribution/component/services/campaign-visual/index.js.map +1 -1
- 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.d.ts.map +1 -1
- package/distribution/component/services/cell/index.js +4 -3
- package/distribution/component/services/cell/index.js.map +1 -1
- 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.d.ts.map +1 -1
- package/distribution/component/services/design-visual/index.js +3 -2
- package/distribution/component/services/design-visual/index.js.map +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.d.ts.map +1 -1
- package/distribution/component/services/social-visual/index.js +6 -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.d.ts.map +1 -1
- package/distribution/component/services/web-visual/index.js +3 -2
- package/distribution/component/services/web-visual/index.js.map +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 -27
- 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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAElG;;;GAGG;AACH,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,cAAc,+BAyB/F"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { classNames } from "@sharadox/web-library/class-name";
|
|
4
|
+
import { useSpotlight } from "@sharadox/pointer-web-library/spotlight";
|
|
5
|
+
import { useTilt } from "@sharadox/pointer-web-library/tilt";
|
|
5
6
|
import styles from "./index.module.css";
|
|
6
7
|
/**
|
|
7
8
|
* One discipline in the services grid: its live visual (which tilts in 3D towards the pointer), number, kinds and
|
|
@@ -10,6 +11,6 @@ import styles from "./index.module.css";
|
|
|
10
11
|
export function Cell({ id, visual, number, kinds, title, lead, text, className }) {
|
|
11
12
|
const spotlight = useSpotlight();
|
|
12
13
|
const tilt = useTilt(5);
|
|
13
|
-
return (_jsxs("article", { id: id, ref: spotlight, className:
|
|
14
|
+
return (_jsxs("article", { id: id, ref: spotlight, className: classNames(styles.cell, className), children: [_jsx("div", { ref: tilt, className: styles.visual, children: _jsx("div", { className: styles.stage, children: visual }) }), _jsxs("div", { className: styles.copy, children: [_jsxs("div", { className: styles.meta, children: [_jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("ul", { className: styles.kinds, children: kinds.map((kind) => (_jsx("li", { className: "monospace", children: kind }, kind))) })] }), _jsx("h3", { children: title }), _jsx("p", { className: styles.lead, children: lead }), _jsx("p", { children: text })] })] }));
|
|
14
15
|
}
|
|
15
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAkB;IAC9F,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,CAAC,CAAC,CAAC;IACxC,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAkB;IAC9F,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,CAAC,CAAC,CAAC;IACxC,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,aAC5E,cAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,YACtC,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,MAAM,GAAO,GACxC,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,GAAQ,EAC9D,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YACxB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,aAAe,SAAS,EAAC,WAAW,YACjC,IAAI,IADE,IAAI,CAER,CACN,CAAC,GACC,IACD,EACN,uBAAK,KAAK,GAAM,EAChB,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAK,EACrC,sBAAI,IAAI,GAAK,IACT,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,86 +1 @@
|
|
|
1
|
-
.cell {
|
|
2
|
-
--pointer-x: -500px;
|
|
3
|
-
--pointer-y: -500px;
|
|
4
|
-
position: relative;
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background: var(--background);
|
|
8
|
-
isolation: isolate;
|
|
9
|
-
scroll-margin-top: 80px;
|
|
10
|
-
}
|
|
11
|
-
.cell::before {
|
|
12
|
-
content: "";
|
|
13
|
-
position: absolute;
|
|
14
|
-
inset: 0;
|
|
15
|
-
z-index: -1;
|
|
16
|
-
background: radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 6%, transparent), transparent 60%);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.visual {
|
|
20
|
-
--tilt-x: 0deg;
|
|
21
|
-
--tilt-y: 0deg;
|
|
22
|
-
position: relative;
|
|
23
|
-
height: 320px;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
perspective: 1100px;
|
|
26
|
-
border-bottom: 1px dashed var(--line-2);
|
|
27
|
-
background: radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--foreground) 5%, transparent), transparent 70%), radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px;
|
|
28
|
-
}
|
|
29
|
-
@media (max-width: 600px) {
|
|
30
|
-
.visual {
|
|
31
|
-
height: 280px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.stage {
|
|
36
|
-
position: absolute;
|
|
37
|
-
inset: 0;
|
|
38
|
-
transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
|
|
39
|
-
transform-style: preserve-3d;
|
|
40
|
-
transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.copy {
|
|
44
|
-
padding: 26px 28px 32px;
|
|
45
|
-
display: grid;
|
|
46
|
-
gap: 10px;
|
|
47
|
-
align-content: start;
|
|
48
|
-
}
|
|
49
|
-
.copy p:not(.lead) {
|
|
50
|
-
color: var(--foreground-2);
|
|
51
|
-
max-width: 48ch;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.meta {
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
gap: 12px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.number {
|
|
62
|
-
font-size: 12px;
|
|
63
|
-
color: var(--foreground-3);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.kinds {
|
|
67
|
-
display: flex;
|
|
68
|
-
flex-wrap: wrap;
|
|
69
|
-
justify-content: flex-end;
|
|
70
|
-
gap: 6px;
|
|
71
|
-
margin: 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
list-style: none;
|
|
74
|
-
}
|
|
75
|
-
.kinds li {
|
|
76
|
-
font-size: 11px;
|
|
77
|
-
padding: 4px 9px;
|
|
78
|
-
border-radius: 99px;
|
|
79
|
-
border: 1px solid var(--line-2);
|
|
80
|
-
color: var(--foreground-2);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.lead {
|
|
84
|
-
color: var(--foreground);
|
|
85
|
-
font-weight: 500;
|
|
86
|
-
}
|
|
1
|
+
.cell{--pointer-x: -500px;--pointer-y: -500px;position:relative;display:flex;flex-direction:column;background:var(--background);isolation:isolate;scroll-margin-top:80px}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 6%, transparent), transparent 60%)}.visual{--tilt-x: 0deg;--tilt-y: 0deg;position:relative;height:320px;overflow:hidden;perspective:1100px;border-bottom:1px dashed var(--line-2);background:radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--foreground) 5%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 600px){.visual{height:280px}}.stage{position:absolute;inset:0;transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-style:preserve-3d;transition:transform .6s cubic-bezier(0.22, 1, 0.36, 1)}.copy{padding:26px 28px 32px;display:grid;gap:10px;align-content:start}.copy p:not(.lead){color:var(--foreground-2);max-width:48ch}.meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.number{font-size:12px;color:var(--foreground-3)}.kinds{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin:0;padding:0;list-style:none}.kinds li{font-size:11px;padding:4px 9px;border-radius:99px;border:1px solid var(--line-2);color:var(--foreground-2)}.lead{color:var(--foreground);font-weight:500}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.cell {
|
|
4
|
+
--pointer-x: -500px;
|
|
5
|
+
--pointer-y: -500px;
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
background: var(--background);
|
|
10
|
+
isolation: isolate;
|
|
11
|
+
scroll-margin-top: 80px;
|
|
12
|
+
&::before {
|
|
13
|
+
content: "";
|
|
14
|
+
position: absolute;
|
|
15
|
+
inset: 0;
|
|
16
|
+
z-index: -1;
|
|
17
|
+
background: radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), tint(6%), transparent 60%);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.visual {
|
|
21
|
+
--tilt-x: 0deg;
|
|
22
|
+
--tilt-y: 0deg;
|
|
23
|
+
position: relative;
|
|
24
|
+
height: 320px;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
perspective: 1100px;
|
|
27
|
+
border-bottom: 1px dashed var(--line-2);
|
|
28
|
+
background:
|
|
29
|
+
radial-gradient(110% 90% at 50% 0%, tint(5%), transparent 70%),
|
|
30
|
+
radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0 / 18px 18px;
|
|
31
|
+
@include below(600px) {
|
|
32
|
+
height: 280px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.stage {
|
|
36
|
+
position: absolute;
|
|
37
|
+
inset: 0;
|
|
38
|
+
transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
|
|
39
|
+
transform-style: preserve-3d;
|
|
40
|
+
transition: transform 0.6s $ease;
|
|
41
|
+
}
|
|
42
|
+
.copy {
|
|
43
|
+
padding: 26px 28px 32px;
|
|
44
|
+
display: grid;
|
|
45
|
+
gap: 10px;
|
|
46
|
+
align-content: start;
|
|
47
|
+
p:not(.lead) {
|
|
48
|
+
color: var(--foreground-2);
|
|
49
|
+
max-width: 48ch;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.meta {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: space-between;
|
|
56
|
+
gap: 12px;
|
|
57
|
+
}
|
|
58
|
+
.number {
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
color: var(--foreground-3);
|
|
61
|
+
}
|
|
62
|
+
.kinds {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-wrap: wrap;
|
|
65
|
+
justify-content: flex-end;
|
|
66
|
+
gap: 6px;
|
|
67
|
+
margin: 0;
|
|
68
|
+
padding: 0;
|
|
69
|
+
list-style: none;
|
|
70
|
+
li {
|
|
71
|
+
font-size: 11px;
|
|
72
|
+
padding: 4px 9px;
|
|
73
|
+
border-radius: 99px;
|
|
74
|
+
border: 1px solid var(--line-2);
|
|
75
|
+
color: var(--foreground-2);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
.lead {
|
|
79
|
+
color: var(--foreground);
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,YAAY,gCA0C3B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { classNames } from "@sharadox/web-library/class-name";
|
|
4
|
+
import { useInView } from "@sharadox/animation-web-library/in-view";
|
|
4
5
|
import styles from "./index.module.css";
|
|
5
6
|
const SWATCHES = ["var(--foreground)", "var(--foreground-2)", "var(--foreground-3)", "var(--surface)"];
|
|
6
7
|
/**
|
|
@@ -8,7 +9,7 @@ const SWATCHES = ["var(--foreground)", "var(--foreground-2)", "var(--foreground-
|
|
|
8
9
|
*/
|
|
9
10
|
export function DesignVisual() {
|
|
10
11
|
const [container, on] = useInView();
|
|
11
|
-
return (_jsx("div", { ref: container, className:
|
|
12
|
+
return (_jsx("div", { ref: container, className: classNames(styles.visual, on && styles.on), "aria-hidden": true, children: _jsxs("div", { className: styles.scene, children: [_jsx("div", { className: `${styles.card} ${styles.palette}`, children: SWATCHES.map((color, index) => (_jsx("span", { style: { background: color, animationDelay: `${0.3 + index * 0.1}s` } }, color))) }), _jsxs("div", { className: `${styles.card} ${styles.type}`, children: [_jsx("span", { className: styles.specimen, children: "Aa" }), _jsx("span", { className: `${styles.caption} monospace`, children: "Geist" }), _jsx("span", { className: `${styles.glyphs} monospace`, children: "Rr Gg 01" })] }), _jsx("div", { className: `${styles.card} ${styles.mark}`, children: _jsxs("svg", { viewBox: "0 0 120 120", children: [_jsxs("g", { className: styles.guides, children: [_jsx("line", { x1: "0", y1: "60", x2: "120", y2: "60" }), _jsx("line", { x1: "60", y1: "0", x2: "60", y2: "120" }), _jsx("circle", { cx: "60", cy: "60", r: "46" }), _jsx("circle", { cx: "60", cy: "60", r: "28" }), _jsx("line", { x1: "14", y1: "14", x2: "106", y2: "106" }), _jsx("line", { x1: "106", y1: "14", x2: "14", y2: "106" })] }), _jsx("circle", { cx: "60", cy: "60", r: "34", className: styles.outer, pathLength: 1 }), _jsx("ellipse", { cx: "60", cy: "60", rx: "18", ry: "34", className: styles.inner, pathLength: 1 }), [
|
|
12
13
|
[60, 26],
|
|
13
14
|
[94, 60],
|
|
14
15
|
[60, 94],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,MAAM,QAAQ,GAAG,CAAC,mBAAmB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC,CAAC;AAEvG;;GAEG;AACH,MAAM,UAAU,YAAY;IAC1B,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,EAAkB,CAAC;IACpD,OAAO,CACL,cAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,MAAM,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,130 +1 @@
|
|
|
1
|
-
.visual {
|
|
2
|
-
position: absolute;
|
|
3
|
-
inset: 0;
|
|
4
|
-
display: grid;
|
|
5
|
-
place-items: center;
|
|
6
|
-
perspective: 900px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.scene {
|
|
10
|
-
position: relative;
|
|
11
|
-
width: 150px;
|
|
12
|
-
height: 190px;
|
|
13
|
-
transform-style: preserve-3d;
|
|
14
|
-
animation: sway 10s ease-in-out infinite;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@keyframes sway {
|
|
18
|
-
0%, 100% {
|
|
19
|
-
transform: rotateX(12deg) rotateY(-16deg);
|
|
20
|
-
}
|
|
21
|
-
50% {
|
|
22
|
-
transform: rotateX(6deg) rotateY(14deg);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
.card {
|
|
26
|
-
position: absolute;
|
|
27
|
-
inset: 0;
|
|
28
|
-
border-radius: 14px;
|
|
29
|
-
border: 1px solid var(--line-2);
|
|
30
|
-
background: var(--card);
|
|
31
|
-
box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--background) 90%, transparent);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.palette {
|
|
35
|
-
transform: translate3d(-110px, 6px, -70px) rotateY(24deg);
|
|
36
|
-
display: grid;
|
|
37
|
-
grid-template-rows: repeat(4, 1fr);
|
|
38
|
-
padding: 10px;
|
|
39
|
-
gap: 6px;
|
|
40
|
-
}
|
|
41
|
-
.palette span {
|
|
42
|
-
border-radius: 6px;
|
|
43
|
-
border: 1px solid var(--line);
|
|
44
|
-
transform-origin: left;
|
|
45
|
-
}
|
|
46
|
-
.on .palette span {
|
|
47
|
-
animation: fill-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@keyframes fill-in {
|
|
51
|
-
from {
|
|
52
|
-
transform: scaleX(0);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
.type {
|
|
56
|
-
transform: translate3d(110px, -6px, -50px) rotateY(-24deg);
|
|
57
|
-
display: grid;
|
|
58
|
-
align-content: center;
|
|
59
|
-
justify-items: center;
|
|
60
|
-
gap: 4px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.specimen {
|
|
64
|
-
font-size: 64px;
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
letter-spacing: -0.06em;
|
|
67
|
-
line-height: 1;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.caption {
|
|
71
|
-
font-size: 10px;
|
|
72
|
-
color: var(--foreground-2);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.glyphs {
|
|
76
|
-
margin-top: 8px;
|
|
77
|
-
font-size: 10px;
|
|
78
|
-
color: var(--foreground-3);
|
|
79
|
-
letter-spacing: 0.2em;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.mark {
|
|
83
|
-
transform: translateZ(40px);
|
|
84
|
-
display: grid;
|
|
85
|
-
place-items: center;
|
|
86
|
-
background: var(--background);
|
|
87
|
-
}
|
|
88
|
-
.mark svg {
|
|
89
|
-
width: 120px;
|
|
90
|
-
height: 120px;
|
|
91
|
-
overflow: visible;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.guides {
|
|
95
|
-
fill: none;
|
|
96
|
-
stroke: var(--line-2);
|
|
97
|
-
stroke-width: 0.6;
|
|
98
|
-
stroke-dasharray: 2 2;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.outer,
|
|
102
|
-
.inner {
|
|
103
|
-
fill: none;
|
|
104
|
-
stroke: var(--foreground);
|
|
105
|
-
stroke-width: 2.4;
|
|
106
|
-
stroke-dasharray: 1;
|
|
107
|
-
stroke-dashoffset: 0;
|
|
108
|
-
}
|
|
109
|
-
.on .outer,
|
|
110
|
-
.on .inner {
|
|
111
|
-
animation: draw-line 1.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.inner {
|
|
115
|
-
stroke-width: 1.8;
|
|
116
|
-
}
|
|
117
|
-
.on .inner {
|
|
118
|
-
animation-delay: 0.6s;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
@keyframes draw-line {
|
|
122
|
-
from {
|
|
123
|
-
stroke-dashoffset: 1;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
.anchor {
|
|
127
|
-
fill: var(--background);
|
|
128
|
-
stroke: var(--foreground-2);
|
|
129
|
-
stroke-width: 0.8;
|
|
130
|
-
}
|
|
1
|
+
.visual{position:absolute;inset:0;display:grid;place-items:center;perspective:900px}.scene{position:relative;width:150px;height:190px;transform-style:preserve-3d;animation:sway 10s ease-in-out infinite}@keyframes sway{0%,100%{transform:rotateX(12deg) rotateY(-16deg)}50%{transform:rotateX(6deg) rotateY(14deg)}}.card{position:absolute;inset:0;border-radius:14px;border:1px solid var(--line-2);background:var(--card);box-shadow:0 30px 60px -20px color-mix(in srgb, var(--background) 90%, transparent)}.palette{transform:translate3d(-110px, 6px, -70px) rotateY(24deg);display:grid;grid-template-rows:repeat(4, 1fr);padding:10px;gap:6px}.palette span{border-radius:6px;border:1px solid var(--line);transform-origin:left}.on .palette span{animation:fill-in .8s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes fill-in{from{transform:scaleX(0)}}.type{transform:translate3d(110px, -6px, -50px) rotateY(-24deg);display:grid;align-content:center;justify-items:center;gap:4px}.specimen{font-size:64px;font-weight:600;letter-spacing:-0.06em;line-height:1}.caption{font-size:10px;color:var(--foreground-2)}.glyphs{margin-top:8px;font-size:10px;color:var(--foreground-3);letter-spacing:.2em}.mark{transform:translateZ(40px);display:grid;place-items:center;background:var(--background)}.mark svg{width:120px;height:120px;overflow:visible}.guides{fill:none;stroke:var(--line-2);stroke-width:.6;stroke-dasharray:2 2}.outer,.inner{fill:none;stroke:var(--foreground);stroke-width:2.4;stroke-dasharray:1;stroke-dashoffset:0}.on .outer,.on .inner{animation:draw-line 1.8s .2s cubic-bezier(0.22, 1, 0.36, 1) both}.inner{stroke-width:1.8}.on .inner{animation-delay:.6s}@keyframes draw-line{from{stroke-dashoffset:1}}.anchor{fill:var(--background);stroke:var(--foreground-2);stroke-width:.8}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.visual {
|
|
4
|
+
@include fill-center;
|
|
5
|
+
perspective: 900px;
|
|
6
|
+
}
|
|
7
|
+
.scene {
|
|
8
|
+
position: relative;
|
|
9
|
+
width: 150px;
|
|
10
|
+
height: 190px;
|
|
11
|
+
transform-style: preserve-3d;
|
|
12
|
+
animation: sway 10s ease-in-out infinite;
|
|
13
|
+
}
|
|
14
|
+
@keyframes sway {
|
|
15
|
+
0%,
|
|
16
|
+
100% {
|
|
17
|
+
transform: rotateX(12deg) rotateY(-16deg);
|
|
18
|
+
}
|
|
19
|
+
50% {
|
|
20
|
+
transform: rotateX(6deg) rotateY(14deg);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.card {
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset: 0;
|
|
26
|
+
border-radius: 14px;
|
|
27
|
+
border: 1px solid var(--line-2);
|
|
28
|
+
background: var(--card);
|
|
29
|
+
box-shadow: 0 30px 60px -20px shade(90%);
|
|
30
|
+
}
|
|
31
|
+
.palette {
|
|
32
|
+
transform: translate3d(-110px, 6px, -70px) rotateY(24deg);
|
|
33
|
+
display: grid;
|
|
34
|
+
grid-template-rows: repeat(4, 1fr);
|
|
35
|
+
padding: 10px;
|
|
36
|
+
gap: 6px;
|
|
37
|
+
span {
|
|
38
|
+
border-radius: 6px;
|
|
39
|
+
border: 1px solid var(--line);
|
|
40
|
+
transform-origin: left;
|
|
41
|
+
.on & {
|
|
42
|
+
animation: fill-in 0.8s $ease both;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
@keyframes fill-in {
|
|
47
|
+
from {
|
|
48
|
+
transform: scaleX(0);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.type {
|
|
52
|
+
transform: translate3d(110px, -6px, -50px) rotateY(-24deg);
|
|
53
|
+
display: grid;
|
|
54
|
+
align-content: center;
|
|
55
|
+
justify-items: center;
|
|
56
|
+
gap: 4px;
|
|
57
|
+
}
|
|
58
|
+
.specimen {
|
|
59
|
+
font-size: 64px;
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
letter-spacing: -0.06em;
|
|
62
|
+
line-height: 1;
|
|
63
|
+
}
|
|
64
|
+
.caption {
|
|
65
|
+
font-size: 10px;
|
|
66
|
+
color: var(--foreground-2);
|
|
67
|
+
}
|
|
68
|
+
.glyphs {
|
|
69
|
+
margin-top: 8px;
|
|
70
|
+
font-size: 10px;
|
|
71
|
+
color: var(--foreground-3);
|
|
72
|
+
letter-spacing: 0.2em;
|
|
73
|
+
}
|
|
74
|
+
.mark {
|
|
75
|
+
transform: translateZ(40px);
|
|
76
|
+
display: grid;
|
|
77
|
+
place-items: center;
|
|
78
|
+
background: var(--background);
|
|
79
|
+
svg {
|
|
80
|
+
width: 120px;
|
|
81
|
+
height: 120px;
|
|
82
|
+
overflow: visible;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
.guides {
|
|
86
|
+
fill: none;
|
|
87
|
+
stroke: var(--line-2);
|
|
88
|
+
stroke-width: 0.6;
|
|
89
|
+
stroke-dasharray: 2 2;
|
|
90
|
+
}
|
|
91
|
+
.outer,
|
|
92
|
+
.inner {
|
|
93
|
+
fill: none;
|
|
94
|
+
stroke: var(--foreground);
|
|
95
|
+
stroke-width: 2.4;
|
|
96
|
+
stroke-dasharray: 1;
|
|
97
|
+
stroke-dashoffset: 0;
|
|
98
|
+
.on & {
|
|
99
|
+
animation: draw-line 1.8s 0.2s $ease both;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.inner {
|
|
103
|
+
stroke-width: 1.8;
|
|
104
|
+
.on & {
|
|
105
|
+
animation-delay: 0.6s;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
@keyframes draw-line {
|
|
109
|
+
from {
|
|
110
|
+
stroke-dashoffset: 1;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
.anchor {
|
|
114
|
+
fill: var(--background);
|
|
115
|
+
stroke: var(--foreground-2);
|
|
116
|
+
stroke-width: 0.8;
|
|
117
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Reveal } from "@sharadox/web-library/
|
|
3
|
-
import { translate } from "@sharadox/web-library/
|
|
2
|
+
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
3
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
4
|
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
5
5
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
6
6
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|