@sharadox/sharadox-web-library 0.18.0 → 0.19.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 +1 -0
- package/distribution/component/footer/index.d.ts +3 -2
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +5 -3
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +119 -27
- package/distribution/component/globe/index.module.css +1 -1
- package/distribution/component/globe/index.module.scss +22 -1
- package/distribution/component/navigation/index.d.ts +1 -1
- package/distribution/component/navigation/index.d.ts.map +1 -1
- package/distribution/component/navigation/index.js +4 -19
- package/distribution/component/navigation/index.js.map +1 -1
- package/distribution/content/footer/index.d.ts +5 -0
- package/distribution/content/footer/index.d.ts.map +1 -1
- package/distribution/content/footer/index.js +2 -0
- package/distribution/content/footer/index.js.map +1 -1
- package/llms.txt +1 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -10,6 +10,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
10
10
|
| Metadata, structured data, share images | `@sharadox/metadata-web-library` |
|
|
11
11
|
| Styles (Black, White, System) | `@sharadox/style-web-library` |
|
|
12
12
|
| Cookie panel | `@sharadox/consent-web-library` |
|
|
13
|
+
| Phone menu behavior | `@sharadox/menu-web-library` |
|
|
13
14
|
| Complaints book, consumer dispute notice | `@sharadox/legal-web-library` |
|
|
14
15
|
| Reveal, scroll-lit words, counters, marquee | `@sharadox/animation-web-library` |
|
|
15
16
|
| Active section | `@sharadox/scroll-web-library` |
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { FooterProperties } from "@sharadox/sharadox-web-library/component/footer/type";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
3
|
+
* The footer, in the grid frame: the brand (slogan, email), the services, the studio's sections with Start a Project,
|
|
4
|
+
* and the language and style; the big gradient wordmark; a bar with the legal links (license, privacy, cookie
|
|
5
|
+
* preferences, Portugal's complaints book) and the way back up; then the fine print: copyright beside the consumer
|
|
5
6
|
* dispute notice.
|
|
6
7
|
*/
|
|
7
8
|
export declare function Footer({ locale, path }: FooterProperties): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BA8E7D"}
|
|
@@ -25,12 +25,14 @@ import { FOUNDED, SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
|
25
25
|
import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
|
|
26
26
|
import styles from "./index.module.css";
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* The footer, in the grid frame: the brand (slogan, email), the services, the studio's sections with Start a Project,
|
|
29
|
+
* and the language and style; the big gradient wordmark; a bar with the legal links (license, privacy, cookie
|
|
30
|
+
* preferences, Portugal's complaints book) and the way back up; then the fine print: copyright beside the consumer
|
|
30
31
|
* dispute notice.
|
|
31
32
|
*/
|
|
32
33
|
export function Footer({ locale, path = "" }) {
|
|
33
34
|
const home = path ? `/${locale}` : "";
|
|
34
|
-
|
|
35
|
+
const studio = [SECTION.touchpoints, SECTION.capabilities, SECTION.process, SECTION.contact];
|
|
36
|
+
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}` }), _jsx("p", { className: styles.slogan, children: translate(SLOGAN, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `${home}#${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) }), studio.map((section) => (_jsx("a", { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id))), _jsxs("a", { href: `${home}#${SECTION.contact.id}`, className: styles.start, children: [translate(ACTION.startProject, locale), " ", _jsx(Icon, { name: "chevron-right", strokeWidth: 1.8 })] })] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(LANGUAGE.label, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, href: `/${other}${path}`, 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" }), _jsxs("div", { className: styles.bar, children: [_jsxs("nav", { "aria-label": translate(FOOTER.legal, locale), className: styles.legal, children: [_jsx("a", { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx("a", { href: `/${locale}${PRIVACY_PAGE.path}`, "aria-current": path === PRIVACY_PAGE.path ? "page" : undefined, children: translate(PRIVACY_PAGE.title, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsx(ComplaintsBookLink, { locale: locale })] }), _jsxs("a", { href: "#top", className: styles.top, children: [translate(FOOTER.top, locale), _jsx("span", { className: styles.circle, "aria-hidden": true, children: _jsx(Icon, { name: "chevron-up", strokeWidth: 1.8 }) })] })] }), _jsxs("div", { className: styles.fine, children: [_jsxs("p", { className: "monospace", children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] }), _jsx("p", { className: styles.disputes, children: _jsx(DisputeNotice, { center: DISPUTE_RESOLUTION_CENTERS.algarve, locale: locale }) })] })] }));
|
|
35
37
|
}
|
|
36
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,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,eAAe,EAAE,MAAM,mEAAmE,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,OAAO,EA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AC,KAAK,EAAE,MAAM,CAAC,GACpC,EACJ,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,GAAI,EAClE,KAAC,kBAAkB,IAAC,MAAM,EAAE,MAAM,GAAI,IAClC,EACN,aAAG,IAAI,EAAC,MAAM,EAAC,SAAS,EAAE,MAAM,CAAC,GAAG,aACjC,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,EAC9B,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,iCAC5B,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,WAAW,EAAE,GAAG,GAAI,GACvC,IACL,IACA,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,aAAG,SAAS,EAAC,WAAW,wBACpB,KAAC,cAAc,IAAC,KAAK,EAAE,OAAO,GAAI,OAAE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,IAC1F,EACJ,YAAG,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC3B,KAAC,aAAa,IAAC,MAAM,EAAE,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,GAAI,GAC3E,IACA,IACC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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{width:fit-content;transition:color .2s}.columns a: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}.start{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:var(--foreground);font-weight:500}.start svg{transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.start:hover svg{transform:translateX(3px)}.bar{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding:18px var(--padding);border-top:1px solid var(--line);font-size:13px;color:var(--foreground-2)}.bar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.legal{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px}.legal a,.legal [data-preferences-link]{position:relative;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;justify-self:start;transition:color .2s}.legal>*+*::before{content:"";position:absolute;left:-13px;top:50%;width:3px;height:3px;margin-top:-1.5px;border-radius:50%;background:var(--foreground-3)}.legal a:hover,.legal [data-preferences-link]:hover,.legal a[aria-current]{color:var(--foreground)}@media(max-width: 640px){.legal{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:12px 18px;text-align:left}.legal>*+*::before{display:none}}.top{display:inline-flex;align-items:center;gap:10px;color:var(--foreground-2);transition:color .2s}.top:hover{color:var(--foreground)}.top:hover .circle{border-color:var(--foreground);transform:translateY(-2px)}.circle{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;transition:border-color .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.fine{display:grid;grid-template-columns:auto minmax(0, 52ch);justify-content:space-between;align-items:start;gap:14px 40px;padding:20px var(--padding) 30px;font-size:12px;line-height:1.6;color:var(--foreground-3)}@media(max-width: 760px){.fine{grid-template-columns:1fr}}.disputes{text-wrap:pretty}.disputes a{color:var(--foreground-2);transition:color .2s}.disputes a:hover{color:var(--foreground)}
|
|
@@ -37,22 +37,11 @@
|
|
|
37
37
|
text-transform: uppercase;
|
|
38
38
|
color: var(--foreground-3);
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
a,
|
|
42
|
-
[data-preferences-link] {
|
|
40
|
+
a {
|
|
43
41
|
width: fit-content;
|
|
44
42
|
transition: color 0.2s;
|
|
45
43
|
}
|
|
46
|
-
|
|
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 {
|
|
44
|
+
a:hover {
|
|
56
45
|
color: var(--foreground);
|
|
57
46
|
}
|
|
58
47
|
@include below(900px) {
|
|
@@ -117,21 +106,129 @@
|
|
|
117
106
|
user-select: none;
|
|
118
107
|
overflow: hidden;
|
|
119
108
|
}
|
|
109
|
+
.start {
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
gap: 6px;
|
|
113
|
+
margin-top: 8px;
|
|
114
|
+
color: var(--foreground);
|
|
115
|
+
font-weight: 500;
|
|
116
|
+
svg {
|
|
117
|
+
transition: transform 0.4s $ease;
|
|
118
|
+
}
|
|
119
|
+
&:hover svg {
|
|
120
|
+
transform: translateX(3px);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/* Legal links on the left, the way back up on the right, between dashed hairlines. */
|
|
124
|
+
.bar {
|
|
125
|
+
position: relative;
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-wrap: wrap;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: space-between;
|
|
130
|
+
gap: 14px 24px;
|
|
131
|
+
padding: 18px var(--padding);
|
|
132
|
+
border-top: 1px solid var(--line);
|
|
133
|
+
font-size: 13px;
|
|
134
|
+
color: var(--foreground-2);
|
|
135
|
+
&::after {
|
|
136
|
+
content: "";
|
|
137
|
+
position: absolute;
|
|
138
|
+
left: 0;
|
|
139
|
+
right: 0;
|
|
140
|
+
bottom: 0;
|
|
141
|
+
height: 1px;
|
|
142
|
+
@include dashed(horizontal);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
/* The legal links, a small dot between each; on phones, two to a row without dots. */
|
|
120
146
|
.legal {
|
|
121
|
-
display:
|
|
122
|
-
|
|
147
|
+
display: flex;
|
|
148
|
+
flex-wrap: wrap;
|
|
149
|
+
align-items: center;
|
|
150
|
+
gap: 8px 22px;
|
|
151
|
+
a,
|
|
152
|
+
[data-preferences-link] {
|
|
153
|
+
position: relative;
|
|
154
|
+
padding: 0;
|
|
155
|
+
border: 0;
|
|
156
|
+
background: none;
|
|
157
|
+
font: inherit;
|
|
158
|
+
color: inherit;
|
|
159
|
+
text-align: left;
|
|
160
|
+
justify-self: start;
|
|
161
|
+
transition: color 0.2s;
|
|
162
|
+
}
|
|
163
|
+
> * + *::before {
|
|
164
|
+
content: "";
|
|
165
|
+
position: absolute;
|
|
166
|
+
left: -13px;
|
|
167
|
+
top: 50%;
|
|
168
|
+
width: 3px;
|
|
169
|
+
height: 3px;
|
|
170
|
+
margin-top: -1.5px;
|
|
171
|
+
border-radius: 50%;
|
|
172
|
+
background: var(--foreground-3);
|
|
173
|
+
}
|
|
174
|
+
a:hover,
|
|
175
|
+
[data-preferences-link]:hover,
|
|
176
|
+
a[aria-current] {
|
|
177
|
+
color: var(--foreground);
|
|
178
|
+
}
|
|
179
|
+
@include below(640px) {
|
|
180
|
+
display: grid;
|
|
181
|
+
grid-template-columns: 1fr 1fr;
|
|
182
|
+
width: 100%;
|
|
183
|
+
gap: 12px 18px;
|
|
184
|
+
text-align: left;
|
|
185
|
+
> * + *::before {
|
|
186
|
+
display: none;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
.top {
|
|
191
|
+
display: inline-flex;
|
|
192
|
+
align-items: center;
|
|
123
193
|
gap: 10px;
|
|
124
|
-
|
|
194
|
+
color: var(--foreground-2);
|
|
195
|
+
transition: color 0.2s;
|
|
196
|
+
&:hover {
|
|
197
|
+
color: var(--foreground);
|
|
198
|
+
}
|
|
199
|
+
&:hover .circle {
|
|
200
|
+
border-color: var(--foreground);
|
|
201
|
+
transform: translateY(-2px);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
.circle {
|
|
205
|
+
display: grid;
|
|
206
|
+
place-items: center;
|
|
207
|
+
width: 30px;
|
|
208
|
+
height: 30px;
|
|
209
|
+
border: 1px solid var(--line);
|
|
210
|
+
border-radius: 50%;
|
|
211
|
+
transition:
|
|
212
|
+
border-color 0.3s,
|
|
213
|
+
transform 0.4s $ease;
|
|
214
|
+
}
|
|
215
|
+
/* The fine print: copyright on the left, the consumer dispute notice on the right. */
|
|
216
|
+
.fine {
|
|
217
|
+
display: grid;
|
|
218
|
+
grid-template-columns: auto minmax(0, 52ch);
|
|
219
|
+
justify-content: space-between;
|
|
220
|
+
align-items: start;
|
|
221
|
+
gap: 14px 40px;
|
|
222
|
+
padding: 20px var(--padding) 30px;
|
|
125
223
|
font-size: 12px;
|
|
224
|
+
line-height: 1.6;
|
|
126
225
|
color: var(--foreground-3);
|
|
127
|
-
|
|
226
|
+
@include below(760px) {
|
|
227
|
+
grid-template-columns: 1fr;
|
|
228
|
+
}
|
|
128
229
|
}
|
|
129
|
-
/* The consumer dispute notice: small print under the legal line, its links underlined only on hover. */
|
|
130
230
|
.disputes {
|
|
131
|
-
|
|
132
|
-
font-size: 11.5px;
|
|
133
|
-
line-height: 1.6;
|
|
134
|
-
text-wrap: balance;
|
|
231
|
+
text-wrap: pretty;
|
|
135
232
|
a {
|
|
136
233
|
color: var(--foreground-2);
|
|
137
234
|
transition: color 0.2s;
|
|
@@ -140,8 +237,3 @@
|
|
|
140
237
|
color: var(--foreground);
|
|
141
238
|
}
|
|
142
239
|
}
|
|
143
|
-
.top {
|
|
144
|
-
display: inline-flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
gap: 6px;
|
|
147
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.globe{--globe-glow: var(--foreground);--globe-surface: var(--background);position:absolute;inset:0}
|
|
1
|
+
.globe{--globe-glow: var(--foreground);--globe-surface: var(--background);position:absolute;inset:0;will-change:transform;animation:float 9s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.globe{animation:none}}@keyframes float{0%,100%{transform:translate3d(0, 0, 0) rotate(0deg)}25%{transform:translate3d(0.4%, -1.1%, 0) rotate(0.6deg)}50%{transform:translate3d(0, -2%, 0) rotate(0deg)}75%{transform:translate3d(-0.4%, -1.1%, 0) rotate(-0.6deg)}}
|
|
@@ -1,7 +1,28 @@
|
|
|
1
|
-
/* The shared globe's halo and fallback follow the Sharadox style.
|
|
1
|
+
/* The shared globe's halo and fallback follow the Sharadox style. It floats: a slow rise and fall with a slight
|
|
2
|
+
sway, eased at both ends so it never stops sharply. Held still with reduced motion. */
|
|
2
3
|
.globe {
|
|
3
4
|
--globe-glow: var(--foreground);
|
|
4
5
|
--globe-surface: var(--background);
|
|
5
6
|
position: absolute;
|
|
6
7
|
inset: 0;
|
|
8
|
+
will-change: transform;
|
|
9
|
+
animation: float 9s ease-in-out infinite;
|
|
10
|
+
@media (prefers-reduced-motion: reduce) {
|
|
11
|
+
animation: none;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@keyframes float {
|
|
15
|
+
0%,
|
|
16
|
+
100% {
|
|
17
|
+
transform: translate3d(0, 0, 0) rotate(0deg);
|
|
18
|
+
}
|
|
19
|
+
25% {
|
|
20
|
+
transform: translate3d(0.4%, -1.1%, 0) rotate(0.6deg);
|
|
21
|
+
}
|
|
22
|
+
50% {
|
|
23
|
+
transform: translate3d(0, -2%, 0) rotate(0deg);
|
|
24
|
+
}
|
|
25
|
+
75% {
|
|
26
|
+
transform: translate3d(-0.4%, -1.1%, 0) rotate(-0.6deg);
|
|
27
|
+
}
|
|
7
28
|
}
|
|
@@ -2,7 +2,7 @@ import type { NavigationProperties } from "@sharadox/sharadox-web-library/compon
|
|
|
2
2
|
/**
|
|
3
3
|
* Fixed top bar that frosts once the page scrolls, with the style and language switches. Below 1100px the links
|
|
4
4
|
* open in a menu under the bar, in the bar's frosted background; it scrolls when it doesn't fit (a phone held
|
|
5
|
-
* sideways). The menu sits beside the bar, not in it: the bar's blur would otherwise make the menu the bar's size.
|
|
5
|
+
* sideways), and any tap on a link or button in the bar or menu closes it (`useMenu`). The menu sits beside the bar, not in it: the bar's blur would otherwise make the menu the bar's size.
|
|
6
6
|
*/
|
|
7
7
|
export declare function Navigation({ locale, path }: NavigationProperties): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAOrG;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,oBAAoB,+BAwFrE"}
|
|
@@ -3,6 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
3
3
|
import { classNames } from "@sharadox/web-library/class-name";
|
|
4
4
|
import { AnimatePresence, motion } from "motion/react";
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
+
import { useMenu } from "@sharadox/menu-web-library/use-menu";
|
|
6
7
|
import { Button } from "@sharadox/sharadox-web-library/component/button";
|
|
7
8
|
import { LanguageSwitch } from "@sharadox/sharadox-web-library/component/language-switch";
|
|
8
9
|
import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
|
|
@@ -18,39 +19,23 @@ const WIDE = "(min-width: 1101px)";
|
|
|
18
19
|
/**
|
|
19
20
|
* Fixed top bar that frosts once the page scrolls, with the style and language switches. Below 1100px the links
|
|
20
21
|
* open in a menu under the bar, in the bar's frosted background; it scrolls when it doesn't fit (a phone held
|
|
21
|
-
* sideways). The menu sits beside the bar, not in it: the bar's blur would otherwise make the menu the bar's size.
|
|
22
|
+
* sideways), and any tap on a link or button in the bar or menu closes it (`useMenu`). The menu sits beside the bar, not in it: the bar's blur would otherwise make the menu the bar's size.
|
|
22
23
|
*/
|
|
23
24
|
export function Navigation({ locale, path = "" }) {
|
|
24
25
|
const home = path ? `/${locale}` : "";
|
|
25
26
|
const [scrolled, setScrolled] = useState(false);
|
|
26
|
-
const
|
|
27
|
+
const menu = useMenu({ wide: WIDE });
|
|
27
28
|
useEffect(() => {
|
|
28
29
|
const update = () => setScrolled(scrollY > 24);
|
|
29
30
|
update();
|
|
30
31
|
addEventListener("scroll", update, { passive: true });
|
|
31
32
|
return () => removeEventListener("scroll", update);
|
|
32
33
|
}, []);
|
|
33
|
-
useEffect(() => {
|
|
34
|
-
if (!open)
|
|
35
|
-
return;
|
|
36
|
-
document.documentElement.style.overflow = "hidden";
|
|
37
|
-
const escape = (event) => event.key === "Escape" && setOpen(false);
|
|
38
|
-
// Turning a tablet until the links fit in the bar closes the menu.
|
|
39
|
-
const wide = matchMedia(WIDE);
|
|
40
|
-
const widen = () => wide.matches && setOpen(false);
|
|
41
|
-
addEventListener("keydown", escape);
|
|
42
|
-
wide.addEventListener("change", widen);
|
|
43
|
-
return () => {
|
|
44
|
-
document.documentElement.style.overflow = "";
|
|
45
|
-
removeEventListener("keydown", escape);
|
|
46
|
-
wide.removeEventListener("change", widen);
|
|
47
|
-
};
|
|
48
|
-
}, [open]);
|
|
49
34
|
const links = NAVIGATION.links.map((section) => ({
|
|
50
35
|
href: `${home}#${section.id}`,
|
|
51
36
|
name: translate(section, locale),
|
|
52
37
|
}));
|
|
53
38
|
const contact = `${home}#${SECTION.contact.id}`;
|
|
54
|
-
return (_jsxs(_Fragment, { children: [_jsx("header", { className: classNames(styles.navigation, (scrolled || open) && styles.scrolled), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": translate(NAVIGATION.main, locale), children: links.map((link) => (_jsx("a", { href: link.href, children: link.name }, link.href))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale, path: path }), _jsx(Button, { href: contact, size: "small", className: styles.callToAction, children: translate(ACTION.startProject, locale) }), _jsxs("button", { type: "button", className: styles.toggle,
|
|
39
|
+
return (_jsxs(_Fragment, { children: [_jsx("header", { className: classNames(styles.navigation, (scrolled || menu.open) && styles.scrolled), ...menu.closer, children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": translate(NAVIGATION.main, locale), children: links.map((link) => (_jsx("a", { href: link.href, children: link.name }, link.href))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale, path: path }), _jsx(Button, { href: contact, size: "small", className: styles.callToAction, children: translate(ACTION.startProject, locale) }), _jsxs("button", { type: "button", className: styles.toggle, ...menu.toggle, "aria-label": translate(menu.open ? NAVIGATION.close : NAVIGATION.menu, locale), children: [_jsx("span", {}), _jsx("span", {})] })] })] }) }), _jsx(AnimatePresence, { children: menu.open && (_jsxs(motion.nav, { id: "menu", "data-lenis-prevent": true, className: styles.menu, "aria-label": translate(NAVIGATION.main, locale), ...menu.closer, initial: { opacity: 0 }, animate: { opacity: 1 }, exit: { opacity: 0 }, transition: { duration: 0.35 }, children: [links.map((link, index) => (_jsxs(motion.a, { href: link.href, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.06 + index * 0.05, ease: EASE }, children: [_jsx("span", { className: "monospace", children: String(index + 1).padStart(2, "0") }), link.name] }, link.href))), _jsxs(motion.div, { className: styles.menuAction, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.6, delay: 0.06 + links.length * 0.05, ease: EASE }, children: [_jsx(Button, { href: contact, arrow: true, children: translate(ACTION.startProject, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.menuStyle })] })] })) })] }));
|
|
55
40
|
}
|
|
56
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,CAAU,CAAC;AAEzC,8GAA8G;AAC9G,MAAM,IAAI,GAAG,qBAAqB,CAAC;AAEnC;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAAwB;IACpE,MAAM,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACtC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EA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AAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,GAAG,KAAK,GAAG,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,aAErE,eAAM,SAAS,EAAC,WAAW,YAAE,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EACtE,IAAI,CAAC,IAAI,KAPL,IAAI,CAAC,IAAI,CAQL,CACZ,CAAC,EACF,MAAC,MAAM,CAAC,GAAG,IACT,SAAS,EAAE,MAAM,CAAC,UAAU,EAC5B,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAC9B,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAC7B,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,GAAG,KAAK,CAAC,MAAM,GAAG,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,aAE5E,KAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,KAAK,kBACzB,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAChC,EAET,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,GAAI,IACjD,IACF,CACd,GACe,IACjB,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -12,5 +12,10 @@ export declare const FOOTER: {
|
|
|
12
12
|
readonly en: "Studio";
|
|
13
13
|
readonly pt: "Estúdio";
|
|
14
14
|
};
|
|
15
|
+
/** The legal links' label, for screen readers. */
|
|
16
|
+
readonly legal: {
|
|
17
|
+
readonly en: "Legal";
|
|
18
|
+
readonly pt: "Informação legal";
|
|
19
|
+
};
|
|
15
20
|
};
|
|
16
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,eAAO,MAAM,MAAM;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,eAAO,MAAM,MAAM;;;;;;;;;;;;;IAIjB,kDAAkD;;;;;CAE1C,CAAC"}
|
|
@@ -3,5 +3,7 @@ export const FOOTER = {
|
|
|
3
3
|
rights: { en: "All rights reserved.", pt: "Todos os direitos reservados." },
|
|
4
4
|
top: { en: "Back to top", pt: "Voltar ao topo" },
|
|
5
5
|
studio: { en: "Studio", pt: "Estúdio" },
|
|
6
|
+
/** The legal links' label, for screen readers. */
|
|
7
|
+
legal: { en: "Legal", pt: "Informação legal" },
|
|
6
8
|
};
|
|
7
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,EAAE,EAAE,EAAE,sBAAsB,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC3E,GAAG,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,gBAAgB,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,EAAE,EAAE,EAAE,sBAAsB,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC3E,GAAG,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,gBAAgB,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE;IACvC,kDAAkD;IAClD,KAAK,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE;CACtC,CAAC"}
|
package/llms.txt
CHANGED
|
@@ -20,3 +20,4 @@
|
|
|
20
20
|
- 0.16.0: chevron icons from @sharadox/icon-web-library replace every text arrow (button, footer Back to top, 404)
|
|
21
21
|
- 0.17.0: component/consent Consent back (consent-web-library 0.3, required only: Got It and Details); footer: Cookie Preferences, Livro de Reclamações link and the CIMAAL consumer dispute notice (legal-web-library); privacy policy mentions the consent record
|
|
22
22
|
- 0.18.0: navigation links include One System (touchpoints); below 1100px a menu button opens the links and Start a Project under the bar, in the bar's frosted background, scrolling when it doesn't fit (Escape, a link or a wider screen closes it); footer Studio column adds One System and Start a Project
|
|
23
|
+
- 0.19.0: the globe floats (slow rise, fall and sway; still with reduced motion), in the hero and the 404; footer reorganized (brand, services, studio with Start a Project, language and style; wordmark; a bar with license, privacy, cookie preferences, complaints book and Back to top; copyright beside the dispute notice); the phone menu uses @sharadox/menu-web-library (any tap on a link or button in the bar or menu closes it, the logo included)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENCA.md",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"@sharadox/icon-web-library": "^0.1.0",
|
|
62
62
|
"@sharadox/internationalization-web-library": "^0.2.3",
|
|
63
63
|
"@sharadox/legal-web-library": "^0.1.0",
|
|
64
|
+
"@sharadox/menu-web-library": "^0.1.0",
|
|
64
65
|
"@sharadox/metadata-web-library": "^0.2.0",
|
|
65
66
|
"@sharadox/pointer-web-library": "^0.1.0",
|
|
66
67
|
"@sharadox/privacy-web-library": "^0.1.1",
|