@sharadox/sharadox-web-library 0.6.6 → 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 +36 -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
|
@@ -1,56 +1 @@
|
|
|
1
|
-
.contact {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: 1fr 1.1fr;
|
|
4
|
-
gap: clamp(40px, 6vw, 96px);
|
|
5
|
-
align-items: start;
|
|
6
|
-
}
|
|
7
|
-
@media (max-width: 860px) {
|
|
8
|
-
.contact {
|
|
9
|
-
grid-template-columns: 1fr;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.glow {
|
|
14
|
-
position: absolute;
|
|
15
|
-
left: 50%;
|
|
16
|
-
top: 40%;
|
|
17
|
-
width: 80vw;
|
|
18
|
-
max-width: 1000px;
|
|
19
|
-
aspect-ratio: 2;
|
|
20
|
-
transform: translate(-50%, -50%);
|
|
21
|
-
background: radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);
|
|
22
|
-
pointer-events: none;
|
|
23
|
-
z-index: -1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.heading h2 {
|
|
27
|
-
margin: 16px 0 22px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.text {
|
|
31
|
-
color: var(--foreground-2);
|
|
32
|
-
font-size: 1.1rem;
|
|
33
|
-
max-width: 30ch;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.direct {
|
|
37
|
-
margin-top: 40px;
|
|
38
|
-
display: grid;
|
|
39
|
-
gap: 6px;
|
|
40
|
-
}
|
|
41
|
-
.direct :global(.monospace) {
|
|
42
|
-
font-size: 12px;
|
|
43
|
-
color: var(--foreground-3);
|
|
44
|
-
text-transform: uppercase;
|
|
45
|
-
letter-spacing: 0.04em;
|
|
46
|
-
}
|
|
47
|
-
.direct a {
|
|
48
|
-
font-size: clamp(1.3rem, 2.4vw, 1.8rem);
|
|
49
|
-
letter-spacing: -0.03em;
|
|
50
|
-
width: fit-content;
|
|
51
|
-
background: linear-gradient(var(--foreground), var(--foreground)) left bottom/0 1px no-repeat;
|
|
52
|
-
transition: background-size 0.5s var(--ease);
|
|
53
|
-
}
|
|
54
|
-
.direct a:hover {
|
|
55
|
-
background-size: 100% 1px;
|
|
56
|
-
}
|
|
1
|
+
.contact{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(40px,6vw,96px);align-items:start}@media(max-width: 860px){.contact{grid-template-columns:1fr}}.glow{position:absolute;left:50%;top:40%;width:80vw;max-width:1000px;aspect-ratio:2;transform:translate(-50%, -50%);background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);pointer-events:none;z-index:-1}.heading h2{margin:16px 0 22px}.text{color:var(--foreground-2);font-size:1.1rem;max-width:30ch}.direct{margin-top:40px;display:grid;gap:6px}.direct :global(.monospace){font-size:12px;color:var(--foreground-3);text-transform:uppercase;letter-spacing:.04em}.direct a{font-size:clamp(1.3rem,2.4vw,1.8rem);letter-spacing:-0.03em;width:fit-content;background:linear-gradient(var(--foreground), var(--foreground)) left bottom/0 1px no-repeat;transition:background-size .5s var(--ease)}.direct a:hover{background-size:100% 1px}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.contact {
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 1fr 1.1fr;
|
|
6
|
+
gap: clamp(40px, 6vw, 96px);
|
|
7
|
+
align-items: start;
|
|
8
|
+
@include below(860px) {
|
|
9
|
+
grid-template-columns: 1fr;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.glow {
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 50%;
|
|
15
|
+
top: 40%;
|
|
16
|
+
width: 80vw;
|
|
17
|
+
max-width: 1000px;
|
|
18
|
+
aspect-ratio: 2;
|
|
19
|
+
transform: translate(-50%, -50%);
|
|
20
|
+
background: radial-gradient(closest-side, tint(7%), transparent);
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
z-index: -1;
|
|
23
|
+
}
|
|
24
|
+
.heading h2 {
|
|
25
|
+
margin: 16px 0 22px;
|
|
26
|
+
}
|
|
27
|
+
.text {
|
|
28
|
+
color: var(--foreground-2);
|
|
29
|
+
font-size: 1.1rem;
|
|
30
|
+
max-width: 30ch;
|
|
31
|
+
}
|
|
32
|
+
.direct {
|
|
33
|
+
margin-top: 40px;
|
|
34
|
+
display: grid;
|
|
35
|
+
gap: 6px;
|
|
36
|
+
:global(.monospace) {
|
|
37
|
+
font-size: 12px;
|
|
38
|
+
color: var(--foreground-3);
|
|
39
|
+
text-transform: uppercase;
|
|
40
|
+
letter-spacing: 0.04em;
|
|
41
|
+
}
|
|
42
|
+
a {
|
|
43
|
+
font-size: clamp(1.3rem, 2.4vw, 1.8rem);
|
|
44
|
+
letter-spacing: -0.03em;
|
|
45
|
+
width: fit-content;
|
|
46
|
+
background: linear-gradient(var(--foreground), var(--foreground)) left bottom / 0 1px no-repeat;
|
|
47
|
+
transition: background-size 0.5s var(--ease);
|
|
48
|
+
&:hover {
|
|
49
|
+
background-size: 100% 1px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ContactState } from "@sharadox/sharadox-web-library/action/send-contact/type";
|
|
2
|
-
import type { Locale } from "@sharadox/sharadox-web-library/
|
|
2
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
3
3
|
export interface ContactProperties {
|
|
4
4
|
locale: Locale;
|
|
5
5
|
/** The application's server action, which calls `sendContact`. */
|
|
@@ -1,53 +1 @@
|
|
|
1
|
-
.cross {
|
|
2
|
-
--cross-size: 21px;
|
|
3
|
-
position: absolute;
|
|
4
|
-
z-index: 3;
|
|
5
|
-
width: var(--cross-size);
|
|
6
|
-
height: var(--cross-size);
|
|
7
|
-
margin: calc(var(--cross-size) / -2);
|
|
8
|
-
pointer-events: none;
|
|
9
|
-
}
|
|
10
|
-
.cross::before, .cross::after {
|
|
11
|
-
content: "";
|
|
12
|
-
position: absolute;
|
|
13
|
-
background: var(--foreground-3);
|
|
14
|
-
}
|
|
15
|
-
.cross::before {
|
|
16
|
-
left: 50%;
|
|
17
|
-
top: 0;
|
|
18
|
-
bottom: 0;
|
|
19
|
-
width: 1px;
|
|
20
|
-
transform: translateX(-0.5px);
|
|
21
|
-
}
|
|
22
|
-
.cross::after {
|
|
23
|
-
top: 50%;
|
|
24
|
-
left: 0;
|
|
25
|
-
right: 0;
|
|
26
|
-
height: 1px;
|
|
27
|
-
transform: translateY(-0.5px);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.top-left {
|
|
31
|
-
top: -0.5px;
|
|
32
|
-
left: -0.5px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.top-right {
|
|
36
|
-
top: -0.5px;
|
|
37
|
-
right: -0.5px;
|
|
38
|
-
margin-right: calc(var(--cross-size) / -2);
|
|
39
|
-
margin-left: 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.bottom-left {
|
|
43
|
-
bottom: -0.5px;
|
|
44
|
-
left: -0.5px;
|
|
45
|
-
margin-bottom: calc(var(--cross-size) / -2);
|
|
46
|
-
margin-top: 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.bottom-right {
|
|
50
|
-
bottom: -0.5px;
|
|
51
|
-
right: -0.5px;
|
|
52
|
-
margin: 0 calc(var(--cross-size) / -2) calc(var(--cross-size) / -2) 0;
|
|
53
|
-
}
|
|
1
|
+
.cross{--cross-size: 21px;position:absolute;z-index:3;width:var(--cross-size);height:var(--cross-size);margin:calc(var(--cross-size)/-2);pointer-events:none}.cross::before,.cross::after{content:"";position:absolute;background:var(--foreground-3)}.cross::before{left:50%;top:0;bottom:0;width:1px;transform:translateX(-0.5px)}.cross::after{top:50%;left:0;right:0;height:1px;transform:translateY(-0.5px)}.top-left{top:-0.5px;left:-0.5px}.top-right{top:-0.5px;right:-0.5px;margin-right:calc(var(--cross-size)/-2);margin-left:0}.bottom-left{bottom:-0.5px;left:-0.5px;margin-bottom:calc(var(--cross-size)/-2);margin-top:0}.bottom-right{bottom:-0.5px;right:-0.5px;margin:0 calc(var(--cross-size)/-2) calc(var(--cross-size)/-2) 0}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
.cross {
|
|
2
|
+
--cross-size: 21px;
|
|
3
|
+
position: absolute;
|
|
4
|
+
z-index: 3;
|
|
5
|
+
width: var(--cross-size);
|
|
6
|
+
height: var(--cross-size);
|
|
7
|
+
margin: calc(var(--cross-size) / -2);
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
&::before,
|
|
10
|
+
&::after {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
background: var(--foreground-3);
|
|
14
|
+
}
|
|
15
|
+
&::before {
|
|
16
|
+
left: 50%;
|
|
17
|
+
top: 0;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
width: 1px;
|
|
20
|
+
transform: translateX(-0.5px);
|
|
21
|
+
}
|
|
22
|
+
&::after {
|
|
23
|
+
top: 50%;
|
|
24
|
+
left: 0;
|
|
25
|
+
right: 0;
|
|
26
|
+
height: 1px;
|
|
27
|
+
transform: translateY(-0.5px);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.top-left {
|
|
31
|
+
top: -0.5px;
|
|
32
|
+
left: -0.5px;
|
|
33
|
+
}
|
|
34
|
+
.top-right {
|
|
35
|
+
top: -0.5px;
|
|
36
|
+
right: -0.5px;
|
|
37
|
+
margin-right: calc(var(--cross-size) / -2);
|
|
38
|
+
margin-left: 0;
|
|
39
|
+
}
|
|
40
|
+
.bottom-left {
|
|
41
|
+
bottom: -0.5px;
|
|
42
|
+
left: -0.5px;
|
|
43
|
+
margin-bottom: calc(var(--cross-size) / -2);
|
|
44
|
+
margin-top: 0;
|
|
45
|
+
}
|
|
46
|
+
.bottom-right {
|
|
47
|
+
bottom: -0.5px;
|
|
48
|
+
right: -0.5px;
|
|
49
|
+
margin: 0 calc(var(--cross-size) / -2) calc(var(--cross-size) / -2) 0;
|
|
50
|
+
}
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
.eyebrow
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
gap: 10px;
|
|
5
|
-
font-size: 12.5px;
|
|
6
|
-
letter-spacing: 0.04em;
|
|
7
|
-
text-transform: uppercase;
|
|
8
|
-
color: var(--foreground-2);
|
|
9
|
-
}
|
|
1
|
+
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { separate } from "@sharadox/sharadox-web-library/utility/separate";
|
|
3
|
-
import { translate } from "@sharadox/web-library/
|
|
3
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
4
|
import { PreferencesLink } from "@sharadox/sharadox-web-library/component/consent/preferences-link";
|
|
5
5
|
import { CONSENT } from "@sharadox/sharadox-web-library/content/consent";
|
|
6
6
|
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
7
|
-
import { LocaleLink } from "@sharadox/
|
|
7
|
+
import { LocaleLink } from "@sharadox/internationalization-web-library/locale-link";
|
|
8
8
|
import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
|
|
9
9
|
import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
|
|
10
10
|
import { FOOTER } from "@sharadox/sharadox-web-library/content/footer";
|
|
@@ -12,11 +12,11 @@ import { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
|
|
|
12
12
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
13
13
|
import { STYLE } from "@sharadox/sharadox-web-library/content/style";
|
|
14
14
|
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
15
|
-
import { LOCALES } from "@sharadox/sharadox-web-library/
|
|
15
|
+
import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
|
|
16
16
|
import styles from "./index.module.css";
|
|
17
17
|
const LANGUAGE_NAMES = { en: "English", pt: "Português" };
|
|
18
18
|
/** Columns of links in the grid, the style and language switches, the big gradient wordmark and the legal line. */
|
|
19
19
|
export function Footer({ locale }) {
|
|
20
|
-
return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsxs("p", { className: styles.slogan, children: [translate(SITE.slogan, locale), "."] }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("nav", { "aria-label": translate(FOOTER.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), _jsx("a", { href: "#capabilities", children: translate(NAVIGATION.capabilities, locale) }), _jsx("a", { href: "#process", children: translate(NAVIGATION.process, locale) }), _jsx("a", { href: "#contact", children: translate(NAVIGATION.contact, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsxs("a", { href: "#top", children: [translate(FOOTER.top, locale), " \u2191"] })] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.language, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.map((other) => (_jsx(LocaleLink, { locale: other, current: other === locale, children: LANGUAGE_NAMES[other] }, other))) }), _jsx("h2", { className: "monospace", children: translate(STYLE.label, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.style })] })] }), _jsx("div", { className: styles.mark, "aria-hidden": true, children: "Sharadox" }), _jsx("p", { className: `${styles.legal} monospace`, children: separate(`© ${new Date().getFullYear()} Sharadox`, translate(FOOTER.rights, locale)) })] }));
|
|
20
|
+
return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsxs("p", { className: styles.slogan, children: [translate(SITE.slogan, locale), "."] }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("nav", { "aria-label": translate(FOOTER.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), _jsx("a", { href: "#capabilities", children: translate(NAVIGATION.capabilities, locale) }), _jsx("a", { href: "#process", children: translate(NAVIGATION.process, locale) }), _jsx("a", { href: "#contact", children: translate(NAVIGATION.contact, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsxs("a", { href: "#top", children: [translate(FOOTER.top, locale), " \u2191"] })] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.language, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, current: other === locale, children: LANGUAGE_NAMES[other] }, other))) }), _jsx("h2", { className: "monospace", children: translate(STYLE.label, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.style })] })] }), _jsx("div", { className: styles.mark, "aria-hidden": true, children: "Sharadox" }), _jsx("p", { className: `${styles.legal} monospace`, children: separate(`© ${new Date().getFullYear()} Sharadox`, translate(FOOTER.rights, locale)) })] }));
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,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,CAAC,KAAK,YAAY,YACtC,QAAQ,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACnF,IACG,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,138 +1 @@
|
|
|
1
|
-
.footer {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
4
|
-
margin: 0 auto;
|
|
5
|
-
border: 1px solid var(--line);
|
|
6
|
-
border-bottom: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.columns {
|
|
10
|
-
display: grid;
|
|
11
|
-
grid-template-columns: 1.6fr 1fr 1fr 1fr;
|
|
12
|
-
border-bottom: 1px solid var(--line);
|
|
13
|
-
}
|
|
14
|
-
.columns > * {
|
|
15
|
-
position: relative;
|
|
16
|
-
display: grid;
|
|
17
|
-
align-content: start;
|
|
18
|
-
gap: 10px;
|
|
19
|
-
padding: 36px var(--padding) 40px;
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
color: var(--foreground-2);
|
|
22
|
-
}
|
|
23
|
-
.columns > *:not(:last-child)::after {
|
|
24
|
-
content: "";
|
|
25
|
-
position: absolute;
|
|
26
|
-
top: 0;
|
|
27
|
-
bottom: 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
width: 1px;
|
|
30
|
-
background: linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y;
|
|
31
|
-
}
|
|
32
|
-
.columns h2 {
|
|
33
|
-
margin-bottom: 6px;
|
|
34
|
-
font-size: 11.5px;
|
|
35
|
-
font-weight: 400;
|
|
36
|
-
letter-spacing: 0.05em;
|
|
37
|
-
text-transform: uppercase;
|
|
38
|
-
color: var(--foreground-3);
|
|
39
|
-
}
|
|
40
|
-
.columns {
|
|
41
|
-
/* Only the "Cookie Preferences" button looks like a link; the style switch keeps its own look. */
|
|
42
|
-
}
|
|
43
|
-
.columns a,
|
|
44
|
-
.columns [data-preferences-link] {
|
|
45
|
-
width: fit-content;
|
|
46
|
-
transition: color 0.2s;
|
|
47
|
-
}
|
|
48
|
-
.columns [data-preferences-link] {
|
|
49
|
-
padding: 0;
|
|
50
|
-
border: 0;
|
|
51
|
-
background: none;
|
|
52
|
-
font-size: inherit;
|
|
53
|
-
color: inherit;
|
|
54
|
-
text-align: left;
|
|
55
|
-
}
|
|
56
|
-
.columns a:hover,
|
|
57
|
-
.columns [data-preferences-link]:hover {
|
|
58
|
-
color: var(--foreground);
|
|
59
|
-
}
|
|
60
|
-
@media (max-width: 900px) {
|
|
61
|
-
.columns {
|
|
62
|
-
grid-template-columns: 1fr 1fr;
|
|
63
|
-
}
|
|
64
|
-
.columns > *:nth-child(2n)::after {
|
|
65
|
-
display: none;
|
|
66
|
-
}
|
|
67
|
-
.columns > *:nth-child(-n+2) {
|
|
68
|
-
border-bottom: 1px dashed var(--line-2);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
@media (max-width: 520px) {
|
|
72
|
-
.columns {
|
|
73
|
-
grid-template-columns: 1fr;
|
|
74
|
-
}
|
|
75
|
-
.columns > *::after {
|
|
76
|
-
display: none;
|
|
77
|
-
}
|
|
78
|
-
.columns > *:not(:last-child) {
|
|
79
|
-
border-bottom: 1px dashed var(--line-2);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.brand {
|
|
84
|
-
gap: 14px !important;
|
|
85
|
-
}
|
|
86
|
-
.brand > a:first-child {
|
|
87
|
-
color: var(--foreground);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.slogan {
|
|
91
|
-
color: var(--foreground);
|
|
92
|
-
font-size: 1.05rem;
|
|
93
|
-
font-weight: 500;
|
|
94
|
-
letter-spacing: -0.03em;
|
|
95
|
-
max-width: 24ch;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.email {
|
|
99
|
-
color: var(--foreground-2);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.languages {
|
|
103
|
-
display: grid;
|
|
104
|
-
gap: 10px;
|
|
105
|
-
}
|
|
106
|
-
.languages a[aria-current] {
|
|
107
|
-
color: var(--foreground);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.style {
|
|
111
|
-
width: fit-content;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.settings h2:not(:first-child) {
|
|
115
|
-
margin-top: 18px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.mark {
|
|
119
|
-
padding: 40px 0 10px;
|
|
120
|
-
font-size: clamp(4rem, 17vw, 15rem);
|
|
121
|
-
font-weight: 600;
|
|
122
|
-
letter-spacing: -0.075em;
|
|
123
|
-
line-height: 0.8;
|
|
124
|
-
text-align: center;
|
|
125
|
-
background: linear-gradient(180deg, var(--foreground) 0%, transparent 85%);
|
|
126
|
-
-webkit-background-clip: text;
|
|
127
|
-
background-clip: text;
|
|
128
|
-
color: transparent;
|
|
129
|
-
user-select: none;
|
|
130
|
-
overflow: hidden;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.legal {
|
|
134
|
-
padding: 18px var(--padding) 28px;
|
|
135
|
-
font-size: 12px;
|
|
136
|
-
color: var(--foreground-3);
|
|
137
|
-
text-align: center;
|
|
138
|
-
}
|
|
1
|
+
.footer{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a,.columns [data-preferences-link]{width:fit-content;transition:color .2s}.columns [data-preferences-link]{padding:0;border:0;background:none;font-size:inherit;color:inherit;text-align:left}.columns a:hover,.columns [data-preferences-link]:hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>*:nth-child(2n)::after{display:none}.columns>*:nth-child(-n+2){border-bottom:1px dashed var(--line-2)}}@media(max-width: 520px){.columns{grid-template-columns:1fr}.columns>*::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.brand{gap:14px !important}.brand>a:first-child{color:var(--foreground)}.slogan{color:var(--foreground);font-size:1.05rem;font-weight:500;letter-spacing:-0.03em;max-width:24ch}.email{color:var(--foreground-2)}.languages{display:grid;gap:10px}.languages a[aria-current]{color:var(--foreground)}.style{width:fit-content}.settings h2:not(:first-child){margin-top:18px}.mark{padding:40px 0 10px;font-size:clamp(4rem,17vw,15rem);font-weight:600;letter-spacing:-0.075em;line-height:.8;text-align:center;background:linear-gradient(180deg, var(--foreground) 0%, transparent 85%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0);user-select:none;overflow:hidden}.legal{padding:18px var(--padding) 28px;font-size:12px;color:var(--foreground-3);text-align:center}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.footer {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
border: 1px solid var(--line);
|
|
8
|
+
border-bottom: 0;
|
|
9
|
+
}
|
|
10
|
+
.columns {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: 1.6fr 1fr 1fr 1fr;
|
|
13
|
+
border-bottom: 1px solid var(--line);
|
|
14
|
+
> * {
|
|
15
|
+
position: relative;
|
|
16
|
+
display: grid;
|
|
17
|
+
align-content: start;
|
|
18
|
+
gap: 10px;
|
|
19
|
+
padding: 36px var(--padding) 40px;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
color: var(--foreground-2);
|
|
22
|
+
}
|
|
23
|
+
> *:not(:last-child)::after {
|
|
24
|
+
content: "";
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
bottom: 0;
|
|
28
|
+
right: 0;
|
|
29
|
+
width: 1px;
|
|
30
|
+
@include dashed(vertical);
|
|
31
|
+
}
|
|
32
|
+
h2 {
|
|
33
|
+
margin-bottom: 6px;
|
|
34
|
+
font-size: 11.5px;
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
letter-spacing: 0.05em;
|
|
37
|
+
text-transform: uppercase;
|
|
38
|
+
color: var(--foreground-3);
|
|
39
|
+
}
|
|
40
|
+
/* Only the "Cookie Preferences" button looks like a link; the style switch keeps its own look. */
|
|
41
|
+
a,
|
|
42
|
+
[data-preferences-link] {
|
|
43
|
+
width: fit-content;
|
|
44
|
+
transition: color 0.2s;
|
|
45
|
+
}
|
|
46
|
+
[data-preferences-link] {
|
|
47
|
+
padding: 0;
|
|
48
|
+
border: 0;
|
|
49
|
+
background: none;
|
|
50
|
+
font-size: inherit;
|
|
51
|
+
color: inherit;
|
|
52
|
+
text-align: left;
|
|
53
|
+
}
|
|
54
|
+
a:hover,
|
|
55
|
+
[data-preferences-link]:hover {
|
|
56
|
+
color: var(--foreground);
|
|
57
|
+
}
|
|
58
|
+
@include below(900px) {
|
|
59
|
+
grid-template-columns: 1fr 1fr;
|
|
60
|
+
> *:nth-child(2n)::after {
|
|
61
|
+
display: none;
|
|
62
|
+
}
|
|
63
|
+
> *:nth-child(-n + 2) {
|
|
64
|
+
border-bottom: 1px dashed var(--line-2);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@include below(520px) {
|
|
68
|
+
grid-template-columns: 1fr;
|
|
69
|
+
> *::after {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
> *:not(:last-child) {
|
|
73
|
+
border-bottom: 1px dashed var(--line-2);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.brand {
|
|
78
|
+
gap: 14px !important;
|
|
79
|
+
> a:first-child {
|
|
80
|
+
color: var(--foreground);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.slogan {
|
|
84
|
+
color: var(--foreground);
|
|
85
|
+
font-size: 1.05rem;
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
letter-spacing: -0.03em;
|
|
88
|
+
max-width: 24ch;
|
|
89
|
+
}
|
|
90
|
+
.email {
|
|
91
|
+
color: var(--foreground-2);
|
|
92
|
+
}
|
|
93
|
+
.languages {
|
|
94
|
+
display: grid;
|
|
95
|
+
gap: 10px;
|
|
96
|
+
a[aria-current] {
|
|
97
|
+
color: var(--foreground);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
.style {
|
|
101
|
+
width: fit-content;
|
|
102
|
+
}
|
|
103
|
+
.settings h2:not(:first-child) {
|
|
104
|
+
margin-top: 18px;
|
|
105
|
+
}
|
|
106
|
+
.mark {
|
|
107
|
+
padding: 40px 0 10px;
|
|
108
|
+
font-size: clamp(4rem, 17vw, 15rem);
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
letter-spacing: -0.075em;
|
|
111
|
+
line-height: 0.8;
|
|
112
|
+
text-align: center;
|
|
113
|
+
background: linear-gradient(180deg, var(--foreground) 0%, transparent 85%);
|
|
114
|
+
-webkit-background-clip: text;
|
|
115
|
+
background-clip: text;
|
|
116
|
+
color: transparent;
|
|
117
|
+
user-select: none;
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
}
|
|
120
|
+
.legal {
|
|
121
|
+
padding: 18px var(--padding) 28px;
|
|
122
|
+
font-size: 12px;
|
|
123
|
+
color: var(--foreground-3);
|
|
124
|
+
text-align: center;
|
|
125
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* The hero's globe: arcs from Almancil to the world, drawn in the colours of the style in use (default export, so
|
|
3
|
+
* the hero can load it lazily).
|
|
4
4
|
*/
|
|
5
5
|
export default function Globe(): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/globe/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/globe/index.tsx"],"names":[],"mappings":"AAYA;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,gCAa5B"}
|
|
@@ -1,39 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as _jsx
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { useGlobeDrag } from "@sharadox/sharadox-web-library/hook/globe-drag";
|
|
10
|
-
import { useLandPoints } from "@sharadox/sharadox-web-library/hook/land-points";
|
|
11
|
-
import { radians } from "@sharadox/web-library/math/radians";
|
|
12
|
-
import { supportsWebGl } from "@sharadox/sharadox-web-library/utility/web-gl-support";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
import { Globe as DotGlobe } from "@sharadox/globe-web-library/globe";
|
|
5
|
+
import { findOption } from "@sharadox/style-web-library/definition";
|
|
6
|
+
import { useStyle } from "@sharadox/style-web-library/use-style";
|
|
7
|
+
import { CITIES, HOME } from "@sharadox/sharadox-web-library/content/globe";
|
|
8
|
+
import { STYLES } from "@sharadox/sharadox-web-library/content/style";
|
|
13
9
|
import styles from "./index.module.css";
|
|
14
|
-
|
|
10
|
+
const COLOR = STYLES.groups[0];
|
|
11
|
+
const DESTINATIONS = CITIES.map(([latitude, longitude]) => ({ latitude, longitude }));
|
|
15
12
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
13
|
+
* The hero's globe: arcs from Almancil to the world, drawn in the colours of the style in use (default export, so
|
|
14
|
+
* the hero can load it lazily).
|
|
18
15
|
*/
|
|
19
16
|
export default function Globe() {
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
});
|
|
33
|
-
if (wrapper.current)
|
|
34
|
-
observer.observe(wrapper.current);
|
|
35
|
-
return () => observer.disconnect();
|
|
36
|
-
}, [wrapper]);
|
|
37
|
-
return (_jsxs("div", { ref: wrapper, className: styles.globe, children: [_jsx("div", { className: styles.halo, "aria-hidden": true }), webGl && data ? (_jsx(Canvas, { dpr: [1, 2], camera: { position: [0, 0, 3.7], fov: 38 }, gl: { antialias: true, alpha: true, powerPreference: "high-performance" }, frameloop: visible ? "always" : "never", "aria-label": "Interactive globe", children: _jsx(World, { data: data, drag: drag, colors: colors }) })) : (_jsx("div", { className: styles.fallback, "aria-hidden": true }))] }));
|
|
17
|
+
const { style } = useStyle(STYLES, "color");
|
|
18
|
+
const palette = useMemo(() => {
|
|
19
|
+
const option = findOption(COLOR, style) ?? findOption(COLOR, COLOR.defaultChoice);
|
|
20
|
+
const colors = option.palette;
|
|
21
|
+
return {
|
|
22
|
+
ink: colors.foreground,
|
|
23
|
+
body: colors["globe-body"],
|
|
24
|
+
rim: colors["globe-rim"],
|
|
25
|
+
dark: option.scheme === "dark",
|
|
26
|
+
};
|
|
27
|
+
}, [style]);
|
|
28
|
+
return _jsx(DotGlobe, { palette: palette, home: HOME, destinations: DESTINATIONS, className: styles.globe });
|
|
38
29
|
}
|
|
39
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/globe/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;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