@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
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useInView } from "@sharadox/web-library/
|
|
3
|
+
import { useInView } from "@sharadox/animation-web-library/in-view";
|
|
4
4
|
import styles from "./index.module.css";
|
|
5
5
|
const SWATCHES = ["var(--foreground)", "var(--foreground-2)", "var(--foreground-3)", "var(--surface)"];
|
|
6
6
|
/**
|
|
@@ -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";
|
|
@@ -1,84 +1 @@
|
|
|
1
|
-
.heading {
|
|
2
|
-
padding: clamp(72px, 10vw, 128px) var(--padding) 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
/* Cells share hairlines: the grid's background shows through 1px gaps. */
|
|
6
|
-
.grid {
|
|
7
|
-
position: relative;
|
|
8
|
-
display: grid;
|
|
9
|
-
grid-template-columns: repeat(6, 1fr);
|
|
10
|
-
gap: 1px;
|
|
11
|
-
background: var(--line);
|
|
12
|
-
border-top: 1px solid var(--line);
|
|
13
|
-
}
|
|
14
|
-
.grid > div {
|
|
15
|
-
background: var(--background);
|
|
16
|
-
}
|
|
17
|
-
@media (max-width: 960px) {
|
|
18
|
-
.grid {
|
|
19
|
-
grid-template-columns: 1fr 1fr;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
@media (max-width: 640px) {
|
|
23
|
-
.grid {
|
|
24
|
-
grid-template-columns: 1fr;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.reveal {
|
|
29
|
-
height: 100%;
|
|
30
|
-
}
|
|
31
|
-
.reveal > article {
|
|
32
|
-
height: 100%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.web-application {
|
|
36
|
-
grid-column: span 4;
|
|
37
|
-
}
|
|
38
|
-
@media (max-width: 960px) {
|
|
39
|
-
.web-application {
|
|
40
|
-
grid-column: span 2;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
@media (max-width: 640px) {
|
|
44
|
-
.web-application {
|
|
45
|
-
grid-column: auto;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.mobile-application,
|
|
50
|
-
.graphic-design,
|
|
51
|
-
.social-media,
|
|
52
|
-
.marketing-campaign {
|
|
53
|
-
grid-column: span 2;
|
|
54
|
-
}
|
|
55
|
-
@media (max-width: 960px) {
|
|
56
|
-
.mobile-application,
|
|
57
|
-
.graphic-design,
|
|
58
|
-
.social-media,
|
|
59
|
-
.marketing-campaign {
|
|
60
|
-
grid-column: auto;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.split {
|
|
65
|
-
position: absolute;
|
|
66
|
-
inset: 0;
|
|
67
|
-
display: grid;
|
|
68
|
-
grid-template-columns: 1.25fr 1fr;
|
|
69
|
-
}
|
|
70
|
-
.split > * {
|
|
71
|
-
position: relative !important;
|
|
72
|
-
inset: auto !important;
|
|
73
|
-
}
|
|
74
|
-
.split > *:last-child {
|
|
75
|
-
border-left: 1px dashed var(--line-2);
|
|
76
|
-
}
|
|
77
|
-
@media (max-width: 640px) {
|
|
78
|
-
.split {
|
|
79
|
-
grid-template-columns: 1fr;
|
|
80
|
-
}
|
|
81
|
-
.split > *:last-child {
|
|
82
|
-
display: none !important;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
1
|
+
.heading{padding:clamp(72px,10vw,128px) var(--padding) 0}.grid{position:relative;display:grid;grid-template-columns:repeat(6, 1fr);gap:1px;background:var(--line);border-top:1px solid var(--line)}.grid>div{background:var(--background)}@media(max-width: 960px){.grid{grid-template-columns:1fr 1fr}}@media(max-width: 640px){.grid{grid-template-columns:1fr}}.reveal{height:100%}.reveal>article{height:100%}.web-application{grid-column:span 4}@media(max-width: 960px){.web-application{grid-column:span 2}}@media(max-width: 640px){.web-application{grid-column:auto}}.mobile-application,.graphic-design,.social-media,.marketing-campaign{grid-column:span 2}@media(max-width: 960px){.mobile-application,.graphic-design,.social-media,.marketing-campaign{grid-column:auto}}.split{position:absolute;inset:0;display:grid;grid-template-columns:1.25fr 1fr}.split>*{position:relative !important;inset:auto !important}.split>*:last-child{border-left:1px dashed var(--line-2)}@media(max-width: 640px){.split{grid-template-columns:1fr}.split>*:last-child{display:none !important}}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.heading {
|
|
4
|
+
padding: clamp(72px, 10vw, 128px) var(--padding) 0;
|
|
5
|
+
}
|
|
6
|
+
/* Cells share hairlines: the grid's background shows through 1px gaps. */
|
|
7
|
+
.grid {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: repeat(6, 1fr);
|
|
11
|
+
gap: 1px;
|
|
12
|
+
background: var(--line);
|
|
13
|
+
border-top: 1px solid var(--line);
|
|
14
|
+
> div {
|
|
15
|
+
background: var(--background);
|
|
16
|
+
}
|
|
17
|
+
@include below(960px) {
|
|
18
|
+
grid-template-columns: 1fr 1fr;
|
|
19
|
+
}
|
|
20
|
+
@include below(640px) {
|
|
21
|
+
grid-template-columns: 1fr;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.reveal {
|
|
25
|
+
height: 100%;
|
|
26
|
+
> article {
|
|
27
|
+
height: 100%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.web-application {
|
|
31
|
+
grid-column: span 4;
|
|
32
|
+
@include below(960px) {
|
|
33
|
+
grid-column: span 2;
|
|
34
|
+
}
|
|
35
|
+
@include below(640px) {
|
|
36
|
+
grid-column: auto;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.mobile-application,
|
|
40
|
+
.graphic-design,
|
|
41
|
+
.social-media,
|
|
42
|
+
.marketing-campaign {
|
|
43
|
+
grid-column: span 2;
|
|
44
|
+
@include below(960px) {
|
|
45
|
+
grid-column: auto;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.split {
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset: 0;
|
|
51
|
+
display: grid;
|
|
52
|
+
grid-template-columns: 1.25fr 1fr;
|
|
53
|
+
> * {
|
|
54
|
+
position: relative !important;
|
|
55
|
+
inset: auto !important;
|
|
56
|
+
}
|
|
57
|
+
> *:last-child {
|
|
58
|
+
border-left: 1px dashed var(--line-2);
|
|
59
|
+
}
|
|
60
|
+
@include below(640px) {
|
|
61
|
+
grid-template-columns: 1fr;
|
|
62
|
+
> *:last-child {
|
|
63
|
+
display: none !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sEAAsE,CAAC;AAEnH,sDAAsD;AACtD,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB,+BA8B9D"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
5
|
+
import { classNames } from "@sharadox/web-library/class-name";
|
|
5
6
|
import styles from "./index.module.css";
|
|
6
7
|
/** A phone with business notifications sliding in. */
|
|
7
8
|
export function MobileVisual({ locale }) {
|
|
@@ -12,6 +13,6 @@ export function MobileVisual({ locale }) {
|
|
|
12
13
|
return () => clearInterval(timer);
|
|
13
14
|
}, []);
|
|
14
15
|
const shown = [0, 1, 2].map((slot) => items[(tick + slot) % items.length]);
|
|
15
|
-
return (_jsx("div", { className: styles.visual, "aria-hidden": true, children: _jsxs("div", { className: styles.phone, children: [_jsx("div", { className: styles.notch }), _jsx("div", { className: `${styles.time} monospace`, children: "9:41" }), _jsx("div", { className: styles.notes, children: shown.map(([title, detail], slot) => (_jsxs("div", { className:
|
|
16
|
+
return (_jsx("div", { className: styles.visual, "aria-hidden": true, children: _jsxs("div", { className: styles.phone, children: [_jsx("div", { className: styles.notch }), _jsx("div", { className: `${styles.time} monospace`, children: "9:41" }), _jsx("div", { className: styles.notes, children: shown.map(([title, detail], slot) => (_jsxs("div", { className: classNames(styles.note, slot === 1 && styles.note1, slot === 2 && styles.note2), children: [_jsx("span", { className: styles.icon }), _jsxs("span", { className: styles.text, children: [_jsx("b", { children: title }), _jsx("em", { children: detail })] })] }, `${tick}-${slot}`))) })] }) }));
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/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