@sharadox/sharadox-web-library 0.33.0 → 0.35.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.
Files changed (44) hide show
  1. package/README.md +4 -4
  2. package/distribution/component/about/index.d.ts +4 -2
  3. package/distribution/component/about/index.d.ts.map +1 -1
  4. package/distribution/component/about/index.js +5 -3
  5. package/distribution/component/about/index.js.map +1 -1
  6. package/distribution/component/about/index.module.css +1 -1
  7. package/distribution/component/about/index.module.scss +77 -50
  8. package/distribution/component/capability/index.d.ts +4 -1
  9. package/distribution/component/capability/index.d.ts.map +1 -1
  10. package/distribution/component/capability/index.js +5 -2
  11. package/distribution/component/capability/index.js.map +1 -1
  12. package/distribution/component/capability/index.module.css +1 -1
  13. package/distribution/component/capability/index.module.scss +14 -0
  14. package/distribution/component/footer/index.d.ts +3 -3
  15. package/distribution/component/footer/index.d.ts.map +1 -1
  16. package/distribution/component/footer/index.js +4 -4
  17. package/distribution/component/footer/index.js.map +1 -1
  18. package/distribution/component/footer/index.module.css +1 -1
  19. package/distribution/component/footer/index.module.scss +2 -10
  20. package/distribution/component/hero/index.module.css +1 -1
  21. package/distribution/component/hero/index.module.scss +13 -4
  22. package/distribution/component/section-indicator/index.d.ts +4 -3
  23. package/distribution/component/section-indicator/index.d.ts.map +1 -1
  24. package/distribution/component/section-indicator/index.js +5 -4
  25. package/distribution/component/section-indicator/index.js.map +1 -1
  26. package/distribution/component/section-indicator/index.module.css +1 -1
  27. package/distribution/component/section-indicator/index.module.scss +85 -29
  28. package/distribution/component/social-image/index.d.ts +11 -0
  29. package/distribution/component/social-image/index.d.ts.map +1 -0
  30. package/distribution/component/social-image/index.js +47 -0
  31. package/distribution/component/social-image/index.js.map +1 -0
  32. package/distribution/component/social-image/type.d.ts +8 -0
  33. package/distribution/component/social-image/type.d.ts.map +1 -0
  34. package/distribution/component/social-image/type.js +2 -0
  35. package/distribution/component/social-image/type.js.map +1 -0
  36. package/distribution/content/faq/index.d.ts +2 -2
  37. package/distribution/content/faq/index.js +2 -2
  38. package/distribution/content/faq/index.js.map +1 -1
  39. package/distribution/content/mark/index.d.ts +9 -0
  40. package/distribution/content/mark/index.d.ts.map +1 -0
  41. package/distribution/content/mark/index.js +12 -0
  42. package/distribution/content/mark/index.js.map +1 -0
  43. package/llms.txt +2 -0
  44. package/package.json +2 -2
package/README.md CHANGED
@@ -33,11 +33,11 @@ Everything generic comes from the open-source Sharadox libraries, configured her
33
33
  - `contact`, `services`, `site`, `globe`, and so on.
34
34
  - **One source for shared copy:** text used in more than one place lives in its own content module and is imported, never retyped.
35
35
  - **`component/`:** the page's branded parts:
36
- - grid frame, `Cross` marks, navigation (below 1100px its links open in a menu under the bar, in the bar's frosted background, scrolling when it doesn't fit, as on a phone held sideways) and footer (the brand with Start a Project, the services, the studio, the language and style; then a row of everything legal; then the copyright and Back to top)
37
- - hero and its guides (on wide screens a little shorter than the screen, so the service index shows at its bottom), service index, `About` (a sentence lighting up as it scrolls, then the brand online beside the platform that runs the business, with its live feed), and Services: four groups of cards (Web, Desktop & Mobile, Creative, Marketing), each card with its own animated 3D object (`service-object`, in CSS 3D, turning towards the pointer), a description and a button that starts that project; rows of three, with a row of two (or two rows of two) when the count needs it; `ServiceUnlisted`, the invitation for ideas none of them name, is a section of its own placed after the capabilities
38
- - capabilities sheet (with what's always included under it), `Faq` (questions that open to their answers, native `details`, with their FAQPage structured data), process (each dot lights as the line reaches it, measured by `process/measure-stops`), contact (the invitation and the direct email over a wide form: the visitor's details, the message and Send on the left, the choices on the right), section indicator (outside the frame's right line; ticks only where the margin is narrow), style switch
36
+ - grid frame, `Cross` marks, navigation (below 1100px its links open in a menu under the bar, in the bar's frosted background, scrolling when it doesn't fit, as on a phone held sideways) and footer (the brand with Start a Project, the services, the studio, the language and style; with Back to top under the style switch; then a centered row of everything legal: the copyright, the dispute notice, the links)
37
+ - hero and its guides (on wide screens a little shorter than the screen, so the service index shows at its bottom; the copy in the middle of the space under the bar, the globe centered on it), service index, `About` (a sentence lighting up as it scrolls, then the brand online beside the platform that runs the business, with its live feed), and Services: four groups of cards (Web, Desktop & Mobile, Creative, Marketing), each card with its own animated 3D object (`service-object`, in CSS 3D, turning towards the pointer), a description and a button that starts that project; rows of three, with a row of two (or two rows of two) when the count needs it; `ServiceUnlisted`, the invitation for ideas none of them name, is a section of its own placed after the capabilities
38
+ - capabilities sheet (its column headings stay in view under the bar, and shorter columns run on in empty ruled cells; with what's always included under it), `Faq` (questions that open to their answers, native `details`, with their FAQPage structured data), process (each dot lights as the line reaches it, measured by `process/measure-stops`), contact (the invitation and the direct email over a wide form: the visitor's details, the message and Send on the left, the choices on the right), section indicator (in the margin right of the frame: the rail along the line, ticks and numbers out from it, names to the right, ending at the window's edge when there isn't room; nothing shifts when the section changes; ticks only where the margin is narrow), style switch
39
39
  - `Consent`, the Sharadox cookie panel (reopened by the footer's Cookie Preferences), and the footer's legal parts: Portugal's complaints book and the Algarve's consumer dispute notice (CIMAAL)
40
- - the Sharadox wrapper around the shared globe, structured data, share image, `llmsText()` for `/llms.txt`
40
+ - the Sharadox wrapper around the shared globe, structured data, share image, `renderSocialImage()` (images to post on social media: the mark on black, landscape and portrait, alone or with the hero's three lines; the application serves them at `/<locale>/social/<name>`), `llmsText()` for `/llms.txt`
41
41
  - `PrivacyPage`: the privacy policy's body (`content/privacy`, written by `@sharadox/privacy-web-library`), at `/<locale>/privacy`, linked from the footer
42
42
  - `License`: the license page's body, rendered from the license's Markdown
43
43
  - `NotFound`: the 404 screen, a giant 404 whose zero is the live globe, with the failed request and the way back (put `ServiceIndex base="/<locale>"` under it)
@@ -1,8 +1,10 @@
1
1
  import type { AboutProperties } from "@sharadox/sharadox-web-library/component/about/type";
2
2
  /**
3
3
  * Between the hero and the services: a sentence that lights up as it scrolls (the brand everywhere online, and the
4
- * system that runs the business behind it), then the two halves of it. The brand, online, on the left; the platform
5
- * that runs the business, given the most room, on the right, with its live feed: the platform and the team at work.
4
+ * system that runs the business behind it), then the two halves of it, one row each across the frame. The brand,
5
+ * online: what it is, and the five things it's made of in a numbered row. Then, given the most room, the platform
6
+ * that runs the business: what it is beside its live feed (the platform and the team at work), and its three
7
+ * promises in a row under both.
6
8
  */
7
9
  export declare function About({ locale }: AboutProperties): import("react").JSX.Element;
8
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,EAAE,eAAe,+BAoChD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F;;;;;;GAMG;AACH,wBAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,EAAE,eAAe,+BAsChD"}
@@ -10,11 +10,13 @@ import { SECTION } from "@sharadox/sharadox-web-library/content/section";
10
10
  import styles from "./index.module.css";
11
11
  /**
12
12
  * Between the hero and the services: a sentence that lights up as it scrolls (the brand everywhere online, and the
13
- * system that runs the business behind it), then the two halves of it. The brand, online, on the left; the platform
14
- * that runs the business, given the most room, on the right, with its live feed: the platform and the team at work.
13
+ * system that runs the business behind it), then the two halves of it, one row each across the frame. The brand,
14
+ * online: what it is, and the five things it's made of in a numbered row. Then, given the most room, the platform
15
+ * that runs the business: what it is beside its live feed (the platform and the team at work), and its three
16
+ * promises in a row under both.
15
17
  */
16
18
  export function About({ locale }) {
17
19
  const { brand, business } = ABOUT;
18
- return (_jsxs(Section, { id: SECTION.about.id, className: styles.about, children: [_jsx(Eyebrow, { children: translate(SECTION.about, locale) }), _jsx(ScrollWords, { text: translate(ABOUT.statement, locale), className: styles.statement }), _jsxs("div", { className: styles.panels, children: [_jsxs(Reveal, { className: styles.brand, children: [_jsx(Eyebrow, { children: translate(brand.eyebrow, locale) }), _jsx("h3", { children: translate(brand.title, locale) }), _jsx("p", { children: translate(brand.text, locale) }), _jsx("ul", { className: styles.parts, children: brand.parts[locale].map((part) => (_jsx("li", { children: part }, part))) })] }), _jsxs(Reveal, { delay: 0.1, className: styles.business, children: [_jsxs("div", { className: styles.copy, children: [_jsx(Eyebrow, { children: translate(business.eyebrow, locale) }), _jsx("h3", { children: translate(business.title, locale) }), _jsx("p", { children: translate(business.text, locale) }), _jsx("ul", { className: styles.points, children: business.points.map((point) => (_jsxs("li", { children: [_jsx("b", { children: translate(point.title, locale) }), _jsx("span", { children: translate(point.text, locale) })] }, point.title.en))) })] }), _jsx(Feed, { locale: locale })] })] })] }));
20
+ return (_jsxs(Section, { id: SECTION.about.id, className: styles.about, children: [_jsx(Eyebrow, { children: translate(SECTION.about, locale) }), _jsx(ScrollWords, { text: translate(ABOUT.statement, locale), className: styles.statement }), _jsxs("div", { className: styles.panels, children: [_jsxs(Reveal, { className: styles.brand, children: [_jsxs("div", { className: styles.copy, children: [_jsx(Eyebrow, { children: translate(brand.eyebrow, locale) }), _jsx("h3", { children: translate(brand.title, locale) }), _jsx("p", { children: translate(brand.text, locale) })] }), _jsx("ol", { className: styles.parts, children: brand.parts[locale].map((part) => (_jsx("li", { children: part }, part))) })] }), _jsxs(Reveal, { delay: 0.1, className: styles.business, children: [_jsxs("div", { className: styles.copy, children: [_jsx(Eyebrow, { children: translate(business.eyebrow, locale) }), _jsx("h3", { children: translate(business.title, locale) }), _jsx("p", { children: translate(business.text, locale) })] }), _jsx(Feed, { locale: locale }), _jsx("ul", { className: styles.points, children: business.points.map((point) => (_jsxs("li", { children: [_jsx("b", { children: translate(point.title, locale) }), _jsx("span", { children: translate(point.text, locale) })] }, point.title.en))) })] })] })] }));
19
21
  }
20
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/about/index.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MAAM,IAAC,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC5C,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,KAAC,OAAO,cAAE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,GAAW,EACxD,uBAAK,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC5C,sBAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,IACrC,EACN,KAAC,IAAI,IAAC,MAAM,EAAE,MAAM,GAAI,EACxB,aAAI,SAAS,EAAE,MAAM,CAAC,MAAM,YACzB,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9B,yBACE,sBAAI,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,GAAK,EACvC,yBAAO,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,GAAQ,KAFrC,KAAK,CAAC,KAAK,CAAC,EAAE,CAGlB,CACN,CAAC,GACC,IACE,IACL,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .about{padding-block:clamp(100px,16vh,180px) clamp(72px,10vw,128px)}.statement{margin-top:24px;font-size:clamp(1.9rem,4.2vw,3.8rem);font-weight:500;letter-spacing:-0.045em;line-height:1.08;max-width:24ch}.panels{display:grid;grid-template-columns:1fr 2fr;align-items:stretch;gap:1px;margin-top:clamp(56px,8vw,96px);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--line)}.panels>*{background:var(--background);padding:clamp(24px,3vw,40px)}.panels h3{font-size:clamp(1.6rem,2.6vw,2.3rem);letter-spacing:-0.04em;text-wrap:balance}.panels p{color:var(--foreground-2);text-wrap:pretty}@media(max-width: 1000px){.panels{grid-template-columns:1fr}}.brand{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:16px}.parts{display:grid;justify-content:stretch;align-content:end;flex:1;margin:8px 0 0;padding:0;list-style:none;counter-reset:part}.parts li{display:flex;align-items:baseline;justify-content:flex-start;gap:14px;padding:12px 0;border-bottom:1px dashed var(--line-2);font-weight:500;letter-spacing:-0.02em;counter-increment:part}.parts li::before{content:counter(part, decimal-leading-zero);font-family:var(--monospace);font-size:11.5px;font-weight:400;color:var(--foreground-3)}.parts li:last-child{border-bottom:0}.business{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,3vw,40px);background:radial-gradient(80% 90% at 85% 50%, color-mix(in srgb, var(--foreground) 7%, transparent), transparent 70%),var(--background) !important}@media(max-width: 1180px){.business{grid-template-columns:1fr}}.copy{display:grid;justify-content:stretch;justify-items:start;gap:16px}.points{display:grid;justify-content:stretch;gap:12px;margin:8px 0 0;padding:18px 0 0;border-top:1px dashed var(--line-2);list-style:none}.points li{display:grid;grid-template-columns:7.5em 1fr;align-items:baseline;gap:12px}.points b{font-weight:600;letter-spacing:-0.02em}.points span{font-size:14px;line-height:1.5;color:var(--foreground-2)}@media(max-width: 420px){.points li{grid-template-columns:1fr;gap:2px}}
1
+ .about{padding-block:clamp(100px,16vh,180px) clamp(72px,10vw,128px)}.statement{margin-top:24px;font-size:clamp(1.9rem,4.2vw,3.8rem);font-weight:500;letter-spacing:-0.045em;line-height:1.08;max-width:24ch}.panels{display:grid;justify-content:stretch;align-items:stretch;gap:1px;margin-top:clamp(56px,8vw,96px);border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--line)}.panels>*{background:var(--background);padding:clamp(24px,3.4vw,48px)}.panels h3{font-size:clamp(1.6rem,2.8vw,2.5rem);letter-spacing:-0.04em;text-wrap:balance}.panels p{color:var(--foreground-2);text-wrap:pretty}.copy{display:grid;justify-content:stretch;justify-items:start;align-content:start;gap:16px}.brand{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr);align-items:end;gap:clamp(24px,4vw,64px)}@media(max-width: 1000px){.brand{grid-template-columns:1fr}}.parts{display:grid;grid-template-columns:repeat(5, 1fr);align-items:stretch;margin:0;padding:0;list-style:none;counter-reset:part}.parts li{display:grid;align-content:start;justify-items:start;gap:10px;padding:16px 14px 4px;border-left:1px dashed var(--line-2);font-weight:500;letter-spacing:-0.02em;counter-increment:part}.parts li::before{content:counter(part, decimal-leading-zero);font-family:var(--monospace);font-size:11.5px;font-weight:400;color:var(--foreground-3)}@media(max-width: 640px){.parts{grid-template-columns:1fr}.parts li{display:flex;align-items:baseline;justify-content:flex-start;gap:14px;padding:12px 0;border-left:0;border-bottom:1px dashed var(--line-2)}.parts li:last-child{border-bottom:0}}.business{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);grid-template-areas:"copy feed" "points points";align-items:center;gap:clamp(28px,4vw,56px) clamp(24px,4vw,64px);background:radial-gradient(70% 80% at 80% 40%, color-mix(in srgb, var(--foreground) 7%, transparent), transparent 70%),var(--background) !important}.business>.copy{grid-area:copy}.business>:nth-child(2){grid-area:feed}@media(max-width: 1000px){.business{grid-template-columns:1fr;grid-template-areas:"copy" "feed" "points"}}.points{grid-area:points;display:grid;grid-template-columns:repeat(3, 1fr);align-items:start;gap:16px clamp(16px,3vw,40px);margin:0;padding:24px 0 0;border-top:1px dashed var(--line-2);list-style:none}.points li{display:grid;justify-content:stretch;align-content:start;gap:6px}.points b{font-weight:600;letter-spacing:-0.02em}.points span{font-size:14.5px;line-height:1.55;color:var(--foreground-2)}@media(max-width: 700px){.points{grid-template-columns:1fr}}
@@ -12,10 +12,10 @@
12
12
  line-height: 1.08;
13
13
  max-width: 24ch;
14
14
  }
15
- /* The two halves, as grid cells with hairlines between them: the brand narrow, the business wide. */
15
+ /* The two halves, one row each, as cells with hairlines between them. */
16
16
  .panels {
17
17
  display: grid;
18
- grid-template-columns: 1fr 2fr;
18
+ justify-content: stretch;
19
19
  align-items: stretch;
20
20
  gap: 1px;
21
21
  margin-top: clamp(56px, 8vw, 96px);
@@ -25,10 +25,10 @@
25
25
  background: var(--line);
26
26
  > * {
27
27
  background: var(--background);
28
- padding: clamp(24px, 3vw, 40px);
28
+ padding: clamp(24px, 3.4vw, 48px);
29
29
  }
30
30
  h3 {
31
- font-size: clamp(1.6rem, 2.6vw, 2.3rem);
31
+ font-size: clamp(1.6rem, 2.8vw, 2.5rem);
32
32
  letter-spacing: -0.04em;
33
33
  text-wrap: balance;
34
34
  }
@@ -36,34 +36,42 @@
36
36
  color: var(--foreground-2);
37
37
  text-wrap: pretty;
38
38
  }
39
+ }
40
+ /* What a half is: its label, its title and a few lines. */
41
+ .copy {
42
+ display: grid;
43
+ justify-content: stretch;
44
+ justify-items: start;
45
+ align-content: start;
46
+ gap: 16px;
47
+ }
48
+ /* The brand: what it is on the left, the five things it's made of in a numbered row on the right, level with its
49
+ bottom. */
50
+ .brand {
51
+ display: grid;
52
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
53
+ align-items: end;
54
+ gap: clamp(24px, 4vw, 64px);
39
55
  @include below(1000px) {
40
56
  grid-template-columns: 1fr;
41
57
  }
42
58
  }
43
- .brand {
44
- display: flex;
45
- flex-direction: column;
46
- align-items: stretch;
47
- justify-content: flex-start;
48
- gap: 16px;
49
- }
50
- /* What the brand is made of, as a ruled list that fills the panel's height, numbered like the services. */
59
+ /* Their numbers in a line at the top, whatever wraps under them. */
51
60
  .parts {
52
61
  display: grid;
53
- justify-content: stretch;
54
- align-content: end;
55
- flex: 1;
56
- margin: 8px 0 0;
62
+ grid-template-columns: repeat(5, 1fr);
63
+ align-items: stretch;
64
+ margin: 0;
57
65
  padding: 0;
58
66
  list-style: none;
59
67
  counter-reset: part;
60
68
  li {
61
- display: flex;
62
- align-items: baseline;
63
- justify-content: flex-start;
64
- gap: 14px;
65
- padding: 12px 0;
66
- border-bottom: 1px dashed var(--line-2);
69
+ display: grid;
70
+ align-content: start;
71
+ justify-items: start;
72
+ gap: 10px;
73
+ padding: 16px 14px 4px;
74
+ border-left: 1px dashed var(--line-2);
67
75
  font-weight: 500;
68
76
  letter-spacing: -0.02em;
69
77
  counter-increment: part;
@@ -74,56 +82,75 @@
74
82
  font-weight: 400;
75
83
  color: var(--foreground-3);
76
84
  }
77
- &:last-child {
78
- border-bottom: 0;
85
+ }
86
+ @include below(640px) {
87
+ grid-template-columns: 1fr;
88
+ li {
89
+ display: flex;
90
+ align-items: baseline;
91
+ justify-content: flex-start;
92
+ gap: 14px;
93
+ padding: 12px 0;
94
+ border-left: 0;
95
+ border-bottom: 1px dashed var(--line-2);
96
+ &:last-child {
97
+ border-bottom: 0;
98
+ }
79
99
  }
80
100
  }
81
101
  }
82
- /* The business: its copy and points beside the live feed; lit from behind, as the half that matters most. */
102
+ /* The business, lit from behind as the half that matters most: what it is beside its live feed, its three promises
103
+ in a row under both. */
83
104
  .business {
84
105
  display: grid;
85
- grid-template-columns: 1fr 1fr;
106
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
107
+ grid-template-areas:
108
+ "copy feed"
109
+ "points points";
86
110
  align-items: center;
87
- gap: clamp(24px, 3vw, 40px);
88
- background: radial-gradient(80% 90% at 85% 50%, tint(7%), transparent 70%), var(--background) !important;
89
- @include below(1180px) {
111
+ gap: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px);
112
+ background: radial-gradient(70% 80% at 80% 40%, tint(7%), transparent 70%), var(--background) !important;
113
+ > .copy {
114
+ grid-area: copy;
115
+ }
116
+ > :nth-child(2) {
117
+ grid-area: feed;
118
+ }
119
+ @include below(1000px) {
90
120
  grid-template-columns: 1fr;
121
+ grid-template-areas:
122
+ "copy"
123
+ "feed"
124
+ "points";
91
125
  }
92
126
  }
93
- .copy {
94
- display: grid;
95
- justify-content: stretch;
96
- justify-items: start;
97
- gap: 16px;
98
- }
99
- /* Automated, simple, anywhere: three short promises, one per line, each a word and what it means. */
127
+ /* Automated, your team, anywhere: three promises side by side, each a word and a line. */
100
128
  .points {
129
+ grid-area: points;
101
130
  display: grid;
102
- justify-content: stretch;
103
- gap: 12px;
104
- margin: 8px 0 0;
105
- padding: 18px 0 0;
131
+ grid-template-columns: repeat(3, 1fr);
132
+ align-items: start;
133
+ gap: 16px clamp(16px, 3vw, 40px);
134
+ margin: 0;
135
+ padding: 24px 0 0;
106
136
  border-top: 1px dashed var(--line-2);
107
137
  list-style: none;
108
138
  li {
109
139
  display: grid;
110
- grid-template-columns: 7.5em 1fr;
111
- align-items: baseline;
112
- gap: 12px;
140
+ justify-content: stretch;
141
+ align-content: start;
142
+ gap: 6px;
113
143
  }
114
144
  b {
115
145
  font-weight: 600;
116
146
  letter-spacing: -0.02em;
117
147
  }
118
148
  span {
119
- font-size: 14px;
120
- line-height: 1.5;
149
+ font-size: 14.5px;
150
+ line-height: 1.55;
121
151
  color: var(--foreground-2);
122
152
  }
123
- @include below(420px) {
124
- li {
125
- grid-template-columns: 1fr;
126
- gap: 2px;
127
- }
153
+ @include below(700px) {
154
+ grid-template-columns: 1fr;
128
155
  }
129
156
  }
@@ -1,4 +1,7 @@
1
1
  import type { CapabilityProperties } from "@sharadox/sharadox-web-library/component/capability/type";
2
- /** "Capabilities": everything each service group delivers, as columns of a ruled sheet, and what always comes with it. */
2
+ /**
3
+ * "Capabilities": everything each service group delivers, as columns of a ruled sheet whose headings stay in view
4
+ * while it scrolls by (shorter columns run on in empty ruled cells), and what always comes with every project.
5
+ */
3
6
  export declare function Capability({ locale }: CapabilityProperties): import("react").JSX.Element;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAErG,0HAA0H;AAC1H,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BAuC1D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAErG;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA2C1D"}
@@ -9,9 +9,12 @@ import { CAPABILITY } from "@sharadox/sharadox-web-library/content/capability";
9
9
  import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
10
10
  import { SECTION } from "@sharadox/sharadox-web-library/content/section";
11
11
  import styles from "./index.module.css";
12
- /** "Capabilities": everything each service group delivers, as columns of a ruled sheet, and what always comes with it. */
12
+ /**
13
+ * "Capabilities": everything each service group delivers, as columns of a ruled sheet whose headings stay in view
14
+ * while it scrolls by (shorter columns run on in empty ruled cells), and what always comes with every project.
15
+ */
13
16
  export function Capability({ locale }) {
14
17
  const rows = 1 + Math.max(...SERVICES.items.map((service) => service.capabilities[locale].length));
15
- return (_jsxs(Section, { id: SECTION.capabilities.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SECTION.capabilities, locale), title: translate(CAPABILITY.title, locale) }) }), _jsx("div", { className: styles.sheet, style: { "--rows": rows }, children: SERVICES.items.map((service, column) => (_jsxs("div", { className: styles.column, children: [_jsxs(SectionLink, { href: `#${service.key}`, className: styles.title, children: [_jsx("span", { className: "monospace", children: service.number }), translate(service.title, locale)] }), _jsx("ul", { role: "list", children: service.capabilities[locale].map((capability, row) => (_jsx("li", { children: _jsx(Reveal, { delay: column * 0.05 + row * 0.04, y: 8, blur: 0, margin: "-5% 0px", children: capability }) }, capability))) })] }, service.key))) }), _jsxs("div", { className: styles.included, children: [_jsx("h3", { className: "monospace", children: translate(CAPABILITY.included.title, locale) }), _jsx("ul", { role: "list", children: CAPABILITY.included.items.map((item) => (_jsxs("li", { children: [_jsx(Icon, { name: "check", strokeWidth: 1.8, className: styles.tick }), translate(item, locale)] }, item.en))) })] })] }));
18
+ return (_jsxs(Section, { id: SECTION.capabilities.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SECTION.capabilities, locale), title: translate(CAPABILITY.title, locale) }) }), _jsx("div", { className: styles.sheet, style: { "--rows": rows }, children: SERVICES.items.map((service, column) => (_jsxs("div", { className: styles.column, children: [_jsxs(SectionLink, { href: `#${service.key}`, className: styles.title, children: [_jsx("span", { className: "monospace", children: service.number }), translate(service.title, locale)] }), _jsxs("ul", { role: "list", children: [service.capabilities[locale].map((capability, row) => (_jsx("li", { children: _jsx(Reveal, { delay: column * 0.05 + row * 0.04, y: 8, blur: 0, margin: "-5% 0px", children: capability }) }, capability))), Array.from({ length: rows - 1 - service.capabilities[locale].length }, (_, row) => (_jsx("li", { className: styles.empty, "aria-hidden": true }, `empty-${row}`)))] })] }, service.key))) }), _jsxs("div", { className: styles.included, children: [_jsx("h3", { className: "monospace", children: translate(CAPABILITY.included.title, locale) }), _jsx("ul", { role: "list", children: CAPABILITY.included.items.map((item) => (_jsxs("li", { children: [_jsx(Icon, { name: "check", strokeWidth: 1.8, className: styles.tick }), translate(item, locale)] }, item.en))) })] })] }));
16
19
  }
17
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OA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E,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAC,SAAS,YACvE,UAAU,GACJ,IAHF,UAAU,CAId,CACN,CAAC,EAED,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,CAClF,aAAyB,SAAS,EAAE,MAAM,CAAC,KAAK,yBAAvC,SAAS,GAAG,EAAE,CAAyC,CACjE,CAAC,IACC,KAjBG,OAAO,CAAC,GAAG,CAkBf,CACP,CAAC,GACE,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC7B,aAAI,SAAS,EAAC,WAAW,YAAE,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC7E,aAAI,IAAI,EAAC,MAAM,YACZ,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACvC,yBACE,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC9D,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,KAFjB,IAAI,CAAC,EAAE,CAGX,CACN,CAAC,GACC,IACD,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .heading{align-content:normal;padding:clamp(72px,10vw,128px) var(--padding) 0}.sheet{display:grid;grid-template-columns:repeat(4, 1fr);grid-auto-rows:auto;border-top:1px solid var(--line)}@media(max-width: 960px){.sheet{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 600px){.sheet{grid-template-columns:1fr}}.column{align-items:stretch;justify-content:stretch;position:relative;display:grid;grid-row:span var(--rows);grid-template-rows:subgrid}@media(max-width: 600px){.column{grid-row:auto;grid-template-rows:none}}.column: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}.column ul{display:contents}.column li{justify-content:flex-start;position:relative;display:flex;align-items:center;padding:13px 20px;font-size:14.5px;color:var(--foreground-2);transition:color .25s}.column li::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0/8px 1px repeat-x}.column li:hover{color:var(--foreground)}@media(max-width: 960px){.column{border-bottom:1px solid var(--line)}.column:nth-child(2n)::after{display:none}}@media(max-width: 600px){.column::after{display:none}}.title{justify-content:stretch;display:grid;gap:6px;padding:22px 20px 18px;font-weight:600;letter-spacing:-0.02em;border-bottom:1px solid var(--line)}.title span{font-size:11.5px;font-weight:400;color:var(--foreground-3)}.included{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px 32px;padding:24px var(--padding);border-top:1px solid var(--line)}.included h3{font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.included ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 28px;margin:0;padding:0;list-style:none}.included li{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--foreground-2)}@media(max-width: 760px){.included{grid-template-columns:1fr;justify-items:start}}.tick{width:15px;height:15px;color:var(--foreground)}
1
+ .heading{align-content:normal;padding:clamp(72px,10vw,128px) var(--padding) 0}.sheet{display:grid;grid-template-columns:repeat(4, 1fr);grid-auto-rows:auto;border-top:1px solid var(--line)}@media(max-width: 960px){.sheet{grid-template-columns:repeat(2, 1fr)}}@media(max-width: 600px){.sheet{grid-template-columns:1fr}}.column{align-items:stretch;justify-content:stretch;position:relative;display:grid;grid-row:span var(--rows);grid-template-rows:subgrid}@media(max-width: 600px){.column{grid-row:auto;grid-template-rows:none}}.column:not(:last-child)::after{content:"";position:absolute;z-index:3;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.column ul{display:contents}.column li{justify-content:flex-start;position:relative;display:flex;align-items:center;padding:13px 20px;font-size:14.5px;color:var(--foreground-2);transition:color .25s}.column li::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg, var(--line) 50%, transparent 0) 0 0/8px 1px repeat-x}.column li:hover{color:var(--foreground)}@media(max-width: 960px){.column{border-bottom:1px solid var(--line)}.column:nth-child(2n)::after{display:none}}@media(max-width: 600px){.column::after{display:none}}.title{position:sticky;top:64px;z-index:2;background:var(--background);justify-content:stretch;display:grid;gap:6px;padding:22px 20px 18px;font-weight:600;letter-spacing:-0.02em;border-bottom:1px solid var(--line)}.title span{font-size:11.5px;font-weight:400;color:var(--foreground-3)}.included{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px 32px;padding:24px var(--padding);border-top:1px solid var(--line)}.included h3{font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.included ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px 28px;margin:0;padding:0;list-style:none}.included li{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--foreground-2)}@media(max-width: 760px){.included{grid-template-columns:1fr;justify-items:start}}.tick{width:15px;height:15px;color:var(--foreground)}.empty{pointer-events:none}@media(max-width: 600px){.empty{display:none !important}}
@@ -28,9 +28,11 @@
28
28
  grid-row: auto;
29
29
  grid-template-rows: none;
30
30
  }
31
+ /* The line between columns, over the headings too (they stay in view with their own background). */
31
32
  &:not(:last-child)::after {
32
33
  content: "";
33
34
  position: absolute;
35
+ z-index: 3;
34
36
  top: 0;
35
37
  bottom: 0;
36
38
  right: 0;
@@ -74,7 +76,12 @@
74
76
  }
75
77
  }
76
78
  }
79
+ /* Each column's heading stays in view, under the bar, while its column scrolls by. */
77
80
  .title {
81
+ position: sticky;
82
+ top: 64px;
83
+ z-index: 2;
84
+ background: var(--background);
78
85
  justify-content: stretch;
79
86
  display: grid;
80
87
  gap: 6px;
@@ -129,3 +136,10 @@
129
136
  height: 15px;
130
137
  color: var(--foreground);
131
138
  }
139
+ /* An empty cell: nothing to hover, and not needed where the columns stack (phones). */
140
+ .empty {
141
+ pointer-events: none;
142
+ @include below(600px) {
143
+ display: none !important;
144
+ }
145
+ }
@@ -1,9 +1,9 @@
1
1
  import type { FooterProperties } from "@sharadox/sharadox-web-library/component/footer/type";
2
2
  /**
3
3
  * The footer, in the grid frame. Four columns: the brand (slogan, email and Start a Project), the services, the
4
- * studio's sections, and the language and style. Under them, everything legal in a row of its own (the consumer
5
- * dispute notice, with the links under it: license, privacy, cookie preferences, Portugal's complaints book), and at the very
6
- * bottom the copyright and the way back up.
4
+ * studio's sections, and the language and style with the way back up under them. Then everything legal in a centered
5
+ * row of its own: the copyright, the consumer dispute notice, and the links (license, privacy, cookie preferences,
6
+ * Portugal's complaints book).
7
7
  */
8
8
  export declare function Footer({ locale, path }: FooterProperties): import("react").JSX.Element;
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BA4E7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BA0E7D"}
@@ -29,13 +29,13 @@ import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
29
29
  import styles from "./index.module.css";
30
30
  /**
31
31
  * The footer, in the grid frame. Four columns: the brand (slogan, email and Start a Project), the services, the
32
- * studio's sections, and the language and style. Under them, everything legal in a row of its own (the consumer
33
- * dispute notice, with the links under it: license, privacy, cookie preferences, Portugal's complaints book), and at the very
34
- * bottom the copyright and the way back up.
32
+ * studio's sections, and the language and style with the way back up under them. Then everything legal in a centered
33
+ * row of its own: the copyright, the consumer dispute notice, and the links (license, privacy, cookie preferences,
34
+ * Portugal's complaints book).
35
35
  */
36
36
  export function Footer({ locale, path = "" }) {
37
37
  const home = path ? `/${locale}` : "";
38
38
  const studio = [SECTION.about, SECTION.capabilities, SECTION.process, SECTION.faq, SECTION.contact];
39
- 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 }), _jsx(Button, { href: `${home}#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.start, children: translate(ACTION.startProject, locale) })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx(SectionLink, { 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(SectionLink, { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id)))] }), _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 })] })] }), _jsxs("div", { className: styles.legal, children: [_jsx("p", { className: styles.disputes, children: _jsx(DisputeNotice, { center: DISPUTE_RESOLUTION_CENTERS.algarve, locale: locale }) }), _jsxs("nav", { "aria-label": translate(FOOTER.legal, locale), className: styles.links, children: [_jsx(Link, { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx(Link, { 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("div", { className: styles.bottom, children: [_jsxs("p", { className: `monospace ${styles.copyright}`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] }), _jsxs(SectionLink, { 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 }) })] })] })] }));
39
+ 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 }), _jsx(Button, { href: `${home}#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.start, children: translate(ACTION.startProject, locale) })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx(SectionLink, { 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(SectionLink, { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id)))] }), _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 }), _jsxs(SectionLink, { 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.legal, children: [_jsxs("p", { className: `monospace ${styles.copyright}`, 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 }) }), _jsxs("nav", { "aria-label": translate(FOOTER.legal, locale), className: styles.links, children: [_jsx(Link, { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx(Link, { 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 })] })] })] }));
40
40
  }
41
41
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";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ACJ,YAAG,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC3B,KAAC,aAAa,IAAC,MAAM,EAAE,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,GAAI,GAC3E,EACJ,6BAAiB,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aACvE,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,MAAM,GAAG,OAAO,CAAC,IAAI,EAAE,kBAAgB,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,YAC9F,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAC5B,EACP,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,MAAM,GAAG,YAAY,CAAC,IAAI,EAAE,kBAAgB,IAAI,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,YACxG,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,GACjC,EACP,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,GAAI,EAClE,KAAC,kBAAkB,IAAC,MAAM,EAAE,MAAM,GAAI,IAClC,IACF,IACC,CACV,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .footer{text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{align-items:stretch;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{justify-content:stretch;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}.columns a:not(.start){transition:color .2s}.columns a:not(.start):hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>.brand,.columns>.settings{grid-column:1/-1}.columns>.brand::after,.columns>.settings::after{display:none}.columns>:nth-child(3)::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.legal{display:grid;justify-content:stretch;justify-items:center;text-align:center;gap:14px;padding:28px var(--padding);border-bottom:1px solid var(--line);font-size:13px}.bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:18px var(--padding);border-bottom:1px solid var(--line)}.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{justify-items:start}.settings h2:not(:first-child){margin-top:18px}.start{margin-top:12px}.copyright{font-size:12px;color:var(--foreground-3)}.links{align-content:flex-start;justify-content:center;display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}.links a,.links [data-preferences-link]{padding:0;border:0;background:none;font:inherit;color:var(--foreground-2);text-align:center;transition:color .2s}.links a:hover,.links [data-preferences-link]:hover,.links a[aria-current]{color:var(--foreground)}@media(max-width: 640px){.links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}}.disputes{max-width:120ch;font-size:12px;line-height:1.6;color:var(--foreground-3);text-wrap:pretty}.disputes a{color:var(--foreground-2);transition:color .2s}.disputes a:hover{color:var(--foreground)}.top{font-size:14px;display:inline-flex;align-items:center;width:fit-content;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)}
1
+ .footer{text-align:left;position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{align-items:stretch;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{justify-content:stretch;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}.columns a:not(.start){transition:color .2s}.columns a:not(.start):hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>.brand,.columns>.settings{grid-column:1/-1}.columns>.brand::after,.columns>.settings::after{display:none}.columns>:nth-child(3)::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.legal{display:grid;justify-content:stretch;justify-items:center;text-align:center;gap:14px;padding:28px var(--padding);border-bottom:1px solid var(--line);font-size:13px}.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{justify-items:start}.settings h2:not(:first-child){margin-top:18px}.start{margin-top:12px}.copyright{font-size:12px;color:var(--foreground-3)}.links{align-content:flex-start;justify-content:center;display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}.links a,.links [data-preferences-link]{padding:0;border:0;background:none;font:inherit;color:var(--foreground-2);text-align:center;transition:color .2s}.links a:hover,.links [data-preferences-link]:hover,.links a[aria-current]{color:var(--foreground)}@media(max-width: 640px){.links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}}.disputes{max-width:120ch;font-size:12px;line-height:1.6;color:var(--foreground-3);text-wrap:pretty}.disputes a{color:var(--foreground-2);transition:color .2s}.disputes a:hover{color:var(--foreground)}.top{margin-top:22px;font-size:14px;display:inline-flex;align-items:center;width:fit-content;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)}
@@ -80,16 +80,6 @@
80
80
  border-bottom: 1px solid var(--line);
81
81
  font-size: 13px;
82
82
  }
83
- /* The very bottom: the copyright on the left, the way back up on the right. */
84
- .bottom {
85
- display: flex;
86
- flex-wrap: wrap;
87
- align-items: center;
88
- justify-content: space-between;
89
- gap: 16px;
90
- padding: 18px var(--padding);
91
- border-bottom: 1px solid var(--line);
92
- }
93
83
  .slogan {
94
84
  color: var(--foreground);
95
85
  font-size: 1.05rem;
@@ -166,7 +156,9 @@
166
156
  color: var(--foreground);
167
157
  }
168
158
  }
159
+ /* Under the style switch, at the foot of its column. */
169
160
  .top {
161
+ margin-top: 22px;
170
162
  font-size: 14px;
171
163
  display: inline-flex;
172
164
  align-items: center;
@@ -1 +1 @@
1
- .hero{text-align:left;position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(min-width: 961px){.hero{min-height:calc(min(100svh,980px) - 140px);padding-bottom:32px}}@media(max-width: 900px){.hero{grid-template-columns:1fr;padding-top:72px;gap:0}}.copy{position:relative;z-index:2;container-type:inline-size}.eyebrow{padding:6px 12px 6px 10px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(6px)}.live{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:live 2.4s infinite}@keyframes live{70%{box-shadow:0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.title{margin:26px 0 26px;font-size:min(clamp(3rem,7vw,6.4rem),14.6cqi);white-space:nowrap;letter-spacing:-0.06em;line-height:.95}@media(max-width: 900px){.title{margin-top:18px}}.line{display:block;overflow:hidden;padding-bottom:.06em}.lineInner{display:inline-block}.dim{background:linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.subtitle{max-width:31rem;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--foreground-2);line-height:1.55}.actions{justify-content:flex-start;display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.globe{position:absolute;z-index:1;left:75%;top:50%;width:61.3%;aspect-ratio:1;margin:calc(61.3%/-2) 0 0 calc(61.3%/-2)}@media(max-width: 900px){.globe{position:relative;left:auto;top:auto;order:-1;width:112%;margin:0 -6%;justify-self:center}}.hint{position:absolute;left:50%;bottom:2%;transform:translateX(-50%);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--foreground-3);pointer-events:none}
1
+ .hero{text-align:left;position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(min-width: 961px){.hero{min-height:calc(min(100svh,980px) - 140px)}}@media(min-width: 901px){.hero{padding-block:calc(64px + 40px) 40px}}@media(max-width: 900px){.hero{grid-template-columns:1fr;padding-top:72px;gap:0}}.copy{position:relative;z-index:2;container-type:inline-size}.eyebrow{padding:6px 12px 6px 10px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(6px)}.live{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:live 2.4s infinite}@keyframes live{70%{box-shadow:0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.title{margin:26px 0 26px;font-size:min(clamp(3rem,7vw,6.4rem),14.6cqi);white-space:nowrap;letter-spacing:-0.06em;line-height:.95}@media(max-width: 900px){.title{margin-top:18px}}.line{display:block;overflow:hidden;padding-bottom:.06em}.lineInner{display:inline-block}.dim{background:linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.subtitle{max-width:31rem;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--foreground-2);line-height:1.55}.actions{justify-content:flex-start;display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.globe{position:absolute;z-index:1;left:75%;top:calc(50% + 64px/2);width:61.3%;aspect-ratio:1;margin:calc(61.3%/-2) 0 0 calc(61.3%/-2)}@media(max-width: 900px){.globe{position:relative;left:auto;top:auto;order:-1;width:112%;margin:0 -6%;justify-self:center}}.hint{position:absolute;left:50%;bottom:2%;transform:translateX(-50%);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--foreground-3);pointer-events:none}
@@ -1,5 +1,9 @@
1
1
  @use "style/token" as *;
2
2
 
3
+ /* The bar's height, and the room kept above and below the copy within the space under it. */
4
+ $bar: 64px;
5
+ $room: 40px;
6
+
3
7
  .hero {
4
8
  text-align: left;
5
9
  position: relative;
@@ -16,7 +20,11 @@
16
20
  the first screen and the four shortcuts show at its bottom. */
17
21
  @media (min-width: 961px) {
18
22
  min-height: calc(min(100svh, 980px) - 140px);
19
- padding-bottom: 32px;
23
+ }
24
+ /* The copy sits in the middle of the space between the bar (64px) and the hero's bottom line: equal room above
25
+ and below it. */
26
+ @media (min-width: 901px) {
27
+ padding-block: calc(#{$bar} + #{$room}) #{$room};
20
28
  }
21
29
  @include below(900px) {
22
30
  grid-template-columns: 1fr;
@@ -95,13 +103,14 @@
95
103
  $globe-canvas: 61.3%;
96
104
 
97
105
  /* Desktop: the globe body spans the hero's right half, touching the middle guide and the right grid line, centered
98
- on the middle row; only arcs and glow pass the lines. Centered with negative margins (percentages of the hero's
99
- width), because the entrance animation owns `transform`. */
106
+ on the copy (the middle of the space under the bar, half the bar below the hero's middle); only arcs and glow pass
107
+ the lines. Centered with negative margins (percentages of the hero's width), because the entrance animation owns
108
+ `transform`. */
100
109
  .globe {
101
110
  position: absolute;
102
111
  z-index: 1;
103
112
  left: 75%;
104
- top: 50%;
113
+ top: calc(50% + #{$bar} / 2);
105
114
  width: $globe-canvas;
106
115
  aspect-ratio: 1;
107
116
  margin: calc(#{$globe-canvas} / -2) 0 0 calc(#{$globe-canvas} / -2);
@@ -1,8 +1,9 @@
1
1
  import type { SectionIndicatorProperties } from "@sharadox/sharadox-web-library/component/section-indicator/type";
2
2
  /**
3
- * The side indicator: a rail that fills as the page scrolls, a tick and number per section, the current one
4
- * lit with its own progress, and its name flashing in whenever it changes. Every entry jumps to its section; all
5
- * names show while the pointer is over it.
3
+ * The side indicator, in the margin right of the grid frame: a rail along the frame that fills as the page scrolls,
4
+ * a tick and number per section reaching out from it (the current one lit with its own progress), and its name
5
+ * flashing in to the right whenever it changes. Every entry jumps to its section; all names show while the pointer
6
+ * is over it. Nothing shifts when the section changes: each tick grows inside a slot of its own.
6
7
  */
7
8
  export declare function SectionIndicator({ locale }: SectionIndicatorProperties): import("react").JSX.Element;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section-indicator/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iEAAiE,CAAC;AAIlH;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,0BAA0B,+BAoCtE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section-indicator/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iEAAiE,CAAC;AAIlH;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,0BAA0B,+BAwCtE"}
@@ -7,15 +7,16 @@ import { SECTION_INDICATOR } from "@sharadox/sharadox-web-library/content/sectio
7
7
  import styles from "./index.module.css";
8
8
  const IDS = SECTION_INDICATOR.sections.map((section) => section.id);
9
9
  /**
10
- * The side indicator: a rail that fills as the page scrolls, a tick and number per section, the current one
11
- * lit with its own progress, and its name flashing in whenever it changes. Every entry jumps to its section; all
12
- * names show while the pointer is over it.
10
+ * The side indicator, in the margin right of the grid frame: a rail along the frame that fills as the page scrolls,
11
+ * a tick and number per section reaching out from it (the current one lit with its own progress), and its name
12
+ * flashing in to the right whenever it changes. Every entry jumps to its section; all names show while the pointer
13
+ * is over it. Nothing shifts when the section changes: each tick grows inside a slot of its own.
13
14
  */
14
15
  export function SectionIndicator({ locale }) {
15
16
  const { active, within, page } = useActiveSection(IDS);
16
17
  return (_jsxs("nav", { className: styles.indicator, "aria-label": translate(SECTION_INDICATOR.label, locale), style: { "--page": page, "--within": within }, children: [_jsx("span", { className: styles.rail, "aria-hidden": true, children: _jsx("span", {}) }), _jsx("ol", { children: SECTION_INDICATOR.sections.map((section, index) => {
17
18
  const current = section.id === active;
18
- return (_jsx("li", { children: _jsxs(SectionLink, { href: `#${section.id}`, className: current ? styles.current : undefined, "aria-current": current ? "location" : undefined, children: [_jsx("span", { className: styles.name, children: section[locale] }, current ? `${section.id}-on` : section.id), _jsx("span", { className: `${styles.number} monospace`, children: String(index + 1).padStart(2, "0") }), _jsx("span", { className: styles.tick, "aria-hidden": true, children: _jsx("span", {}) })] }) }, section.id));
19
+ return (_jsx("li", { children: _jsxs(SectionLink, { href: `#${section.id}`, className: current ? styles.current : undefined, title: section[locale], "aria-current": current ? "location" : undefined, children: [_jsx("span", { className: styles.tick, "aria-hidden": true, children: _jsx("span", {}) }), _jsx("span", { className: `${styles.number} monospace`, children: String(index + 1).padStart(2, "0") }), _jsx("span", { className: styles.label, children: _jsx("span", { className: styles.name, children: section[locale] }, current ? `${section.id}-on` : section.id) })] }) }, section.id));
19
20
  }) })] }));
20
21
  }
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section-indicator/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAExE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0DAA0D,CAAC;AAC7F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,GAAG,GAAG,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;AAEpE;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAA8B;IACrE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACvD,OAAO,CACL,eACE,SAAS,EAAE,MAAM,CAAC,SAAS,gBACf,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,MAAM,CAAC,EACtD,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAmB,aAE9D,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,iCAC1B,gBAAQ,GACH,EACP,uBACG,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OA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O,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,CAE7C,GACF,IACK,IAlBP,OAAO,CAAC,EAAE,CAmBd,CACN,CAAC;gBACJ,CAAC,CAAC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .indicator{text-align:left;--page: 0;--within: 0;position:fixed;z-index:40;left:calc(50% + min(100% - 2*var(--gutter),var(--maximum-width))/2 + 14px);top:50%;transform:translateY(-50%);padding:14px 0;animation:enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .indicator{animation-duration:0s !important;animation-delay:0s !important}.indicator ol{position:relative;display:grid;gap:14px;margin:0;padding:0;list-style:none}@media(max-width: 1180px){.indicator{display:none}}@keyframes enter{from{opacity:0;transform:translate(16px, -50%)}}.rail{position:absolute;right:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y}.rail span{position:absolute;inset:0 0 auto;height:calc(var(--page)*100%);background:linear-gradient(180deg, transparent, var(--foreground));box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent)}.indicator a{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;height:26px;padding-right:0;color:var(--foreground-3);transition:color .3s}.indicator a:hover{color:var(--foreground)}.number{font-size:10.5px;letter-spacing:.04em;transition:color .3s}.tick{position:relative;width:12px;height:1px;background:var(--line-2);transition:width .6s cubic-bezier(0.22, 1, 0.36, 1),background .3s}.tick span{position:absolute;inset:0 auto 0 0;width:0;background:var(--foreground)}.name{position:absolute;right:64px;padding:5px 11px;border-radius:99px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 75%, transparent);backdrop-filter:blur(10px);color:var(--foreground);font-size:12.5px;font-weight:500;letter-spacing:-0.01em;white-space:nowrap;opacity:0;transform:translateX(8px);filter:blur(4px);pointer-events:none;transition:opacity .35s,transform .5s cubic-bezier(0.22, 1, 0.36, 1),filter .35s}.indicator:hover .name{opacity:1;transform:none;filter:none}.current{color:var(--foreground) !important}.current .tick{width:34px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.current .tick span{width:calc(var(--within)*100%);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent)}.current .name{animation:flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes flash{0%{opacity:0;transform:translateX(10px);filter:blur(4px)}15%,70%{opacity:1;transform:none;filter:none}100%{opacity:0;transform:translateX(4px);filter:blur(2px)}}.indicator:hover .current .name{animation:none}@media(max-width: 1399px){.indicator{left:calc(50% + min(100% - 2*var(--gutter),var(--maximum-width))/2 + 8px)}.number{display:none}.tick{width:8px}.current .tick{width:18px}}
1
+ .indicator{text-align:left;--page: 0;--within: 0;position:fixed;z-index:40;left:calc(calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2) + 10px);right:4px;container-type:inline-size;top:50%;transform:translateY(-50%);padding:14px 0;animation:enter 1s 1.2s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .indicator{animation-duration:0s !important;animation-delay:0s !important}.indicator ol{position:relative;display:grid;justify-content:stretch;gap:14px;margin:0;padding:0;list-style:none}@media(max-width: 1180px){.indicator{display:none}}@keyframes enter{from{opacity:0;transform:translate(16px, -50%)}}.rail{position:absolute;left:0;top:0;bottom:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 6px repeat-y}.rail span{position:absolute;inset:0 0 auto;height:calc(var(--page)*100%);background:linear-gradient(180deg, transparent, var(--foreground));box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent)}.indicator a{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;height:26px;color:var(--foreground-3);transition:color .3s}.indicator a:hover{color:var(--foreground)}.number{font-size:10.5px;letter-spacing:.04em;transition:color .3s}.tick{position:relative;flex:none;display:flex;justify-content:flex-start;align-items:center;width:34px;height:1px}.tick::before{content:"";width:12px;height:1px;background:var(--line-2);transition:width .6s cubic-bezier(0.22, 1, 0.36, 1),background .3s}.tick span{position:absolute;left:0;width:0;height:1px;background:var(--foreground)}.label{position:absolute;left:72px;right:0;top:0;bottom:0;display:flex;direction:rtl;justify-content:safe end;align-items:center;pointer-events:none}.name{direction:ltr;flex:none;padding:5px 11px;border-radius:99px;border:1px solid var(--line-2);background:color-mix(in srgb, var(--background) 75%, transparent);backdrop-filter:blur(10px);color:var(--foreground);font-size:12.5px;font-weight:500;letter-spacing:-0.01em;white-space:nowrap;opacity:0;transform:translateX(-8px);filter:blur(4px);transition:opacity .35s,transform .5s cubic-bezier(0.22, 1, 0.36, 1),filter .35s}.indicator:hover .name{opacity:1;transform:none;filter:none}.current{color:var(--foreground) !important}.current .tick::before{width:34px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.current .tick span{width:calc(var(--within)*34px);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 70%, transparent)}.current .name{animation:flash 2.2s cubic-bezier(0.22, 1, 0.36, 1) both}@keyframes flash{0%{opacity:0;transform:translateX(-10px);filter:blur(4px)}15%,70%{opacity:1;transform:none;filter:none}100%{opacity:0;transform:translateX(-4px);filter:blur(2px)}}.indicator:hover .current .name{animation:none}@container (width < 140px){.name{padding:4px 8px;font-size:11px;letter-spacing:-0.02em}}@container (width < 74px){.label{display:none}}@media(max-width: 1399px){.indicator{left:calc(calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2) + 8px)}.number{display:none}.tick{width:18px}.tick::before{width:8px}.current .tick::before{width:18px}.current .tick span{width:calc(var(--within)*18px)}.label{left:28px}}
@@ -1,14 +1,20 @@
1
1
  @use "style/token" as *;
2
2
 
3
+ /* The frame's right line, from the window's left edge. */
4
+ $frame-right: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2);
5
+
6
+ /* In the margin right of the grid frame, from just past its line to the window's edge, so nothing ever crosses into
7
+ the frame. */
3
8
  .indicator {
4
- /* Its text reads from the left (the page default is centered). */
5
9
  text-align: left;
6
10
  --page: 0;
7
11
  --within: 0;
8
12
  position: fixed;
9
13
  z-index: 40;
10
- /* Outside the grid frame: just past its right line, in the margin beside it. */
11
- left: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2 + 14px);
14
+ left: calc(#{$frame-right} + 10px);
15
+ right: 4px;
16
+ /* Its width decides how the names show (below). */
17
+ container-type: inline-size;
12
18
  top: 50%;
13
19
  transform: translateY(-50%);
14
20
  padding: 14px 0;
@@ -17,6 +23,7 @@
17
23
  ol {
18
24
  position: relative;
19
25
  display: grid;
26
+ justify-content: stretch;
20
27
  gap: 14px;
21
28
  margin: 0;
22
29
  padding: 0;
@@ -32,10 +39,10 @@
32
39
  transform: translate(16px, -50%);
33
40
  }
34
41
  }
35
- /* The rail fills with the page's progress. */
42
+ /* The rail, along the frame side, fills with the page's progress. */
36
43
  .rail {
37
44
  position: absolute;
38
- right: 0;
45
+ left: 0;
39
46
  top: 0;
40
47
  bottom: 0;
41
48
  width: 1px;
@@ -48,14 +55,14 @@
48
55
  box-shadow: 0 0 8px tint(60%);
49
56
  }
50
57
  }
58
+ /* A row: its tick out from the rail, its number, and its name's place to the right. */
51
59
  .indicator a {
52
60
  position: relative;
53
61
  display: flex;
54
62
  align-items: center;
55
- justify-content: flex-end;
63
+ justify-content: flex-start;
56
64
  gap: 10px;
57
65
  height: 26px;
58
- padding-right: 0;
59
66
  color: var(--foreground-3);
60
67
  transition: color 0.3s;
61
68
  &:hover {
@@ -67,25 +74,52 @@
67
74
  letter-spacing: 0.04em;
68
75
  transition: color 0.3s;
69
76
  }
77
+ /* The tick's slot is always as wide as the longest tick, so the number never moves; the tick grows inside it. */
70
78
  .tick {
71
79
  position: relative;
72
- width: 12px;
80
+ flex: none;
81
+ display: flex;
82
+ justify-content: flex-start;
83
+ align-items: center;
84
+ width: 34px;
73
85
  height: 1px;
74
- background: var(--line-2);
75
- transition:
76
- width 0.6s $ease,
77
- background 0.3s;
86
+ &::before {
87
+ content: "";
88
+ width: 12px;
89
+ height: 1px;
90
+ background: var(--line-2);
91
+ transition:
92
+ width 0.6s $ease,
93
+ background 0.3s;
94
+ }
78
95
  span {
79
96
  position: absolute;
80
- inset: 0 auto 0 0;
97
+ left: 0;
81
98
  width: 0;
99
+ height: 1px;
82
100
  background: var(--foreground);
83
101
  }
84
102
  }
85
- /* Names sit to the left in a frosted pill: hidden until hovered, flashing in when their section becomes current. */
86
- .name {
103
+ /* The name's place: from just after the number to the window's edge. The name sits at its start when it fits, and
104
+ ends at the window's edge (over its own row) when it doesn't ("safe" alignment), never past it. */
105
+ .label {
87
106
  position: absolute;
88
- right: 64px;
107
+ left: 72px;
108
+ right: 0;
109
+ top: 0;
110
+ bottom: 0;
111
+ display: flex;
112
+ /* Right to left, so "safe" falls back to the right (the window's edge) when the name overflows; the name itself
113
+ reads left to right. */
114
+ direction: rtl;
115
+ justify-content: safe end;
116
+ align-items: center;
117
+ pointer-events: none;
118
+ }
119
+ /* Names in a frosted pill: hidden until hovered, flashing in when their section becomes current. */
120
+ .name {
121
+ direction: ltr;
122
+ flex: none;
89
123
  padding: 5px 11px;
90
124
  border-radius: 99px;
91
125
  border: 1px solid var(--line-2);
@@ -97,9 +131,8 @@
97
131
  letter-spacing: -0.01em;
98
132
  white-space: nowrap;
99
133
  opacity: 0;
100
- transform: translateX(8px);
134
+ transform: translateX(-8px);
101
135
  filter: blur(4px);
102
- pointer-events: none;
103
136
  transition:
104
137
  opacity 0.35s,
105
138
  transform 0.5s $ease,
@@ -112,13 +145,13 @@
112
145
  }
113
146
  .current {
114
147
  color: var(--foreground) !important;
115
- .tick {
148
+ .tick::before {
116
149
  width: 34px;
117
150
  background: tint(25%);
118
- span {
119
- width: calc(var(--within) * 100%);
120
- box-shadow: 0 0 8px tint(70%);
121
- }
151
+ }
152
+ .tick span {
153
+ width: calc(var(--within) * 34px);
154
+ box-shadow: 0 0 8px tint(70%);
122
155
  }
123
156
  .name {
124
157
  animation: flash 2.2s $ease both;
@@ -127,7 +160,7 @@
127
160
  @keyframes flash {
128
161
  0% {
129
162
  opacity: 0;
130
- transform: translateX(10px);
163
+ transform: translateX(-10px);
131
164
  filter: blur(4px);
132
165
  }
133
166
  15%,
@@ -138,25 +171,48 @@
138
171
  }
139
172
  100% {
140
173
  opacity: 0;
141
- transform: translateX(4px);
174
+ transform: translateX(-4px);
142
175
  filter: blur(2px);
143
176
  }
144
177
  }
145
178
  .indicator:hover .current .name {
146
179
  animation: none;
147
180
  }
148
- /* Where the margin beside the frame is too narrow for the numbers (under 1400px wide), ticks only, shorter. */
181
+ /* A narrower margin: smaller name pills, so they still fit beside the frame. */
182
+ @container (width < 140px) {
183
+ .name {
184
+ padding: 4px 8px;
185
+ font-size: 11px;
186
+ letter-spacing: -0.02em;
187
+ }
188
+ }
189
+ /* Too narrow for even a small name (around 1400px wide and under): no pills (the link's own tooltip names it). */
190
+ @container (width < 74px) {
191
+ .label {
192
+ display: none;
193
+ }
194
+ }
195
+ /* Where the margin is narrow (under 1400px wide): ticks only, shorter, closer to the line. */
149
196
  @include below(1399px) {
150
197
  .indicator {
151
- left: calc(50% + min(100% - 2 * var(--gutter), var(--maximum-width)) / 2 + 8px);
198
+ left: calc(#{$frame-right} + 8px);
152
199
  }
153
200
  .number {
154
201
  display: none;
155
202
  }
156
203
  .tick {
157
- width: 8px;
204
+ width: 18px;
205
+ &::before {
206
+ width: 8px;
207
+ }
158
208
  }
159
- .current .tick {
209
+ .current .tick::before {
160
210
  width: 18px;
161
211
  }
212
+ .current .tick span {
213
+ width: calc(var(--within) * 18px);
214
+ }
215
+ .label {
216
+ left: 28px;
217
+ }
162
218
  }
@@ -0,0 +1,11 @@
1
+ import type { SocialImageOptions } from "@sharadox/sharadox-web-library/component/social-image/type";
2
+ /**
3
+ * An image to post on social media, like the profile picture: the mark on black, half the shorter side. With the
4
+ * headline, the hero's three lines in Geist (the last one fading) beside the mark on a landscape image, under it on a
5
+ * portrait one.
6
+ *
7
+ * @example
8
+ * return renderSocialImage({ locale: "en", name: "portrait-headline.png" });
9
+ */
10
+ export declare function renderSocialImage({ locale, name }: SocialImageOptions): Promise<import("next/og").ImageResponse>;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/social-image/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAOrG;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,kBAAkB,4CAiD3E"}
@@ -0,0 +1,47 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { readFile } from "node:fs/promises";
3
+ import { shareImage } from "@sharadox/metadata-web-library/share-image";
4
+ import { SOCIAL_IMAGES, socialMarkSize } from "@sharadox/metadata-web-library/social-image";
5
+ import { MARK_DATA_URL } from "@sharadox/sharadox-web-library/content/mark";
6
+ import { SLOGAN_LINES } from "@sharadox/sharadox-web-library/content/slogan";
7
+ /** The headline's font, shipped with the library (distribution/asset/font), found relative to this compiled file. */
8
+ const SEMI_BOLD = new URL("../../asset/font/Geist-SemiBold.ttf", import.meta.url);
9
+ /** The hero's last line, fading from white to grey. */
10
+ const DIM = "linear-gradient(180deg, #ffffff 10%, #6b6b6b 120%)";
11
+ /**
12
+ * An image to post on social media, like the profile picture: the mark on black, half the shorter side. With the
13
+ * headline, the hero's three lines in Geist (the last one fading) beside the mark on a landscape image, under it on a
14
+ * portrait one.
15
+ *
16
+ * @example
17
+ * return renderSocialImage({ locale: "en", name: "portrait-headline.png" });
18
+ */
19
+ export async function renderSocialImage({ locale, name }) {
20
+ const image = SOCIAL_IMAGES[name];
21
+ const { width, height, headline } = image;
22
+ const mark = socialMarkSize(image);
23
+ const landscape = width > height;
24
+ const size = landscape ? 128 : 116;
25
+ const lines = SLOGAN_LINES[locale];
26
+ return shareImage(_jsxs("div", { style: {
27
+ width: "100%",
28
+ height: "100%",
29
+ display: "flex",
30
+ flexDirection: landscape ? "row-reverse" : "column",
31
+ alignItems: "center",
32
+ justifyContent: "center",
33
+ gap: landscape ? 96 : 40,
34
+ background: "#000",
35
+ color: "#fff",
36
+ }, children: [_jsx("img", { src: MARK_DATA_URL, width: mark, height: mark, alt: "" }), headline ? (_jsx("div", { style: {
37
+ display: "flex",
38
+ flexDirection: "column",
39
+ alignItems: landscape ? "flex-start" : "center",
40
+ fontFamily: "Geist",
41
+ fontWeight: 600,
42
+ fontSize: size,
43
+ lineHeight: 0.95,
44
+ letterSpacing: -0.06 * size,
45
+ }, children: lines.map((line, index) => index === lines.length - 1 ? (_jsx("span", { style: { backgroundImage: DIM, backgroundClip: "text", color: "transparent" }, children: line }, line)) : (_jsx("span", { children: line }, line))) })) : null] }), { width, height, fonts: [{ name: "Geist", data: await readFile(SEMI_BOLD), weight: 600 }] });
46
+ }
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/social-image/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAG7E,qHAAqH;AACrH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,qCAAqC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClF,uDAAuD;AACvD,MAAM,GAAG,GAAG,oDAAoD,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAsB;IAC1E,M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K,KAAK,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC3B,eAAiB,KAAK,EAAE,EAAE,eAAe,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,YAC3F,IAAI,IADI,IAAI,CAER,CACR,CAAC,CAAC,CAAC,CACF,yBAAkB,IAAI,IAAX,IAAI,CAAe,CAC/B,CACF,GACG,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,CAC5F,CAAC;AACJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { SocialImageName } from "@sharadox/metadata-web-library/social-image";
2
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
3
+ export interface SocialImageOptions {
4
+ locale: Locale;
5
+ /** Which image: landscape or portrait, with or without the headline (see `SOCIAL_IMAGES`). */
6
+ name: SocialImageName;
7
+ }
8
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/social-image/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,8FAA8F;IAC9F,IAAI,EAAE,eAAe,CAAC;CACvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/social-image/type.ts"],"names":[],"mappings":""}
@@ -69,8 +69,8 @@ export declare const FAQ: {
69
69
  readonly pt: "Fica tudo de acordo com a lei?";
70
70
  };
71
71
  readonly answer: {
72
- readonly en: "Yes. Everything legal is done as the law requires: privacy policy, cookie consent, GDPR, consumer information and, in Portugal, the complaints book.";
73
- readonly pt: "Sim. Toda a parte legal é feita como a lei exige: política de privacidade, consentimento de cookies, RGPD, informação ao consumidor e, em Portugal, o livro de reclamações.";
72
+ readonly en: "Yes. Every country has its own rules, so we take the time to understand what's mandatory wherever you do business, and do it as the law requires: privacy policies, cookie consent, data protection, consumer information, and local requirements like Portugal's complaints book.";
73
+ readonly pt: "Sim. Cada país tem as suas regras, por isso dedicamos o tempo necessário a perceber o que é obrigatório onde quer que faça negócio, e fazemo-lo como a lei exige: políticas de privacidade, consentimento de cookies, proteção de dados, informação ao consumidor e requisitos locais, como o livro de reclamações em Portugal.";
74
74
  };
75
75
  }, {
76
76
  readonly question: {
@@ -60,8 +60,8 @@ export const FAQ = {
60
60
  pt: "Fica tudo de acordo com a lei?",
61
61
  },
62
62
  answer: {
63
- en: "Yes. Everything legal is done as the law requires: privacy policy, cookie consent, GDPR, consumer information and, in Portugal, the complaints book.",
64
- pt: "Sim. Toda a parte legal é feita como a lei exige: política de privacidade, consentimento de cookies, RGPD, informação ao consumidor e, em Portugal, o livro de reclamações.",
63
+ en: "Yes. Every country has its own rules, so we take the time to understand what's mandatory wherever you do business, and do it as the law requires: privacy policies, cookie consent, data protection, consumer information, and local requirements like Portugal's complaints book.",
64
+ pt: "Sim. Cada país tem as suas regras, por isso dedicamos o tempo necessário a perceber o que é obrigatório onde quer que faça negócio, e fazemo-lo como a lei exige: políticas de privacidade, consentimento de cookies, proteção de dados, informação ao consumidor e requisitos locais, como o livro de reclamações em Portugal.",
65
65
  },
66
66
  },
67
67
  {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/faq/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,KAAK,EA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JAAsJ;gBAC1J,EAAE,EAAE,6KAA6K;aAClL;SACF;QACD;YACE,QAAQ,EAAE;gBACR,EAAE,EAAE,qDAAqD;gBACzD,EAAE,EAAE,gEAAgE;aACrE;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,8LAA8L;gBAClM,EAAE,EAAE,mNAAmN;aACxN;SACF;QACD;YACE,QAAQ,EAAE;gBACR,EAAE,EAAE,6DAA6D;gBACjE,EAAE,EAAE,mEAAmE;aACxE;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,wIAAwI;gBAC5I,EAAE,EAAE,6HAA6H;aAClI;SACF;QACD;YACE,QAAQ,EAAE,EAAE,EAAE,EAAE,4BAA4B,EAAE,EAAE,EAAE,sCAAsC,EAAE;YAC1F,MAAM,EAAE;gBACN,EAAE,EAAE,kLAAkL;gBACtL,EAAE,EAAE,+MAA+M;aACpN;SACF;QACD;YACE,QAAQ,EAAE;gBACR,EAAE,EAAE,+CAA+C;gBACnD,EAAE,EAAE,0CAA0C;aAC/C;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,8FAA8F;gBAClG,EAAE,EAAE,kGAAkG;aACvG;SACF;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/faq/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,iBAAiB,EAAE;IACvD,4DAA4D;IAC5D,IAAI,EAAE;QACJ,IAAI,EAAE,EAAE,EAAE,EAAE,wCAAwC,EAAE,EAAE,EAAE,mCAAmC,EAAE;QAC/F,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,WAAW,EAAE;KAC1C;IACD,KAAK,EAAE;QACL;YACE,QAAQ,EAAE,EAAE,EAAE,EAAE,+BAA+B,EAAE,EAAE,EAAE,0BAA0B,EAAE;YACjF,MAAM,EAA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I;SACF;QACD;YACE,QAAQ,EAAE,EAAE,EAAE,EAAE,4BAA4B,EAAE,EAAE,EAAE,sCAAsC,EAAE;YAC1F,MAAM,EAAE;gBACN,EAAE,EAAE,kLAAkL;gBACtL,EAAE,EAAE,+MAA+M;aACpN;SACF;QACD;YACE,QAAQ,EAAE;gBACR,EAAE,EAAE,+CAA+C;gBACnD,EAAE,EAAE,0CAA0C;aAC/C;YACD,MAAM,EAAE;gBACN,EAAE,EAAE,8FAA8F;gBAClG,EAAE,EAAE,kGAAkG;aACvG;SACF;KACF;CACO,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * The Sharadox mark alone (a globe: its outline, one meridian and the equator), white and grey on transparent,
3
+ * filling its square edge to edge (the outline's stroke included). The site's app icon master (src/app/icon.svg) draws
4
+ * the same mark, half its side, on black; social images draw it from here.
5
+ */
6
+ export declare const MARK_SVG: string;
7
+ /** The mark as a data address, for images drawn from JSX (social and share images). */
8
+ export declare const MARK_DATA_URL: string;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/mark/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,QAAQ,QAIkD,CAAC;AAExE,uFAAuF;AACvF,eAAO,MAAM,aAAa,QAA0E,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The Sharadox mark alone (a globe: its outline, one meridian and the equator), white and grey on transparent,
3
+ * filling its square edge to edge (the outline's stroke included). The site's app icon master (src/app/icon.svg) draws
4
+ * the same mark, half its side, on black; social images draw it from here.
5
+ */
6
+ export const MARK_SVG = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="128 128 256 256">' +
7
+ '<circle cx="256" cy="256" r="117" fill="none" stroke="#fff" stroke-width="22"/>' +
8
+ '<ellipse cx="256" cy="256" rx="51.6" ry="117" fill="none" stroke="#bfbfbf" stroke-width="16.5"/>' +
9
+ '<path d="M142 256h228" stroke="#bfbfbf" stroke-width="16.5"/></svg>';
10
+ /** The mark as a data address, for images drawn from JSX (social and share images). */
11
+ export const MARK_DATA_URL = `data:image/svg+xml;base64,${Buffer.from(MARK_SVG).toString("base64")}`;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/mark/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GACnB,oEAAoE;IACpE,iFAAiF;IACjF,kGAAkG;IAClG,qEAAqE,CAAC;AAExE,uFAAuF;AACvF,MAAM,CAAC,MAAM,aAAa,GAAG,6BAA6B,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC"}
package/llms.txt CHANGED
@@ -36,3 +36,5 @@
36
36
  - 0.31.0: One palette for every 3D object (style/object: surface(), $surface, $raised, $edge, $hint, $faint, $detail, $strong, $glow; face() is opaque; Cuboid faces opaque), so they match in Black and White. Hosting: only the rack (no tick). Branding: the brand's identity card filling in (mark, name, audience, voice, colors, type), then lifting. Rebranding: the dated badge turns and reshapes into the fresh diamond, and the change rolls out to a business card and an app icon. Branding Design: the pointer drags the top anchor of a round shape up into a drop. Platforms text: a system tailored to your company, automating as much as possible and simplifying the rest. PWA text: anything built for the web, installable like any other app (no stores or their fees, one codebase, updates everywhere at once, less to spend). Print Design is Printing (Print With Us); Product Launch Campaigns is Launch Campaigns (chip Launch Campaign). Contact: heading and direct email over a wide two-column form. Footer: four columns, a legal row, a bottom row with the copyright and Back to top. Components state their own alignment (the site centers boxes by default). consent-web-library ^0.3.1
37
37
  - 0.32.0: About (component/about, content/about) replaces Statement and Touchpoint ("One System", both removed): the sentence lighting up on scroll (your brand everywhere online, and the system that runs your business behind it), then the brand online (a numbered list) beside the platform that runs the business (automated, simple, anywhere) with a live feed ticking events in while the place it's viewed from changes. SECTION.about replaces SECTION.touchpoints in navigation, footer and indicator. Services title: "Pick where to start." Section ids: #about, #web, #desktop-and-mobile, #creative, #marketing (service group keys web and desktop-and-mobile). Capabilities: longer lists in every column (Web adds custom business management systems, AI search optimization, AI assistants and automations, payments, integrations, languages, analytics, domains and security, privacy and accessibility) and an Always Included row (icon-web-library ^0.3.0 check). Process: each dot lights when the line reaches it (process/measure-stops); on phones the line grows from the top. Hero leaves room for the service index on wide screens. Section indicator sits outside the frame's right line (ticks only under 1400px). Rebranding: a divider sways across one star, the dated version on its left, the reimagined one on its right. ServiceUnlisted title as big as a section heading. Footer legal row: the dispute notice, the links under it
38
38
  - 0.33.0: About: the platform is also for teams who work by hand. Its text covers the office to the warehouse floor, with jobs reaching people as tasks on their phone; the points are Automated, Your team and Anywhere. The feed mixes the platform's own events with people's ("John packed the order", "Mary loaded the van", shown by their initial) and is headed Live. The brand panel has its own Brand label. ServiceUnlisted is no longer inside Services: it's a section of its own (h2), placed by the page after the capabilities. New Faq (component/faq, content/faq, SECTION.faq "Questions", #faq): ten questions in native details that ease open, a sticky heading with Ask Us, and FAQPage JSON-LD rendered with it (only on the page that shows it). In navigation, indicator and footer. Always Included: domain, hosting and accounts taken care of (or in your name), and everything legal done as the law requires. The footer's legal row is centered. Eyebrow states its alignment (starts on the left). Page order: hero, service index, about, services, capabilities, unlisted, marquee, process, faq, contact
39
+ - 0.34.0: Section indicator mirrored, in the margin right of the frame (from just past its line to the window's edge): the rail along the line; per row a tick in a fixed 34px slot (so nothing shifts when the section changes), the number, and the name to the right, ending at the window's edge when it doesn't fit ("safe" alignment, right to left). Smaller name pills in a narrower margin (container query); no pills where even those can't fit (the link's title names it). Capabilities: column headings stick under the bar; shorter columns run on in empty ruled cells (hidden on phones). Footer: Back to top under the style switch; the legal row (centered) starts with the copyright; no bottom row. FAQ: the legal answer says every country has its own rules, and that we find out what's mandatory wherever the client does business
40
+ - 0.35.0: component/social-image renderSocialImage({ locale, name }) (metadata-web-library ^0.6.0 SOCIAL_IMAGES: landscape 1920×1080 and portrait 1080×1920, each also with the headline): the mark on black (half the shorter side), with the headline the hero's three lines in Geist (the last fading) beside it (landscape) or under it (portrait); content/mark MARK_SVG and MARK_DATA_URL (the mark alone, edge to edge). Hero: the copy sits in the middle of the space between the bar and the hero's bottom line, and the globe is centered on it. Capabilities: the lines between columns run over the sticky headings. About: one row per half: the brand (what it is, then its five parts in a numbered row), then the business (what it is beside the live feed, its three promises in a row under both)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.33.0",
3
+ "version": "0.35.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",
@@ -62,7 +62,7 @@
62
62
  "@sharadox/internationalization-web-library": "^0.2.3",
63
63
  "@sharadox/legal-web-library": "^0.1.0",
64
64
  "@sharadox/menu-web-library": "^0.1.0",
65
- "@sharadox/metadata-web-library": "^0.2.0",
65
+ "@sharadox/metadata-web-library": "^0.6.0",
66
66
  "@sharadox/pointer-web-library": "^0.1.0",
67
67
  "@sharadox/privacy-web-library": "^0.1.1",
68
68
  "@sharadox/scroll-web-library": "^0.4.2",