@sharadox/sharadox-web-library 0.38.0 → 0.39.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 (41) hide show
  1. package/README.md +1 -1
  2. package/distribution/component/about/feed/index.d.ts +15 -0
  3. package/distribution/component/about/feed/index.d.ts.map +1 -0
  4. package/distribution/component/about/feed/index.js +30 -0
  5. package/distribution/component/about/feed/index.js.map +1 -0
  6. package/distribution/component/about/feed/index.module.css +1 -0
  7. package/distribution/component/about/feed/index.module.scss +472 -0
  8. package/distribution/component/about/{brand-parts → feed}/type.d.ts +1 -1
  9. package/distribution/component/about/feed/type.d.ts.map +1 -0
  10. package/distribution/component/about/feed/type.js.map +1 -0
  11. package/distribution/component/about/index.d.ts +4 -3
  12. package/distribution/component/about/index.d.ts.map +1 -1
  13. package/distribution/component/about/index.js +7 -10
  14. package/distribution/component/about/index.js.map +1 -1
  15. package/distribution/component/about/index.module.css +1 -1
  16. package/distribution/component/about/index.module.scss +130 -42
  17. package/distribution/content/about/index.d.ts +167 -127
  18. package/distribution/content/about/index.d.ts.map +1 -1
  19. package/distribution/content/about/index.js +92 -75
  20. package/distribution/content/about/index.js.map +1 -1
  21. package/llms.txt +2 -1
  22. package/package.json +1 -1
  23. package/distribution/component/about/brand-parts/index.d.ts +0 -7
  24. package/distribution/component/about/brand-parts/index.d.ts.map +0 -1
  25. package/distribution/component/about/brand-parts/index.js +0 -12
  26. package/distribution/component/about/brand-parts/index.js.map +0 -1
  27. package/distribution/component/about/brand-parts/index.module.css +0 -1
  28. package/distribution/component/about/brand-parts/index.module.scss +0 -225
  29. package/distribution/component/about/brand-parts/type.d.ts.map +0 -1
  30. package/distribution/component/about/brand-parts/type.js.map +0 -1
  31. package/distribution/component/about/platform-flow/index.d.ts +0 -8
  32. package/distribution/component/about/platform-flow/index.d.ts.map +0 -1
  33. package/distribution/component/about/platform-flow/index.js +0 -17
  34. package/distribution/component/about/platform-flow/index.js.map +0 -1
  35. package/distribution/component/about/platform-flow/index.module.css +0 -1
  36. package/distribution/component/about/platform-flow/index.module.scss +0 -341
  37. package/distribution/component/about/platform-flow/type.d.ts +0 -5
  38. package/distribution/component/about/platform-flow/type.d.ts.map +0 -1
  39. package/distribution/component/about/platform-flow/type.js +0 -2
  40. package/distribution/component/about/platform-flow/type.js.map +0 -1
  41. /package/distribution/component/about/{brand-parts → feed}/type.js +0 -0
package/README.md CHANGED
@@ -34,7 +34,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
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
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 two numbered chapters: the brand as five drawn tiles, and the platform as a flow from customers, through the platform, to the team, with the owner watching live), 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
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, whose live panel takes turns showing its activity, a project and a client), 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
38
  - capabilities sheet (headed by the same `ServiceShortcut`s as under the hero, which 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
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`
@@ -0,0 +1,15 @@
1
+ import type { FeedProperties } from "@sharadox/sharadox-web-library/component/about/feed/type";
2
+ /**
3
+ * The platform at work, as a panel with three tabs that take turns (activity, a project, a client), under its live
4
+ * header (the place it's being looked at from changes: Lisbon, London, New York, Tokyo).
5
+ *
6
+ * - **Activity:** what has just happened, ticking in one by one. Some of it done on its own (an order in, the invoice
7
+ * sent, the customer told, the stock updated), some by people through it (John packed the order, Mary loaded the
8
+ * van; their initials stand in for the tick).
9
+ * - **Project:** one of the business's projects: its progress, tasks, milestones, and what was quoted and paid.
10
+ * - **Client:** that project's client: what they've spent, what's quoted, and their projects so far.
11
+ *
12
+ * A picture, so it's hidden from assistive technology.
13
+ */
14
+ export declare function Feed({ locale }: FeedProperties): import("react").JSX.Element;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAa/F;;;;;;;;;;;GAWG;AACH,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,+BA0G9C"}
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { translate } from "@sharadox/internationalization-web-library/translate";
3
+ import { ABOUT } from "@sharadox/sharadox-web-library/content/about";
4
+ import styles from "./index.module.css";
5
+ /** The minute each event happened at, after the first one. */
6
+ const minute = (index) => `09:${String(41 + index).padStart(2, "0")}`;
7
+ /** An amount in euros, the way the language writes it ("€18,400", "18 400 €"). */
8
+ const euros = (amount, locale) => new Intl.NumberFormat(locale === "pt" ? "pt-PT" : "en-GB", {
9
+ style: "currency",
10
+ currency: "EUR",
11
+ maximumFractionDigits: 0,
12
+ }).format(amount);
13
+ /**
14
+ * The platform at work, as a panel with three tabs that take turns (activity, a project, a client), under its live
15
+ * header (the place it's being looked at from changes: Lisbon, London, New York, Tokyo).
16
+ *
17
+ * - **Activity:** what has just happened, ticking in one by one. Some of it done on its own (an order in, the invoice
18
+ * sent, the customer told, the stock updated), some by people through it (John packed the order, Mary loaded the
19
+ * van; their initials stand in for the tick).
20
+ * - **Project:** one of the business's projects: its progress, tasks, milestones, and what was quoted and paid.
21
+ * - **Client:** that project's client: what they've spent, what's quoted, and their projects so far.
22
+ *
23
+ * A picture, so it's hidden from assistive technology.
24
+ */
25
+ export function Feed({ locale }) {
26
+ const { feed } = ABOUT.business;
27
+ const { project, client } = feed;
28
+ return (_jsxs("div", { className: styles.feed, "aria-hidden": true, children: [_jsxs("div", { className: styles.header, children: [_jsxs("span", { className: styles.live, children: [_jsx("i", {}), translate(feed.live, locale)] }), _jsxs("span", { className: styles.viewing, children: [translate(feed.viewing, locale), _jsx("span", { className: styles.places, children: feed.places[locale].map((place) => (_jsx("b", { children: place }, place))) })] })] }), _jsxs("div", { className: styles.tabs, children: [feed.tabs.map((tab) => (_jsx("span", { children: translate(tab, locale) }, tab.en))), _jsx("i", { className: styles.underline })] }), _jsxs("div", { className: styles.panes, children: [_jsx("ol", { className: styles.events, children: feed.events.map((event, index) => (_jsxs("li", { children: ["by" in event ? _jsx("i", { className: styles.person, children: event.by }) : _jsx("i", { className: styles.check }), _jsx("span", { children: event[locale] }), _jsx("time", { className: "monospace", children: minute(index) })] }, event.en))) }), _jsxs("div", { className: styles.project, children: [_jsxs("div", { className: styles.title, children: [_jsxs("b", { children: [translate(project.name, locale), " \u00B7 ", project.client] }), _jsx("span", { className: styles.chip, children: translate(project.status, locale) })] }), _jsxs("div", { className: styles.meter, children: [_jsx("span", { children: translate(project.progressLabel, locale) }), _jsxs("b", { children: [project.progress, "%"] }), _jsx("i", { style: { "--to": `${project.progress}%` } })] }), _jsx("ul", { className: styles.milestones, children: project.milestones.map((milestone) => (_jsxs("li", { "data-state": milestone.state, children: [_jsx("i", {}), milestone[locale]] }, milestone.en))) }), _jsxs("div", { className: styles.figures, children: [_jsxs("span", { children: [translate(project.tasksLabel, locale), _jsxs("b", { children: [project.tasks.done, "/", project.tasks.total] })] }), _jsxs("span", { children: [translate(project.quotedLabel, locale), _jsx("b", { children: euros(project.quoted, locale) })] }), _jsxs("span", { children: [translate(project.paidLabel, locale), _jsx("b", { children: euros(project.paid, locale) })] })] })] }), _jsxs("div", { className: styles.client, children: [_jsxs("div", { className: styles.title, children: [_jsx("span", { className: styles.avatar, children: client.initials }), _jsxs("span", { children: [_jsx("b", { children: client.name }), _jsx("small", { children: translate(client.since, locale) })] })] }), _jsxs("div", { className: styles.figures, children: [_jsxs("span", { children: [translate(client.spentLabel, locale), _jsx("b", { children: euros(client.spent, locale) })] }), _jsxs("span", { children: [translate(client.openLabel, locale), _jsx("b", { children: euros(client.open, locale) })] })] }), _jsx("span", { className: styles.label, children: translate(client.projectsLabel, locale) }), _jsx("ul", { className: styles.history, children: client.projects.map((past) => (_jsxs("li", { "data-state": past.state, children: [_jsx("i", {}), _jsxs("span", { children: [past[locale], " ", _jsx("small", { children: past.year })] }), _jsx("b", { children: euros(past.amount, locale) })] }, past.en))) })] })] })] }));
29
+ }
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,8DAA8D;AAC9D,MAAM,MAAM,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,MAAM,MAAM,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;AAE9E,kFAAkF;AAClF,MAAM,KAAK,GAAG,CAAC,MAAc,EAAE,MAAc,EAAE,EAAE,CAC/C,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE;IACzD,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,KAAK;IACf,qBAAqB,EAAE,CAAC;CACzB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAEpB;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,MAAM,EAAkB;IAC7C,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,QAAQ,CAAC;IAChC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IACjC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,kCACzB,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,aAAK,EACJ,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IACxB,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,C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CAAC,GAAS,IAC3C,IACH,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,2BACG,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,EACrC,sBAAI,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAK,IAC/B,EACP,2BACG,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,EACpC,sBAAI,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,IAC9B,IACH,EACN,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,SAAS,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,GAAQ,EAC/E,aAAI,SAAS,EAAE,MAAM,CAAC,OAAO,YAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC7B,4BAA8B,IAAI,CAAC,KAAK,aACtC,aAAK,EACL,2BACG,IAAI,CAAC,MAAM,CAAC,OAAE,0BAAQ,IAAI,CAAC,IAAI,GAAS,IACpC,EACP,sBAAI,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,GAAK,KAL5B,IAAI,CAAC,EAAE,CAMX,CACN,CAAC,GACC,IACD,IACF,IACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .feed{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);display:grid;justify-content:stretch;gap:14px;padding:18px;border-radius:14px;box-shadow:0 30px 60px -30px color-mix(in srgb, var(--foreground) 35%, transparent)}.header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);font-family:var(--monospace);font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}.live{display:inline-flex;align-items:center;gap:8px}.live i{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:feed-live 2.4s infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes feed-live{70%{box-shadow:0 0 0 8px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.viewing{display:inline-flex;align-items:center;gap:6px}.places{display:inline-grid;justify-items:start}.places b{grid-area:1/1;font-weight:400;color:var(--foreground);opacity:0}.places b:nth-child(1){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 0s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(1){animation:none}}.places b:nth-child(2){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 3s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(2){animation:none}}.places b:nth-child(3){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 6s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(3){animation:none}}.places b:nth-child(4){animation:feed-place 12s cubic-bezier(0.22, 1, 0.36, 1) infinite 9s backwards}@media(prefers-reduced-motion: reduce){.places b:nth-child(4){animation:none}}@media(prefers-reduced-motion: reduce){.places b:first-child{opacity:1}}@keyframes feed-place{0%{opacity:0;transform:translateY(6px)}6%,22%{opacity:1;transform:none}28%,100%{opacity:0;transform:translateY(-6px)}}.events{display:grid;justify-content:stretch;gap:8px;margin:0;padding:0;list-style:none}.events li{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:14px}.events li:nth-child(1){animation:feed-event-1 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(1){animation:none}}.events li:nth-child(1) .check,.events li:nth-child(1) .person{animation:feed-check-1 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(1) .check,.events li:nth-child(1) .person{animation:none}}.events li:nth-child(2){animation:feed-event-2 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(2){animation:none}}.events li:nth-child(2) .check,.events li:nth-child(2) .person{animation:feed-check-2 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(2) .check,.events li:nth-child(2) .person{animation:none}}.events li:nth-child(3){animation:feed-event-3 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(3){animation:none}}.events li:nth-child(3) .check,.events li:nth-child(3) .person{animation:feed-check-3 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(3) .check,.events li:nth-child(3) .person{animation:none}}.events li:nth-child(4){animation:feed-event-4 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(4){animation:none}}.events li:nth-child(4) .check,.events li:nth-child(4) .person{animation:feed-check-4 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(4) .check,.events li:nth-child(4) .person{animation:none}}.events li:nth-child(5){animation:feed-event-5 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(5){animation:none}}.events li:nth-child(5) .check,.events li:nth-child(5) .person{animation:feed-check-5 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(5) .check,.events li:nth-child(5) .person{animation:none}}.events li:nth-child(6){animation:feed-event-6 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(6){animation:none}}.events li:nth-child(6) .check,.events li:nth-child(6) .person{animation:feed-check-6 10s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.events li:nth-child(6) .check,.events li:nth-child(6) .person{animation:none}}.events span{flex:1}.events time{font-size:11px;color:var(--foreground-3)}@keyframes feed-event-1{0%,4%{opacity:.25;transform:translateX(-8px)}9%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-1{0%,8%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}12%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-2{0%,16%{opacity:.25;transform:translateX(-8px)}21%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-2{0%,20%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}24%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-3{0%,28%{opacity:.25;transform:translateX(-8px)}33%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-3{0%,32%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}36%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-4{0%,40%{opacity:.25;transform:translateX(-8px)}45%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-4{0%,44%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}48%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-5{0%,52%{opacity:.25;transform:translateX(-8px)}57%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-5{0%,56%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}60%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}@keyframes feed-event-6{0%,64%{opacity:.25;transform:translateX(-8px)}69%,90%{opacity:1;transform:none}97%,100%{opacity:.25;transform:none}}@keyframes feed-check-6{0%,68%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}72%,90%{background:var(--foreground);color:var(--background)}97%,100%{background:rgba(0,0,0,0);color:rgba(0,0,0,0)}}.check{position:relative;flex:none;width:18px;height:18px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;color:var(--background);background:var(--foreground)}.check::after{content:"";position:absolute;left:5.5px;top:3px;width:4px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.person{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%;font-family:var(--monospace);font-size:10px;font-style:normal;font-weight:600;line-height:1}.tabs{position:relative;display:grid;grid-template-columns:repeat(3, 1fr);justify-items:center;padding-bottom:8px;border-bottom:1px solid var(--line-2);font-size:12.5px;font-weight:500;color:var(--foreground-3)}.tabs span{animation:feed-tab 30s linear infinite backwards}@media(prefers-reduced-motion: reduce){.tabs span{animation:none}}.tabs span:nth-child(1){color:var(--foreground)}.tabs span:nth-child(2){animation-delay:10s}.tabs span:nth-child(3){animation-delay:20s}@keyframes feed-tab{0%,32%{color:var(--foreground)}34%,100%{color:var(--foreground-3)}}.underline{position:absolute;left:0;bottom:-1px;width:33.3333333333%;height:2px;background:var(--foreground);animation:feed-underline 30s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.underline{animation:none}}@keyframes feed-underline{0%,31%{transform:translateX(0)}34%,64%{transform:translateX(100%)}67%,97%{transform:translateX(200%)}100%{transform:translateX(0)}}.panes{display:grid;justify-content:stretch}.panes>*{grid-area:1/1;opacity:0;animation:feed-pane 30s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.panes>*{animation:none}}.panes>*:nth-child(1){opacity:1}.panes>*:nth-child(2){animation-delay:10s}.panes>*:nth-child(3){animation-delay:20s}@keyframes feed-pane{0%{opacity:0;transform:translateY(6px)}2%,31%{opacity:1;transform:none}33.3%,100%{opacity:0;transform:none}}.title{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.title b{font-weight:600;letter-spacing:-0.02em}.title small{display:block;font-size:12px;color:var(--foreground-3)}.client .title{justify-content:flex-start}.chip{flex:none;padding:3px 9px;border:1px solid var(--line-2);border-radius:99px;font-size:11.5px;color:var(--foreground-2)}.project,.client{display:grid;justify-content:stretch;align-content:start;gap:14px}.meter{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:12.5px;color:var(--foreground-2);text-align:left}.meter b{color:var(--foreground);font-weight:600}.meter i{grid-column:1/-1;height:6px;border-radius:99px;background:linear-gradient(var(--foreground), var(--foreground)) 0 0/var(--to) 100% no-repeat,color-mix(in srgb, var(--foreground) 20%, transparent);animation:feed-fill 30s cubic-bezier(0.22, 1, 0.36, 1) infinite 10s backwards}@media(prefers-reduced-motion: reduce){.meter i{animation:none}}@keyframes feed-fill{0%,2%{background-size:0 100%,auto}14%,100%{background-size:var(--to) 100%,auto}}.milestones,.history{display:grid;justify-content:stretch;gap:8px;margin:0;padding:0;list-style:none}.milestones li,.history li{display:flex;align-items:center;justify-content:flex-start;gap:10px;font-size:13.5px;text-align:left}.milestones li i,.history li i{flex:none;width:10px;height:10px;border:1.5px solid color-mix(in srgb, var(--foreground) 50%, transparent);border-radius:50%}.milestones li[data-state=done] i,.history li[data-state=done] i{border-color:var(--foreground);background:var(--foreground)}.milestones li[data-state=now] i,.history li[data-state=now] i{border-color:var(--foreground);box-shadow:0 0 0 3px color-mix(in srgb, var(--foreground) 20%, transparent)}.milestones li[data-state=next],.history li[data-state=next]{color:var(--foreground-3)}.history li{padding:8px 10px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background))}.history li span{flex:1}.history li small{margin-left:6px;font-size:11.5px;color:var(--foreground-3)}.history li b{font-weight:600}.figures{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px}.figures>span{display:grid;justify-items:start;gap:2px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11.5px;color:var(--foreground-3)}.figures b{font-size:16px;font-weight:600;letter-spacing:-0.02em;color:var(--foreground)}.label{font-size:11.5px;font-family:var(--monospace);letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3);text-align:left}.avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--foreground);color:var(--background);font-size:13px;font-weight:600}
@@ -0,0 +1,472 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ /* One round: the events tick in one after another, hold, and clear for the next round. */
5
+ $round: 10s;
6
+ $events: 6;
7
+ /* The places it's viewed from, one after another. */
8
+ $places: 4;
9
+ $place: 3s;
10
+
11
+ .feed {
12
+ @include face;
13
+ display: grid;
14
+ justify-content: stretch;
15
+ gap: 14px;
16
+ padding: 18px;
17
+ border-radius: 14px;
18
+ box-shadow: 0 30px 60px -30px tint($glow);
19
+ }
20
+ .header {
21
+ display: flex;
22
+ flex-wrap: wrap;
23
+ align-items: center;
24
+ justify-content: space-between;
25
+ gap: 8px 16px;
26
+ padding-bottom: 12px;
27
+ border-bottom: 1px dashed var(--line-2);
28
+ font-family: var(--monospace);
29
+ font-size: 11.5px;
30
+ letter-spacing: 0.04em;
31
+ text-transform: uppercase;
32
+ color: var(--foreground-2);
33
+ }
34
+ .live {
35
+ display: inline-flex;
36
+ align-items: center;
37
+ gap: 8px;
38
+ i {
39
+ width: 7px;
40
+ height: 7px;
41
+ border-radius: 50%;
42
+ background: var(--foreground);
43
+ box-shadow: 0 0 0 0 tint(60%);
44
+ @include loop(feed-live 2.4s infinite);
45
+ }
46
+ }
47
+ @keyframes feed-live {
48
+ 70% {
49
+ box-shadow: 0 0 0 8px tint(0%);
50
+ }
51
+ 100% {
52
+ box-shadow: 0 0 0 0 tint(0%);
53
+ }
54
+ }
55
+ .viewing {
56
+ display: inline-flex;
57
+ align-items: center;
58
+ gap: 6px;
59
+ }
60
+ /* The places share one spot, each showing in turn. */
61
+ .places {
62
+ display: inline-grid;
63
+ justify-items: start;
64
+ b {
65
+ grid-area: 1 / 1;
66
+ font-weight: 400;
67
+ color: var(--foreground);
68
+ opacity: 0;
69
+ @for $index from 1 through $places {
70
+ &:nth-child(#{$index}) {
71
+ @include loop(feed-place ($place * $places) $ease infinite ($place * ($index - 1)) backwards);
72
+ }
73
+ }
74
+ }
75
+ @media (prefers-reduced-motion: reduce) {
76
+ b:first-child {
77
+ opacity: 1;
78
+ }
79
+ }
80
+ }
81
+ @keyframes feed-place {
82
+ 0% {
83
+ opacity: 0;
84
+ transform: translateY(6px);
85
+ }
86
+ 6%,
87
+ 22% {
88
+ opacity: 1;
89
+ transform: none;
90
+ }
91
+ 28%,
92
+ 100% {
93
+ opacity: 0;
94
+ transform: translateY(-6px);
95
+ }
96
+ }
97
+ .events {
98
+ display: grid;
99
+ justify-content: stretch;
100
+ gap: 8px;
101
+ margin: 0;
102
+ padding: 0;
103
+ list-style: none;
104
+ li {
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: flex-start;
108
+ gap: 12px;
109
+ padding: 10px 12px;
110
+ border: 1px solid var(--line-2);
111
+ border-radius: 10px;
112
+ background: surface($hint);
113
+ font-size: 14px;
114
+ @for $index from 1 through $events {
115
+ &:nth-child(#{$index}) {
116
+ @include loop(feed-event-#{$index} $round $ease infinite);
117
+ .check,
118
+ .person {
119
+ @include loop(feed-check-#{$index} $round $ease infinite);
120
+ }
121
+ }
122
+ }
123
+ }
124
+ span {
125
+ flex: 1;
126
+ }
127
+ time {
128
+ font-size: 11px;
129
+ color: var(--foreground-3);
130
+ }
131
+ }
132
+ /* Each event slides in at its turn, its tick filling a moment later; they all clear together at the end. */
133
+ @for $index from 1 through $events {
134
+ $start: 4% + ($index - 1) * 12%;
135
+ @keyframes feed-event-#{$index} {
136
+ 0%,
137
+ #{$start} {
138
+ opacity: 0.25;
139
+ transform: translateX(-8px);
140
+ }
141
+ #{$start + 5%},
142
+ 90% {
143
+ opacity: 1;
144
+ transform: none;
145
+ }
146
+ 97%,
147
+ 100% {
148
+ opacity: 0.25;
149
+ transform: none;
150
+ }
151
+ }
152
+ @keyframes feed-check-#{$index} {
153
+ 0%,
154
+ #{$start + 4%} {
155
+ background: transparent;
156
+ color: transparent;
157
+ }
158
+ #{$start + 8%},
159
+ 90% {
160
+ background: var(--foreground);
161
+ color: var(--background);
162
+ }
163
+ 97%,
164
+ 100% {
165
+ background: transparent;
166
+ color: transparent;
167
+ }
168
+ }
169
+ }
170
+ /* A tick in a circle: the circle fills and the tick shows once the event is done. */
171
+ .check {
172
+ position: relative;
173
+ flex: none;
174
+ width: 18px;
175
+ height: 18px;
176
+ border: 1px solid tint($edge);
177
+ border-radius: 50%;
178
+ color: var(--background);
179
+ background: var(--foreground);
180
+ &::after {
181
+ content: "";
182
+ position: absolute;
183
+ left: 5.5px;
184
+ top: 3px;
185
+ width: 4px;
186
+ height: 8px;
187
+ border-right: 1.5px solid currentColor;
188
+ border-bottom: 1.5px solid currentColor;
189
+ transform: rotate(45deg);
190
+ }
191
+ }
192
+ /* A person's initial in a circle, in place of the tick: this one was done by hand, and ticked off on a phone. */
193
+ .person {
194
+ display: grid;
195
+ place-items: center;
196
+ flex: none;
197
+ width: 18px;
198
+ height: 18px;
199
+ border: 1px solid tint($edge);
200
+ border-radius: 50%;
201
+ font-family: var(--monospace);
202
+ font-size: 10px;
203
+ font-style: normal;
204
+ font-weight: 600;
205
+ line-height: 1;
206
+ }
207
+ /* The three tabs take turns, ten seconds each (one round of the activity), the underline sliding under the one shown. */
208
+ $tab: 10s;
209
+ $cycle: $tab * 3;
210
+
211
+ .tabs {
212
+ position: relative;
213
+ display: grid;
214
+ grid-template-columns: repeat(3, 1fr);
215
+ justify-items: center;
216
+ padding-bottom: 8px;
217
+ border-bottom: 1px solid var(--line-2);
218
+ font-size: 12.5px;
219
+ font-weight: 500;
220
+ color: var(--foreground-3);
221
+ span {
222
+ @include loop(feed-tab $cycle linear infinite backwards);
223
+ &:nth-child(1) {
224
+ color: var(--foreground);
225
+ }
226
+ &:nth-child(2) {
227
+ animation-delay: $tab;
228
+ }
229
+ &:nth-child(3) {
230
+ animation-delay: $tab * 2;
231
+ }
232
+ }
233
+ }
234
+ @keyframes feed-tab {
235
+ 0%,
236
+ 32% {
237
+ color: var(--foreground);
238
+ }
239
+ 34%,
240
+ 100% {
241
+ color: var(--foreground-3);
242
+ }
243
+ }
244
+ .underline {
245
+ position: absolute;
246
+ left: 0;
247
+ bottom: -1px;
248
+ width: calc(100% / 3);
249
+ height: 2px;
250
+ background: var(--foreground);
251
+ @include loop(feed-underline $cycle $ease infinite);
252
+ }
253
+ @keyframes feed-underline {
254
+ 0%,
255
+ 31% {
256
+ transform: translateX(0);
257
+ }
258
+ 34%,
259
+ 64% {
260
+ transform: translateX(100%);
261
+ }
262
+ 67%,
263
+ 97% {
264
+ transform: translateX(200%);
265
+ }
266
+ 100% {
267
+ transform: translateX(0);
268
+ }
269
+ }
270
+ /* The panes share one place; each shows during its tab's turn. */
271
+ .panes {
272
+ display: grid;
273
+ justify-content: stretch;
274
+ > * {
275
+ grid-area: 1 / 1;
276
+ opacity: 0;
277
+ @include loop(feed-pane $cycle $ease infinite backwards);
278
+ &:nth-child(1) {
279
+ opacity: 1;
280
+ }
281
+ &:nth-child(2) {
282
+ animation-delay: $tab;
283
+ }
284
+ &:nth-child(3) {
285
+ animation-delay: $tab * 2;
286
+ }
287
+ }
288
+ }
289
+ @keyframes feed-pane {
290
+ 0% {
291
+ opacity: 0;
292
+ transform: translateY(6px);
293
+ }
294
+ 2%,
295
+ 31% {
296
+ opacity: 1;
297
+ transform: none;
298
+ }
299
+ 33.3%,
300
+ 100% {
301
+ opacity: 0;
302
+ transform: none;
303
+ }
304
+ }
305
+ /* A pane's heading: the project, or the client, with its badge. */
306
+ .title {
307
+ display: flex;
308
+ align-items: center;
309
+ justify-content: space-between;
310
+ gap: 10px;
311
+ text-align: left;
312
+ b {
313
+ font-weight: 600;
314
+ letter-spacing: -0.02em;
315
+ }
316
+ small {
317
+ display: block;
318
+ font-size: 12px;
319
+ color: var(--foreground-3);
320
+ }
321
+ }
322
+ .client .title {
323
+ justify-content: flex-start;
324
+ }
325
+ .chip {
326
+ flex: none;
327
+ padding: 3px 9px;
328
+ border: 1px solid var(--line-2);
329
+ border-radius: 99px;
330
+ font-size: 11.5px;
331
+ color: var(--foreground-2);
332
+ }
333
+ .project,
334
+ .client {
335
+ display: grid;
336
+ justify-content: stretch;
337
+ align-content: start;
338
+ gap: 14px;
339
+ }
340
+ /* The project's progress: a bar filling when the tab comes round. */
341
+ .meter {
342
+ display: grid;
343
+ grid-template-columns: 1fr auto;
344
+ gap: 6px;
345
+ font-size: 12.5px;
346
+ color: var(--foreground-2);
347
+ text-align: left;
348
+ b {
349
+ color: var(--foreground);
350
+ font-weight: 600;
351
+ }
352
+ i {
353
+ grid-column: 1 / -1;
354
+ height: 6px;
355
+ border-radius: 99px;
356
+ background:
357
+ linear-gradient(var(--foreground), var(--foreground)) 0 0 / var(--to) 100% no-repeat,
358
+ tint($faint);
359
+ @include loop(feed-fill $cycle $ease infinite $tab backwards);
360
+ }
361
+ }
362
+ @keyframes feed-fill {
363
+ 0%,
364
+ 2% {
365
+ background-size:
366
+ 0 100%,
367
+ auto;
368
+ }
369
+ 14%,
370
+ 100% {
371
+ background-size:
372
+ var(--to) 100%,
373
+ auto;
374
+ }
375
+ }
376
+ /* Milestones and past projects: a dot that's filled when done, ringed and lit when under way, faint when to come. */
377
+ .milestones,
378
+ .history {
379
+ display: grid;
380
+ justify-content: stretch;
381
+ gap: 8px;
382
+ margin: 0;
383
+ padding: 0;
384
+ list-style: none;
385
+ li {
386
+ display: flex;
387
+ align-items: center;
388
+ justify-content: flex-start;
389
+ gap: 10px;
390
+ font-size: 13.5px;
391
+ text-align: left;
392
+ i {
393
+ flex: none;
394
+ width: 10px;
395
+ height: 10px;
396
+ border: 1.5px solid tint($edge);
397
+ border-radius: 50%;
398
+ }
399
+ &[data-state="done"] i {
400
+ border-color: var(--foreground);
401
+ background: var(--foreground);
402
+ }
403
+ &[data-state="now"] i {
404
+ border-color: var(--foreground);
405
+ box-shadow: 0 0 0 3px tint($faint);
406
+ }
407
+ &[data-state="next"] {
408
+ color: var(--foreground-3);
409
+ }
410
+ }
411
+ }
412
+ .history li {
413
+ padding: 8px 10px;
414
+ border: 1px solid var(--line-2);
415
+ border-radius: 10px;
416
+ background: surface($hint);
417
+ span {
418
+ flex: 1;
419
+ }
420
+ small {
421
+ margin-left: 6px;
422
+ font-size: 11.5px;
423
+ color: var(--foreground-3);
424
+ }
425
+ b {
426
+ font-weight: 600;
427
+ }
428
+ }
429
+ /* Figures side by side: a label over a big number. */
430
+ .figures {
431
+ display: grid;
432
+ grid-auto-flow: column;
433
+ grid-auto-columns: 1fr;
434
+ gap: 8px;
435
+ > span {
436
+ display: grid;
437
+ justify-items: start;
438
+ gap: 2px;
439
+ padding: 10px 12px;
440
+ border: 1px solid var(--line-2);
441
+ border-radius: 10px;
442
+ background: surface($hint);
443
+ font-size: 11.5px;
444
+ color: var(--foreground-3);
445
+ }
446
+ b {
447
+ font-size: 16px;
448
+ font-weight: 600;
449
+ letter-spacing: -0.02em;
450
+ color: var(--foreground);
451
+ }
452
+ }
453
+ .label {
454
+ font-size: 11.5px;
455
+ font-family: var(--monospace);
456
+ letter-spacing: 0.04em;
457
+ text-transform: uppercase;
458
+ color: var(--foreground-3);
459
+ text-align: left;
460
+ }
461
+ .avatar {
462
+ display: grid;
463
+ place-items: center;
464
+ flex: none;
465
+ width: 36px;
466
+ height: 36px;
467
+ border-radius: 50%;
468
+ background: var(--foreground);
469
+ color: var(--background);
470
+ font-size: 13px;
471
+ font-weight: 600;
472
+ }
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
- export interface BrandPartsProperties {
2
+ export interface FeedProperties {
3
3
  locale: Locale;
4
4
  }
5
5
  //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/about/feed/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/about/feed/type.ts"],"names":[],"mappings":""}
@@ -1,9 +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 its two halves as numbered chapters, each told in one picture.
5
- * 01, the brand: five tiles of everything customers see. 02, the platform: a flow from the customers, through the
6
- * platform, to the team, with the owner watching it all live.
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.
7
8
  */
8
9
  export declare function About({ locale }: AboutProperties): import("react").JSX.Element;
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,EAAE,eAAe,+BAwBhD"}
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"}
@@ -2,24 +2,21 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Reveal } from "@sharadox/animation-web-library/reveal";
3
3
  import { ScrollWords } from "@sharadox/animation-web-library/scroll-word";
4
4
  import { translate } from "@sharadox/internationalization-web-library/translate";
5
- import { BrandParts } from "@sharadox/sharadox-web-library/component/about/brand-parts";
6
- import { PlatformFlow } from "@sharadox/sharadox-web-library/component/about/platform-flow";
7
5
  import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
6
+ import { Feed } from "@sharadox/sharadox-web-library/component/about/feed";
8
7
  import { Section } from "@sharadox/sharadox-web-library/component/section";
9
8
  import { ABOUT } from "@sharadox/sharadox-web-library/content/about";
10
9
  import { SECTION } from "@sharadox/sharadox-web-library/content/section";
11
10
  import styles from "./index.module.css";
12
11
  /**
13
12
  * Between the hero and the services: a sentence that lights up as it scrolls (the brand everywhere online, and the
14
- * system that runs the business behind it), then its two halves as numbered chapters, each told in one picture.
15
- * 01, the brand: five tiles of everything customers see. 02, the platform: a flow from the customers, through the
16
- * platform, to the team, with the owner watching it all live.
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.
17
17
  */
18
18
  export function About({ locale }) {
19
- const { brand, platform } = ABOUT;
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 }), [
21
- { chapter: brand, picture: _jsx(BrandParts, { locale: locale }), key: "brand" },
22
- { chapter: platform, picture: _jsx(PlatformFlow, { locale: locale }), key: "platform" },
23
- ].map(({ chapter, picture, key }) => (_jsxs("div", { className: styles.chapter, "data-chapter": key, children: [_jsxs(Reveal, { className: styles.heading, children: [_jsx("span", { className: `${styles.number} monospace`, children: chapter.number }), _jsx(Eyebrow, { className: styles.eyebrow, children: translate(chapter.eyebrow, locale) }), _jsx("h3", { className: styles.title, children: translate(chapter.title, locale) }), _jsx("p", { className: styles.text, children: translate(chapter.text, locale) })] }), _jsx(Reveal, { delay: 0.1, className: styles.picture, children: picture })] }, key)))] }));
19
+ const { brand, business } = ABOUT;
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))) })] })] })] }));
24
21
  }
25
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/about/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,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