@sharadox/sharadox-web-library 0.31.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/distribution/component/about/feed/index.d.ts +9 -0
- package/distribution/component/about/feed/index.d.ts.map +1 -0
- package/distribution/component/about/feed/index.js +17 -0
- package/distribution/component/about/feed/index.js.map +1 -0
- package/distribution/component/about/feed/index.module.css +1 -0
- package/distribution/component/about/feed/index.module.scss +206 -0
- package/distribution/component/{touchpoint → about/feed}/type.d.ts +1 -1
- package/distribution/component/about/feed/type.d.ts.map +1 -0
- package/distribution/component/about/feed/type.js.map +1 -0
- package/distribution/component/about/index.d.ts +8 -0
- package/distribution/component/about/index.d.ts.map +1 -0
- package/distribution/component/about/index.js +20 -0
- package/distribution/component/about/index.js.map +1 -0
- package/distribution/component/about/index.module.css +1 -0
- package/distribution/component/about/index.module.scss +129 -0
- package/distribution/component/about/type.d.ts +5 -0
- package/distribution/component/about/type.d.ts.map +1 -0
- package/distribution/component/about/type.js.map +1 -0
- package/distribution/component/capability/index.d.ts +1 -1
- package/distribution/component/capability/index.d.ts.map +1 -1
- package/distribution/component/capability/index.js +3 -2
- package/distribution/component/capability/index.js.map +1 -1
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +41 -0
- package/distribution/component/eyebrow/index.module.css +1 -1
- package/distribution/component/eyebrow/index.module.scss +1 -0
- package/distribution/component/faq/index.d.ts +9 -0
- package/distribution/component/faq/index.d.ts.map +1 -0
- package/distribution/component/faq/index.js +33 -0
- package/distribution/component/faq/index.js.map +1 -0
- package/distribution/component/faq/index.module.css +1 -0
- package/distribution/component/faq/index.module.scss +84 -0
- package/distribution/component/faq/type.d.ts +5 -0
- package/distribution/component/faq/type.d.ts.map +1 -0
- package/distribution/component/faq/type.js.map +1 -0
- package/distribution/component/footer/index.d.ts +2 -2
- package/distribution/component/footer/index.js +4 -4
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +10 -30
- package/distribution/component/hero/index.module.css +1 -1
- package/distribution/component/hero/index.module.scss +6 -0
- package/distribution/component/process/index.d.ts +1 -1
- package/distribution/component/process/index.d.ts.map +1 -1
- package/distribution/component/process/index.js +13 -3
- package/distribution/component/process/index.js.map +1 -1
- package/distribution/component/process/index.module.css +1 -1
- package/distribution/component/process/index.module.scss +2 -0
- package/distribution/component/process/measure-stops/index.d.ts +10 -0
- package/distribution/component/process/measure-stops/index.d.ts.map +1 -0
- package/distribution/component/process/measure-stops/index.js +21 -0
- package/distribution/component/process/measure-stops/index.js.map +1 -0
- package/distribution/component/process/step/index.d.ts +2 -2
- package/distribution/component/process/step/index.d.ts.map +1 -1
- package/distribution/component/process/step/index.js +4 -5
- package/distribution/component/process/step/index.js.map +1 -1
- package/distribution/component/process/step/type.d.ts +2 -2
- package/distribution/component/process/step/type.d.ts.map +1 -1
- package/distribution/component/section-indicator/index.module.css +1 -1
- package/distribution/component/section-indicator/index.module.scss +17 -1
- package/distribution/component/service-object/rebranding/index.d.ts +3 -3
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -1
- package/distribution/component/service-object/rebranding/index.js +19 -6
- package/distribution/component/service-object/rebranding/index.js.map +1 -1
- package/distribution/component/service-object/rebranding/index.module.css +1 -1
- package/distribution/component/service-object/rebranding/index.module.scss +85 -140
- package/distribution/component/service-unlisted/index.d.ts +2 -2
- package/distribution/component/service-unlisted/index.d.ts.map +1 -1
- package/distribution/component/service-unlisted/index.js +4 -4
- package/distribution/component/service-unlisted/index.js.map +1 -1
- package/distribution/component/service-unlisted/index.module.css +1 -1
- package/distribution/component/service-unlisted/index.module.scss +7 -6
- package/distribution/component/services/index.d.ts +2 -2
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +3 -4
- package/distribution/component/services/index.js.map +1 -1
- package/distribution/content/about/index.d.ts +113 -0
- package/distribution/content/about/index.d.ts.map +1 -0
- package/distribution/content/about/index.js +77 -0
- package/distribution/content/about/index.js.map +1 -0
- package/distribution/content/capability/index.d.ts +27 -1
- package/distribution/content/capability/index.d.ts.map +1 -1
- package/distribution/content/capability/index.js +19 -1
- package/distribution/content/capability/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +1 -1
- package/distribution/content/faq/index.d.ts +113 -0
- package/distribution/content/faq/index.d.ts.map +1 -0
- package/distribution/content/faq/index.js +106 -0
- package/distribution/content/faq/index.js.map +1 -0
- package/distribution/content/navigation/index.d.ts +8 -4
- package/distribution/content/navigation/index.d.ts.map +1 -1
- package/distribution/content/navigation/index.js +1 -1
- package/distribution/content/navigation/index.js.map +1 -1
- package/distribution/content/section/index.d.ts +10 -5
- package/distribution/content/section/index.d.ts.map +1 -1
- package/distribution/content/section/index.js +2 -1
- package/distribution/content/section/index.js.map +1 -1
- package/distribution/content/section-indicator/index.d.ts +8 -4
- package/distribution/content/section-indicator/index.d.ts.map +1 -1
- package/distribution/content/section-indicator/index.js +2 -1
- package/distribution/content/section-indicator/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +12 -12
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +71 -21
- package/distribution/content/services/index.js.map +1 -1
- package/llms.txt +4 -2
- package/package.json +2 -2
- package/distribution/component/statement/index.d.ts +0 -4
- package/distribution/component/statement/index.d.ts.map +0 -1
- package/distribution/component/statement/index.js +0 -10
- package/distribution/component/statement/index.js.map +0 -1
- package/distribution/component/statement/index.module.css +0 -1
- package/distribution/component/statement/index.module.scss +0 -10
- package/distribution/component/statement/type.d.ts +0 -4
- package/distribution/component/statement/type.d.ts.map +0 -1
- package/distribution/component/statement/type.js.map +0 -1
- package/distribution/component/touchpoint/index.d.ts +0 -7
- package/distribution/component/touchpoint/index.d.ts.map +0 -1
- package/distribution/component/touchpoint/index.js +0 -26
- package/distribution/component/touchpoint/index.js.map +0 -1
- package/distribution/component/touchpoint/index.module.css +0 -1
- package/distribution/component/touchpoint/index.module.scss +0 -76
- package/distribution/component/touchpoint/plate/index.d.ts +0 -4
- package/distribution/component/touchpoint/plate/index.d.ts.map +0 -1
- package/distribution/component/touchpoint/plate/index.js +0 -9
- package/distribution/component/touchpoint/plate/index.js.map +0 -1
- package/distribution/component/touchpoint/plate/index.module.css +0 -1
- package/distribution/component/touchpoint/plate/index.module.scss +0 -135
- package/distribution/component/touchpoint/plate/type.d.ts +0 -8
- package/distribution/component/touchpoint/plate/type.d.ts.map +0 -1
- package/distribution/component/touchpoint/plate/type.js.map +0 -1
- package/distribution/component/touchpoint/type.d.ts.map +0 -1
- package/distribution/component/touchpoint/type.js.map +0 -1
- package/distribution/content/statement/index.d.ts +0 -6
- package/distribution/content/statement/index.d.ts.map +0 -1
- package/distribution/content/statement/index.js +0 -6
- package/distribution/content/statement/index.js.map +0 -1
- package/distribution/content/touchpoint/index.d.ts +0 -37
- package/distribution/content/touchpoint/index.d.ts.map +0 -1
- package/distribution/content/touchpoint/index.js +0 -17
- package/distribution/content/touchpoint/index.js.map +0 -1
- /package/distribution/component/{statement → about/feed}/type.js +0 -0
- /package/distribution/component/{touchpoint/plate → about}/type.js +0 -0
- /package/distribution/component/{touchpoint → faq}/type.js +0 -0
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ 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; then a row of everything legal; then the copyright and Back to top)
|
|
37
|
-
- hero and its guides, service index,
|
|
38
|
-
-
|
|
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
|
|
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, `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
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FeedProperties } from "@sharadox/sharadox-web-library/component/about/feed/type";
|
|
2
|
+
/**
|
|
3
|
+
* The platform at work, as a live feed: what has just happened ticking in one by one. Some of it done on its own (an
|
|
4
|
+
* order in, the invoice sent, the customer told, the stock updated), some by people through it (John packed the
|
|
5
|
+
* order, Mary loaded the van; their initials stand in for the tick). Meanwhile the place it's being looked at from
|
|
6
|
+
* changes (Lisbon, London, New York, Tokyo). A picture, so it's hidden from assistive technology.
|
|
7
|
+
*/
|
|
8
|
+
export declare function Feed({ locale }: FeedProperties): import("react").JSX.Element;
|
|
9
|
+
//# 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":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAK/F;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,+BA6B9C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
/**
|
|
8
|
+
* The platform at work, as a live feed: what has just happened ticking in one by one. Some of it done on its own (an
|
|
9
|
+
* order in, the invoice sent, the customer told, the stock updated), some by people through it (John packed the
|
|
10
|
+
* order, Mary loaded the van; their initials stand in for the tick). Meanwhile the place it's being looked at from
|
|
11
|
+
* changes (Lisbon, London, New York, Tokyo). A picture, so it's hidden from assistive technology.
|
|
12
|
+
*/
|
|
13
|
+
export function Feed({ locale }) {
|
|
14
|
+
const { feed } = ABOUT.business;
|
|
15
|
+
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))) })] })] }), _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))) })] }));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/about/feed/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SA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F,yBAAO,KAAK,CAAC,MAAM,CAAC,GAAQ,EAC5B,eAAM,SAAS,EAAC,WAAW,YAAE,MAAM,CAAC,KAAK,CAAC,GAAQ,KAH3C,KAAK,CAAC,EAAE,CAIZ,CACN,CAAC,GACC,IACD,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}
|
|
@@ -0,0 +1,206 @@
|
|
|
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
|
+
}
|
|
@@ -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":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AboutProperties } from "@sharadox/sharadox-web-library/component/about/type";
|
|
2
|
+
/**
|
|
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.
|
|
6
|
+
*/
|
|
7
|
+
export declare function About({ locale }: AboutProperties): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
3
|
+
import { ScrollWords } from "@sharadox/animation-web-library/scroll-word";
|
|
4
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
5
|
+
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
6
|
+
import { Feed } from "@sharadox/sharadox-web-library/component/about/feed";
|
|
7
|
+
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
8
|
+
import { ABOUT } from "@sharadox/sharadox-web-library/content/about";
|
|
9
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
10
|
+
import styles from "./index.module.css";
|
|
11
|
+
/**
|
|
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.
|
|
15
|
+
*/
|
|
16
|
+
export function About({ locale }) {
|
|
17
|
+
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 })] })] })] }));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;GAIG;AACH,MAAM,UAAU,KAAK,CAAC,EAAE,MAAM,EAAmB;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AAI,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,IACD,EACN,KAAC,IAAI,IAAC,MAAM,EAAE,MAAM,GAAI,IACjB,IACL,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +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}}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.about {
|
|
4
|
+
padding-block: clamp(100px, 16vh, 180px) clamp(72px, 10vw, 128px);
|
|
5
|
+
}
|
|
6
|
+
/* The sentence that lights up as it scrolls. */
|
|
7
|
+
.statement {
|
|
8
|
+
margin-top: 24px;
|
|
9
|
+
font-size: clamp(1.9rem, 4.2vw, 3.8rem);
|
|
10
|
+
font-weight: 500;
|
|
11
|
+
letter-spacing: -0.045em;
|
|
12
|
+
line-height: 1.08;
|
|
13
|
+
max-width: 24ch;
|
|
14
|
+
}
|
|
15
|
+
/* The two halves, as grid cells with hairlines between them: the brand narrow, the business wide. */
|
|
16
|
+
.panels {
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-columns: 1fr 2fr;
|
|
19
|
+
align-items: stretch;
|
|
20
|
+
gap: 1px;
|
|
21
|
+
margin-top: clamp(56px, 8vw, 96px);
|
|
22
|
+
border: 1px solid var(--line);
|
|
23
|
+
border-radius: 18px;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
background: var(--line);
|
|
26
|
+
> * {
|
|
27
|
+
background: var(--background);
|
|
28
|
+
padding: clamp(24px, 3vw, 40px);
|
|
29
|
+
}
|
|
30
|
+
h3 {
|
|
31
|
+
font-size: clamp(1.6rem, 2.6vw, 2.3rem);
|
|
32
|
+
letter-spacing: -0.04em;
|
|
33
|
+
text-wrap: balance;
|
|
34
|
+
}
|
|
35
|
+
p {
|
|
36
|
+
color: var(--foreground-2);
|
|
37
|
+
text-wrap: pretty;
|
|
38
|
+
}
|
|
39
|
+
@include below(1000px) {
|
|
40
|
+
grid-template-columns: 1fr;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
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. */
|
|
51
|
+
.parts {
|
|
52
|
+
display: grid;
|
|
53
|
+
justify-content: stretch;
|
|
54
|
+
align-content: end;
|
|
55
|
+
flex: 1;
|
|
56
|
+
margin: 8px 0 0;
|
|
57
|
+
padding: 0;
|
|
58
|
+
list-style: none;
|
|
59
|
+
counter-reset: part;
|
|
60
|
+
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);
|
|
67
|
+
font-weight: 500;
|
|
68
|
+
letter-spacing: -0.02em;
|
|
69
|
+
counter-increment: part;
|
|
70
|
+
&::before {
|
|
71
|
+
content: counter(part, decimal-leading-zero);
|
|
72
|
+
font-family: var(--monospace);
|
|
73
|
+
font-size: 11.5px;
|
|
74
|
+
font-weight: 400;
|
|
75
|
+
color: var(--foreground-3);
|
|
76
|
+
}
|
|
77
|
+
&:last-child {
|
|
78
|
+
border-bottom: 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
/* The business: its copy and points beside the live feed; lit from behind, as the half that matters most. */
|
|
83
|
+
.business {
|
|
84
|
+
display: grid;
|
|
85
|
+
grid-template-columns: 1fr 1fr;
|
|
86
|
+
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) {
|
|
90
|
+
grid-template-columns: 1fr;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
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. */
|
|
100
|
+
.points {
|
|
101
|
+
display: grid;
|
|
102
|
+
justify-content: stretch;
|
|
103
|
+
gap: 12px;
|
|
104
|
+
margin: 8px 0 0;
|
|
105
|
+
padding: 18px 0 0;
|
|
106
|
+
border-top: 1px dashed var(--line-2);
|
|
107
|
+
list-style: none;
|
|
108
|
+
li {
|
|
109
|
+
display: grid;
|
|
110
|
+
grid-template-columns: 7.5em 1fr;
|
|
111
|
+
align-items: baseline;
|
|
112
|
+
gap: 12px;
|
|
113
|
+
}
|
|
114
|
+
b {
|
|
115
|
+
font-weight: 600;
|
|
116
|
+
letter-spacing: -0.02em;
|
|
117
|
+
}
|
|
118
|
+
span {
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
line-height: 1.5;
|
|
121
|
+
color: var(--foreground-2);
|
|
122
|
+
}
|
|
123
|
+
@include below(420px) {
|
|
124
|
+
li {
|
|
125
|
+
grid-template-columns: 1fr;
|
|
126
|
+
gap: 2px;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/about/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/about/type.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
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. */
|
|
2
|
+
/** "Capabilities": everything each service group delivers, as columns of a ruled sheet, and what always comes with it. */
|
|
3
3
|
export declare function Capability({ locale }: CapabilityProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":"
|
|
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,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { SectionLink } from "@sharadox/scroll-web-library/section-link";
|
|
3
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
3
4
|
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
4
5
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
5
6
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
@@ -8,9 +9,9 @@ import { CAPABILITY } from "@sharadox/sharadox-web-library/content/capability";
|
|
|
8
9
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
9
10
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
10
11
|
import styles from "./index.module.css";
|
|
11
|
-
/** "Capabilities": everything each service group delivers, as columns of a ruled sheet. */
|
|
12
|
+
/** "Capabilities": everything each service group delivers, as columns of a ruled sheet, and what always comes with it. */
|
|
12
13
|
export function Capability({ locale }) {
|
|
13
14
|
const rows = 1 + Math.max(...SERVICES.items.map((service) => service.capabilities[locale].length));
|
|
14
|
-
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))) })] }));
|
|
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))) })] })] }));
|
|
15
16
|
}
|
|
16
17
|
//# 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,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,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,
|
|
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,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0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,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAC,SAAS,YACvE,UAAU,GACJ,IAHF,UAAU,CAId,CACN,CAAC,GACC,KAbG,OAAO,CAAC,GAAG,CAcf,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)}
|
|
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)}
|
|
@@ -88,3 +88,44 @@
|
|
|
88
88
|
color: var(--foreground-3);
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
|
+
/* What comes with every project: a ruled row under the sheet, each promise with a tick. */
|
|
92
|
+
.included {
|
|
93
|
+
display: grid;
|
|
94
|
+
grid-template-columns: auto 1fr;
|
|
95
|
+
align-items: center;
|
|
96
|
+
gap: 16px 32px;
|
|
97
|
+
padding: 24px var(--padding);
|
|
98
|
+
border-top: 1px solid var(--line);
|
|
99
|
+
h3 {
|
|
100
|
+
font-size: 11.5px;
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
letter-spacing: 0.05em;
|
|
103
|
+
text-transform: uppercase;
|
|
104
|
+
color: var(--foreground-3);
|
|
105
|
+
}
|
|
106
|
+
ul {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-wrap: wrap;
|
|
109
|
+
justify-content: flex-start;
|
|
110
|
+
gap: 12px 28px;
|
|
111
|
+
margin: 0;
|
|
112
|
+
padding: 0;
|
|
113
|
+
list-style: none;
|
|
114
|
+
}
|
|
115
|
+
li {
|
|
116
|
+
display: inline-flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: 8px;
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
color: var(--foreground-2);
|
|
121
|
+
}
|
|
122
|
+
@include below(760px) {
|
|
123
|
+
grid-template-columns: 1fr;
|
|
124
|
+
justify-items: start;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
.tick {
|
|
128
|
+
width: 15px;
|
|
129
|
+
height: 15px;
|
|
130
|
+
color: var(--foreground);
|
|
131
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}
|
|
1
|
+
.eyebrow{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-2)}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FaqProperties } from "@sharadox/sharadox-web-library/component/faq/type";
|
|
2
|
+
/**
|
|
3
|
+
* "Questions": the heading and a way to ask anything else on the left, the questions on the right, each opening to
|
|
4
|
+
* its answer. Native disclosure elements (`details`), so they open with a keyboard, a tap or the page's search
|
|
5
|
+
* (find in page opens the one that matches), with no script. The same questions and answers go to search engines as
|
|
6
|
+
* an FAQ page, here, on the page that shows them.
|
|
7
|
+
*/
|
|
8
|
+
export declare function Faq({ locale }: FaqProperties): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/faq/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAC;AAEvF;;;;;GAKG;AACH,wBAAgB,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,aAAa,+BAkC5C"}
|