@sharadox/sharadox-web-library 0.41.0 → 0.42.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 (74) hide show
  1. package/README.md +1 -1
  2. package/distribution/component/footer/index.d.ts.map +1 -1
  3. package/distribution/component/footer/index.js +8 -1
  4. package/distribution/component/footer/index.js.map +1 -1
  5. package/distribution/component/navigation/index.d.ts +1 -1
  6. package/distribution/component/navigation/index.js +2 -2
  7. package/distribution/component/navigation/index.module.css +1 -1
  8. package/distribution/component/navigation/index.module.scss +3 -3
  9. package/distribution/component/portfolio/browser/index.d.ts +7 -0
  10. package/distribution/component/portfolio/browser/index.d.ts.map +1 -0
  11. package/distribution/component/portfolio/browser/index.js +26 -0
  12. package/distribution/component/portfolio/browser/index.js.map +1 -0
  13. package/distribution/component/portfolio/browser/index.module.css +1 -0
  14. package/distribution/component/portfolio/browser/index.module.scss +147 -0
  15. package/distribution/component/portfolio/browser/type.d.ts +5 -0
  16. package/distribution/component/portfolio/browser/type.d.ts.map +1 -0
  17. package/distribution/component/portfolio/browser/type.js +2 -0
  18. package/distribution/component/portfolio/browser/type.js.map +1 -0
  19. package/distribution/component/portfolio/index.d.ts +7 -0
  20. package/distribution/component/portfolio/index.d.ts.map +1 -0
  21. package/distribution/component/portfolio/index.js +17 -0
  22. package/distribution/component/portfolio/index.js.map +1 -0
  23. package/distribution/component/portfolio/index.module.css +1 -0
  24. package/distribution/component/portfolio/index.module.scss +14 -0
  25. package/distribution/component/portfolio/project/index.d.ts +7 -0
  26. package/distribution/component/portfolio/project/index.d.ts.map +1 -0
  27. package/distribution/component/portfolio/project/index.js +23 -0
  28. package/distribution/component/portfolio/project/index.js.map +1 -0
  29. package/distribution/component/portfolio/project/index.module.css +1 -0
  30. package/distribution/component/portfolio/project/index.module.scss +116 -0
  31. package/distribution/component/portfolio/project/type.d.ts +9 -0
  32. package/distribution/component/portfolio/project/type.d.ts.map +1 -0
  33. package/distribution/component/portfolio/project/type.js +2 -0
  34. package/distribution/component/portfolio/project/type.js.map +1 -0
  35. package/distribution/component/portfolio/screens/index.d.ts +7 -0
  36. package/distribution/component/portfolio/screens/index.d.ts.map +1 -0
  37. package/distribution/component/portfolio/screens/index.js +13 -0
  38. package/distribution/component/portfolio/screens/index.js.map +1 -0
  39. package/distribution/component/portfolio/screens/index.module.css +1 -0
  40. package/distribution/component/portfolio/screens/index.module.scss +118 -0
  41. package/distribution/component/portfolio/screens/type.d.ts +7 -0
  42. package/distribution/component/portfolio/screens/type.d.ts.map +1 -0
  43. package/distribution/component/portfolio/screens/type.js +2 -0
  44. package/distribution/component/portfolio/screens/type.js.map +1 -0
  45. package/distribution/component/portfolio/select-projects/index.d.ts +45 -0
  46. package/distribution/component/portfolio/select-projects/index.d.ts.map +1 -0
  47. package/distribution/component/portfolio/select-projects/index.js +30 -0
  48. package/distribution/component/portfolio/select-projects/index.js.map +1 -0
  49. package/distribution/component/portfolio/select-projects/type.d.ts +11 -0
  50. package/distribution/component/portfolio/select-projects/type.d.ts.map +1 -0
  51. package/distribution/component/portfolio/select-projects/type.js +2 -0
  52. package/distribution/component/portfolio/select-projects/type.js.map +1 -0
  53. package/distribution/component/portfolio/type.d.ts +5 -0
  54. package/distribution/component/portfolio/type.d.ts.map +1 -0
  55. package/distribution/component/portfolio/type.js +2 -0
  56. package/distribution/component/portfolio/type.js.map +1 -0
  57. package/distribution/content/navigation/index.d.ts +4 -0
  58. package/distribution/content/navigation/index.d.ts.map +1 -1
  59. package/distribution/content/navigation/index.js +9 -1
  60. package/distribution/content/navigation/index.js.map +1 -1
  61. package/distribution/content/portfolio/index.d.ts +140 -0
  62. package/distribution/content/portfolio/index.d.ts.map +1 -0
  63. package/distribution/content/portfolio/index.js +66 -0
  64. package/distribution/content/portfolio/index.js.map +1 -0
  65. package/distribution/content/section/index.d.ts +5 -0
  66. package/distribution/content/section/index.d.ts.map +1 -1
  67. package/distribution/content/section/index.js +1 -0
  68. package/distribution/content/section/index.js.map +1 -1
  69. package/distribution/content/section-indicator/index.d.ts +4 -0
  70. package/distribution/content/section-indicator/index.d.ts.map +1 -1
  71. package/distribution/content/section-indicator/index.js +1 -0
  72. package/distribution/content/section-indicator/index.js.map +1 -1
  73. package/llms.txt +2 -1
  74. package/package.json +1 -1
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 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
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; `Portfolio` (each project live on a computer and a phone scrolling through its pages, beside its story, details and chips of the services we made for it; filters by service, client and year, and four orders; screens from the site's `public/portfolio/<key>/`)
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`
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BAqF7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BA4F7D"}
@@ -36,7 +36,14 @@ import styles from "./index.module.css";
36
36
  */
37
37
  export function Footer({ locale, path = "" }) {
38
38
  const home = path ? `/${locale}` : "";
39
- const studio = [SECTION.about, SECTION.capabilities, SECTION.process, SECTION.faq, SECTION.contact];
39
+ const studio = [
40
+ SECTION.about,
41
+ SECTION.capabilities,
42
+ SECTION.portfolio,
43
+ SECTION.process,
44
+ SECTION.faq,
45
+ SECTION.contact,
46
+ ];
40
47
  return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("p", { className: styles.slogan, children: translate(SLOGAN, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email }), _jsx(Button, { href: `${home}#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.start, children: translate(ACTION.startProject, locale) })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx(SectionLink, { href: `${home}#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), studio.map((section) => (_jsx(SectionLink, { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id)))] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(LANGUAGE.label, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, href: `/${other}${path}`, current: other === locale, children: LANGUAGE.names[other] }, other))) }), _jsx("h2", { className: "monospace", children: translate(STYLE.label, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsxs(SectionLink, { href: "#top", className: styles.top, children: [translate(FOOTER.top, locale), _jsx("span", { className: styles.circle, "aria-hidden": true, children: _jsx(Icon, { name: "chevron-up", strokeWidth: 1.8 }) })] })] })] }), _jsxs("div", { className: styles.legal, children: [_jsxs("p", { className: `monospace ${styles.copyright}`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] }), _jsx("p", { className: styles.disputes, children: _jsx(DisputeNotice, { center: DISPUTE_RESOLUTION_CENTERS.algarve, locale: locale }) }), _jsxs("nav", { "aria-label": translate(FOOTER.legal, locale), className: styles.links, children: [_jsx(Link, { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx(Link, { href: `/${locale}${PRIVACY_PAGE.path}`, "aria-current": path === PRIVACY_PAGE.path ? "page" : undefined, children: translate(PRIVACY_PAGE.title, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsx(ComplaintsBookLink, { locale: locale })] }), _jsx("nav", { "aria-label": translate(FOOTER.social, locale), className: styles.social, children: SOCIAL.map((profile) => (_jsx("a", { href: profile.url, target: "_blank", rel: "noopener noreferrer me", children: _jsx(BrandIcon, { name: profile.icon, label: "review" in profile ? translate(FOOTER.review, locale) : profile.name }) }, profile.icon))) })] })] }));
41
48
  }
42
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AACxE,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAA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AAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,GAC5E,IAJI,OAAO,CAAC,IAAI,CAKhB,CACL,CAAC,GACE,IACF,IACC,CACV,CAAC;AACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { NavigationProperties } from "@sharadox/sharadox-web-library/component/navigation/type";
2
2
  /**
3
- * Fixed top bar that frosts once the page scrolls, with the style and language switches. Below 1100px the links
3
+ * Fixed top bar that frosts once the page scrolls, with the style and language switches. Below 1200px the links
4
4
  * open in a menu under the bar, in the bar's frosted background; it scrolls when it doesn't fit (a phone held
5
5
  * sideways), and any tap on a link or button in the bar or menu closes it (`useMenu`). The menu sits beside the bar, not in it: the bar's blur would otherwise make the menu the bar's size.
6
6
  */
@@ -18,9 +18,9 @@ const EASE = [0.22, 1, 0.36, 1];
18
18
  /** The menu's section links, entering one after another. */
19
19
  const MotionSectionLink = motion.create(SectionLink);
20
20
  /** Where the bar has room for every link; below it they move into the menu (keep in step with the styles). */
21
- const WIDE = "(min-width: 1101px)";
21
+ const WIDE = "(min-width: 1201px)";
22
22
  /**
23
- * Fixed top bar that frosts once the page scrolls, with the style and language switches. Below 1100px the links
23
+ * Fixed top bar that frosts once the page scrolls, with the style and language switches. Below 1200px the links
24
24
  * open in a menu under the bar, in the bar's frosted background; it scrolls when it doesn't fit (a phone held
25
25
  * sideways), and any tap on a link or button in the bar or menu closes it (`useMenu`). The menu sits beside the bar, not in it: the bar's blur would otherwise make the menu the bar's size.
26
26
  */
@@ -1 +1 @@
1
- .navigation{text-align:left;position:fixed;z-index:50;inset:0 0 auto;border-bottom:1px solid rgba(0,0,0,0);transition:background .4s,border-color .4s,backdrop-filter .4s}.scrolled{background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);border-color:var(--line)}.inner{width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;height:64px;padding:0 var(--padding);display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width: 520px){.inner{padding:0 12px}}.links{display:flex;gap:28px;margin:0 auto 0 28px;font-size:14px;color:var(--foreground-2)}.links a{position:relative;transition:color .2s}.links a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:var(--foreground);transform:scaleX(0);transform-origin:right;transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.links a:hover{color:var(--foreground)}.links a:hover::after{transform:scaleX(1);transform-origin:left}@media(max-width: 1100px){.links{display:none}}.end{margin-left:auto;display:flex;align-items:center;gap:10px}@media(max-width: 520px){.end{gap:6px}.end .callToAction{display:none}}.toggle{align-items:stretch;display:none;flex-direction:column;justify-content:center;gap:6px;width:36px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:none;cursor:pointer}.toggle span{height:1.4px;background:var(--foreground);transition:transform .45s cubic-bezier(0.22, 1, 0.36, 1)}.toggle[aria-expanded=true] span:first-child{transform:translateY(3.7px) rotate(45deg)}.toggle[aria-expanded=true] span:last-child{transform:translateY(-3.7px) rotate(-45deg)}@media(max-width: 1100px){.toggle{display:flex}}.menu{text-align:left;align-items:stretch;position:fixed;inset:65px 0 0;z-index:49;overflow-y:auto;overscroll-behavior:contain;background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);display:flex;flex-direction:column;padding:16px max(var(--gutter),20px) calc(28px + env(safe-area-inset-bottom))}.menu>:first-child{margin-top:auto}.menu>:last-child{margin-bottom:auto}.menu>a{justify-content:flex-start;display:flex;align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px dashed var(--line-2);font-size:clamp(1.5rem,min(7vw,6.5svh),2.6rem);font-weight:500;letter-spacing:-0.04em;line-height:1.1;color:var(--foreground)}.menu>a span{font-size:11.5px;letter-spacing:.05em;color:var(--foreground-3)}@media(min-width: 1101px){.menu{display:none}}.menuAction{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}.menuStyle{display:none !important}@media(max-width: 400px){.menuStyle{display:flex !important}}@media(max-width: 400px){.style{display:none !important}}
1
+ .navigation{text-align:left;position:fixed;z-index:50;inset:0 0 auto;border-bottom:1px solid rgba(0,0,0,0);transition:background .4s,border-color .4s,backdrop-filter .4s}.scrolled{background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);border-color:var(--line)}.inner{width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;height:64px;padding:0 var(--padding);display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width: 520px){.inner{padding:0 12px}}.links{display:flex;gap:28px;margin:0 auto 0 28px;font-size:14px;color:var(--foreground-2)}.links a{position:relative;transition:color .2s}.links a::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:1px;background:var(--foreground);transform:scaleX(0);transform-origin:right;transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1)}.links a:hover{color:var(--foreground)}.links a:hover::after{transform:scaleX(1);transform-origin:left}@media(max-width: 1200px){.links{display:none}}.end{margin-left:auto;display:flex;align-items:center;gap:10px}@media(max-width: 520px){.end{gap:6px}.end .callToAction{display:none}}.toggle{align-items:stretch;display:none;flex-direction:column;justify-content:center;gap:6px;width:36px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:999px;background:none;cursor:pointer}.toggle span{height:1.4px;background:var(--foreground);transition:transform .45s cubic-bezier(0.22, 1, 0.36, 1)}.toggle[aria-expanded=true] span:first-child{transform:translateY(3.7px) rotate(45deg)}.toggle[aria-expanded=true] span:last-child{transform:translateY(-3.7px) rotate(-45deg)}@media(max-width: 1200px){.toggle{display:flex}}.menu{text-align:left;align-items:stretch;position:fixed;inset:65px 0 0;z-index:49;overflow-y:auto;overscroll-behavior:contain;background:color-mix(in srgb, var(--background) 65%, transparent);backdrop-filter:blur(16px) saturate(1.6);display:flex;flex-direction:column;padding:16px max(var(--gutter),20px) calc(28px + env(safe-area-inset-bottom))}.menu>:first-child{margin-top:auto}.menu>:last-child{margin-bottom:auto}.menu>a{justify-content:flex-start;display:flex;align-items:baseline;gap:14px;padding:12px 0;border-bottom:1px dashed var(--line-2);font-size:clamp(1.5rem,min(7vw,6.5svh),2.6rem);font-weight:500;letter-spacing:-0.04em;line-height:1.1;color:var(--foreground)}.menu>a span{font-size:11.5px;letter-spacing:.05em;color:var(--foreground-3)}@media(min-width: 1201px){.menu{display:none}}.menuAction{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}.menuStyle{display:none !important}@media(max-width: 400px){.menuStyle{display:flex !important}}@media(max-width: 400px){.style{display:none !important}}
@@ -60,7 +60,7 @@
60
60
  transform-origin: left;
61
61
  }
62
62
  }
63
- @include below(1100px) {
63
+ @include below(1200px) {
64
64
  display: none;
65
65
  }
66
66
  }
@@ -102,7 +102,7 @@
102
102
  &[aria-expanded="true"] span:last-child {
103
103
  transform: translateY(-3.7px) rotate(-45deg);
104
104
  }
105
- @include below(1100px) {
105
+ @include below(1200px) {
106
106
  display: flex;
107
107
  }
108
108
  }
@@ -145,7 +145,7 @@
145
145
  color: var(--foreground-3);
146
146
  }
147
147
  }
148
- @media (min-width: 1101px) {
148
+ @media (min-width: 1201px) {
149
149
  display: none;
150
150
  }
151
151
  }
@@ -0,0 +1,7 @@
1
+ import type { BrowserProperties } from "@sharadox/sharadox-web-library/component/portfolio/browser/type";
2
+ /**
3
+ * The projects with their controls: service chips, then client, year and order. The list follows at once, projects
4
+ * moving into their new places, and says how many it shows; when none match, it offers to show them all.
5
+ */
6
+ export declare function Browser({ locale }: BrowserProperties): import("react").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/browser/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAOzG;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA6FpD"}
@@ -0,0 +1,26 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { AnimatePresence, motion } from "motion/react";
4
+ import { useState } from "react";
5
+ import { Icon } from "@sharadox/icon-web-library/icon";
6
+ import { translate } from "@sharadox/internationalization-web-library/translate";
7
+ import { Project } from "@sharadox/sharadox-web-library/component/portfolio/project";
8
+ import { filterOptions, selectProjects, serviceName, } from "@sharadox/sharadox-web-library/component/portfolio/select-projects";
9
+ import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
10
+ import styles from "./index.module.css";
11
+ const OPTIONS = filterOptions(PORTFOLIO.projects);
12
+ const EVERYTHING = { service: "", client: "", year: "", sort: "newest" };
13
+ const EASE = [0.22, 1, 0.36, 1];
14
+ /**
15
+ * The projects with their controls: service chips, then client, year and order. The list follows at once, projects
16
+ * moving into their new places, and says how many it shows; when none match, it offers to show them all.
17
+ */
18
+ export function Browser({ locale }) {
19
+ const [choice, setChoice] = useState(EVERYTHING);
20
+ const pick = (change) => setChoice((current) => ({ ...current, ...change }));
21
+ const projects = selectProjects(PORTFOLIO.projects, choice, locale);
22
+ const { filters } = PORTFOLIO;
23
+ const [one, many] = PORTFOLIO.count[locale];
24
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { role: "group", "aria-label": translate(filters.label, locale), className: styles.controls, children: [_jsx("div", { role: "group", "aria-label": translate(filters.service, locale), className: styles.chips, children: ["", ...OPTIONS.services].map((service) => (_jsx("button", { type: "button", "aria-pressed": choice.service === service, onClick: () => pick({ service }), children: service ? serviceName(service, locale) : translate(filters.allServices, locale) }, service || "all"))) }), _jsxs("div", { className: styles.selects, children: [_jsxs("label", { children: [_jsx("span", { className: "monospace", children: translate(filters.client, locale) }), _jsxs("span", { className: styles.field, children: [_jsxs("select", { value: choice.client, onChange: (event) => pick({ client: event.target.value }), children: [_jsx("option", { value: "", children: translate(filters.allClients, locale) }), OPTIONS.clients.map((client) => (_jsx("option", { children: client }, client)))] }), _jsx(Icon, { name: "chevron-down", strokeWidth: 1.8 })] })] }), _jsxs("label", { children: [_jsx("span", { className: "monospace", children: translate(filters.year, locale) }), _jsxs("span", { className: styles.field, children: [_jsxs("select", { value: choice.year, onChange: (event) => pick({ year: event.target.value }), children: [_jsx("option", { value: "", children: translate(filters.allYears, locale) }), OPTIONS.years.map((year) => (_jsx("option", { children: year }, year)))] }), _jsx(Icon, { name: "chevron-down", strokeWidth: 1.8 })] })] }), _jsxs("label", { children: [_jsx("span", { className: "monospace", children: translate(filters.sort, locale) }), _jsxs("span", { className: styles.field, children: [_jsx("select", { value: choice.sort, onChange: (event) => pick({ sort: event.target.value }), children: PORTFOLIO.sorts.map((sort) => (_jsx("option", { value: sort.key, children: sort[locale] }, sort.key))) }), _jsx(Icon, { name: "chevron-down", strokeWidth: 1.8 })] })] })] }), _jsxs("p", { className: `monospace ${styles.count}`, "aria-live": "polite", children: [projects.length, " ", projects.length === 1 ? one : many] })] }), _jsxs("div", { className: styles.list, children: [_jsx(AnimatePresence, { initial: false, mode: "popLayout", children: projects.map((project, index) => (_jsx(motion.div, { layout: true, initial: { opacity: 0, y: 24 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: -12 }, transition: { duration: 0.6, ease: EASE }, children: _jsx(Project, { project: project, index: index, locale: locale }) }, project.key))) }), projects.length === 0 && (_jsxs("div", { className: styles.empty, children: [_jsx("p", { children: translate(PORTFOLIO.empty, locale) }), _jsx("button", { type: "button", onClick: () => setChoice(EVERYTHING), children: translate(PORTFOLIO.reset, locale) })] }))] })] }));
25
+ }
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/browser/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE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@@
1
+ .controls{display:grid;grid-template-columns:minmax(0, 1fr) auto auto;align-items:end;justify-content:stretch;gap:16px 24px;padding:20px var(--padding);border-top:1px solid var(--line)}@media(max-width: 1100px){.controls{grid-template-columns:minmax(0, 1fr) auto}.controls .chips{grid-column:1/-1}}@media(max-width: 700px){.controls{grid-template-columns:minmax(0, 1fr)}.controls .selects{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));justify-content:stretch}.controls .selects label{justify-items:stretch}.controls .selects label:last-child{grid-column:1/-1}.controls .selects select{width:100%;min-width:0}.controls .count{padding-bottom:0}}.chips{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px}.chips button{padding:8px 14px;border:1px solid var(--line-2);border-radius:99px;background:none;color:var(--foreground-2);font:inherit;font-size:13.5px;cursor:pointer;transition:color .2s,background-color .2s,border-color .2s}.chips button:hover{color:var(--foreground);border-color:color-mix(in srgb, var(--foreground) 50%, transparent)}.chips button[aria-pressed=true]{border-color:var(--foreground);background:var(--foreground);color:var(--background)}.selects{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px}.selects label{display:grid;justify-content:stretch;justify-items:start;gap:4px}.selects label span{font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.selects .field{position:relative;display:grid;justify-content:stretch}.selects .field svg{position:absolute;right:11px;top:50%;margin-top:-7px;font-size:14px;color:var(--foreground-3);pointer-events:none}.selects select{min-width:132px;padding:8px 32px 8px 12px;border:1px solid var(--line-2);border-radius:10px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));color:var(--foreground);font:inherit;font-size:13.5px;appearance:none;cursor:pointer}.selects select option{background:var(--background);color:var(--foreground)}.count{justify-self:end;padding-bottom:10px;font-size:12px;color:var(--foreground-3);white-space:nowrap}.list{display:grid;justify-content:stretch}.empty{display:grid;justify-items:center;gap:14px;padding:64px var(--padding);border-top:1px solid var(--line);color:var(--foreground-2)}.empty button{padding:8px 16px;border:1px solid var(--line-2);border-radius:99px;background:none;color:var(--foreground);font:inherit;cursor:pointer}
@@ -0,0 +1,147 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ /* Chips on the left, the selects and the count on the right; stacked on phones. */
5
+ .controls {
6
+ display: grid;
7
+ grid-template-columns: minmax(0, 1fr) auto auto;
8
+ align-items: end;
9
+ justify-content: stretch;
10
+ gap: 16px 24px;
11
+ padding: 20px var(--padding);
12
+ border-top: 1px solid var(--line);
13
+ @include below(1100px) {
14
+ grid-template-columns: minmax(0, 1fr) auto;
15
+ .chips {
16
+ grid-column: 1 / -1;
17
+ }
18
+ }
19
+ /* On phones client and year share a row, the order has one of its own, and the count goes under them. */
20
+ @include below(700px) {
21
+ grid-template-columns: minmax(0, 1fr);
22
+ .selects {
23
+ display: grid;
24
+ grid-template-columns: repeat(2, minmax(0, 1fr));
25
+ justify-content: stretch;
26
+ label {
27
+ justify-items: stretch;
28
+ }
29
+ label:last-child {
30
+ grid-column: 1 / -1;
31
+ }
32
+ select {
33
+ width: 100%;
34
+ min-width: 0;
35
+ }
36
+ }
37
+ .count {
38
+ padding-bottom: 0;
39
+ }
40
+ }
41
+ }
42
+ .chips {
43
+ display: flex;
44
+ flex-wrap: wrap;
45
+ justify-content: flex-start;
46
+ gap: 8px;
47
+ button {
48
+ padding: 8px 14px;
49
+ border: 1px solid var(--line-2);
50
+ border-radius: 99px;
51
+ background: none;
52
+ color: var(--foreground-2);
53
+ font: inherit;
54
+ font-size: 13.5px;
55
+ cursor: pointer;
56
+ transition:
57
+ color 0.2s,
58
+ background-color 0.2s,
59
+ border-color 0.2s;
60
+ &:hover {
61
+ color: var(--foreground);
62
+ border-color: tint($edge);
63
+ }
64
+ &[aria-pressed="true"] {
65
+ border-color: var(--foreground);
66
+ background: var(--foreground);
67
+ color: var(--background);
68
+ }
69
+ }
70
+ }
71
+ .selects {
72
+ display: flex;
73
+ flex-wrap: wrap;
74
+ justify-content: flex-start;
75
+ gap: 10px;
76
+ label {
77
+ display: grid;
78
+ justify-content: stretch;
79
+ justify-items: start;
80
+ gap: 4px;
81
+ span {
82
+ font-size: 10.5px;
83
+ letter-spacing: 0.04em;
84
+ text-transform: uppercase;
85
+ color: var(--foreground-3);
86
+ }
87
+ }
88
+ /* A select with the library's chevron over its right end. */
89
+ .field {
90
+ position: relative;
91
+ display: grid;
92
+ justify-content: stretch;
93
+ svg {
94
+ position: absolute;
95
+ right: 11px;
96
+ top: 50%;
97
+ margin-top: -7px;
98
+ font-size: 14px;
99
+ color: var(--foreground-3);
100
+ pointer-events: none;
101
+ }
102
+ }
103
+ select {
104
+ min-width: 132px;
105
+ padding: 8px 32px 8px 12px;
106
+ border: 1px solid var(--line-2);
107
+ border-radius: 10px;
108
+ background: surface($hint);
109
+ color: var(--foreground);
110
+ font: inherit;
111
+ font-size: 13.5px;
112
+ appearance: none;
113
+ cursor: pointer;
114
+ option {
115
+ background: var(--background);
116
+ color: var(--foreground);
117
+ }
118
+ }
119
+ }
120
+ .count {
121
+ justify-self: end;
122
+ padding-bottom: 10px;
123
+ font-size: 12px;
124
+ color: var(--foreground-3);
125
+ white-space: nowrap;
126
+ }
127
+ .list {
128
+ display: grid;
129
+ justify-content: stretch;
130
+ }
131
+ .empty {
132
+ display: grid;
133
+ justify-items: center;
134
+ gap: 14px;
135
+ padding: 64px var(--padding);
136
+ border-top: 1px solid var(--line);
137
+ color: var(--foreground-2);
138
+ button {
139
+ padding: 8px 16px;
140
+ border: 1px solid var(--line-2);
141
+ border-radius: 99px;
142
+ background: none;
143
+ color: var(--foreground);
144
+ font: inherit;
145
+ cursor: pointer;
146
+ }
147
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
+ export interface BrowserProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/browser/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/portfolio/browser/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { PortfolioProperties } from "@sharadox/sharadox-web-library/component/portfolio/type";
2
+ /**
3
+ * "Portfolio": the work we've made, each project live on a computer and a phone beside its story and the services we
4
+ * made for it, with filters by service, client and year, and a choice of order.
5
+ */
6
+ export declare function Portfolio({ locale }: PortfolioProperties): import("react").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/portfolio/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AAEnG;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BAYxD"}
@@ -0,0 +1,17 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Reveal } from "@sharadox/animation-web-library/reveal";
3
+ import { translate } from "@sharadox/internationalization-web-library/translate";
4
+ import { Section } from "@sharadox/sharadox-web-library/component/section";
5
+ import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
6
+ import { Browser } from "@sharadox/sharadox-web-library/component/portfolio/browser";
7
+ import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
8
+ import { SECTION } from "@sharadox/sharadox-web-library/content/section";
9
+ import styles from "./index.module.css";
10
+ /**
11
+ * "Portfolio": the work we've made, each project live on a computer and a phone beside its story and the services we
12
+ * made for it, with filters by service, client and year, and a choice of order.
13
+ */
14
+ export function Portfolio({ locale }) {
15
+ return (_jsxs(Section, { id: SECTION.portfolio.id, padded: false, children: [_jsxs("div", { className: styles.heading, children: [_jsx(SectionHeading, { eyebrow: translate(SECTION.portfolio, locale), title: translate(PORTFOLIO.title, locale) }), _jsx(Reveal, { children: _jsx("p", { className: styles.text, children: translate(PORTFOLIO.text, locale) }) })] }), _jsx(Browser, { locale: locale })] }));
16
+ }
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/portfolio/index.tsx"],"names":[],"mappings":";AAAA,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,OAAO,EAAE,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,SAAS,CAAC,EAAE,MAAM,EAAuB;IACvD,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,aAC9C,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,EAC5G,KAAC,MAAM,cACL,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,GAC3D,IACL,EACN,KAAC,OAAO,IAAC,MAAM,EAAE,MAAM,GAAI,IACnB,CACX,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .heading{display:grid;justify-content:stretch;gap:18px;padding:clamp(72px,10vw,128px) var(--padding) clamp(32px,4vw,48px)}.text{max-width:56ch;text-align:left;color:var(--foreground-2);line-height:1.6}
@@ -0,0 +1,14 @@
1
+ @use "style/token" as *;
2
+
3
+ .heading {
4
+ display: grid;
5
+ justify-content: stretch;
6
+ gap: 18px;
7
+ padding: clamp(72px, 10vw, 128px) var(--padding) clamp(32px, 4vw, 48px);
8
+ }
9
+ .text {
10
+ max-width: 56ch;
11
+ text-align: left;
12
+ color: var(--foreground-2);
13
+ line-height: 1.6;
14
+ }
@@ -0,0 +1,7 @@
1
+ import type { ProjectProperties } from "@sharadox/sharadox-web-library/component/portfolio/project/type";
2
+ /**
3
+ * One project: the live site on a computer and a phone beside its story: number, launch month, client, headline,
4
+ * what it is, its details, chips of the services we made for it, and a link to visit it.
5
+ */
6
+ export declare function Project({ project, index, locale }: ProjectProperties): import("react").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/project/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAUzG;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA4CpE"}
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { translate } from "@sharadox/internationalization-web-library/translate";
3
+ import { Button } from "@sharadox/sharadox-web-library/component/button";
4
+ import { Screens } from "@sharadox/sharadox-web-library/component/portfolio/screens";
5
+ import { serviceName } from "@sharadox/sharadox-web-library/component/portfolio/select-projects";
6
+ import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
7
+ import styles from "./index.module.css";
8
+ /** The month a project went live, the way the language says it ("November 2026", "novembro de 2026"). */
9
+ const month = (date, locale) => new Intl.DateTimeFormat(locale === "pt" ? "pt-PT" : "en-GB", {
10
+ month: "long",
11
+ year: "numeric",
12
+ timeZone: "UTC",
13
+ }).format(new Date(date));
14
+ /**
15
+ * One project: the live site on a computer and a phone beside its story: number, launch month, client, headline,
16
+ * what it is, its details, chips of the services we made for it, and a link to visit it.
17
+ */
18
+ export function Project({ project, index, locale }) {
19
+ const { details } = PORTFOLIO;
20
+ const launched = month(project.date, locale);
21
+ return (_jsxs("article", { className: styles.project, "aria-labelledby": `project-${project.key}`, children: [_jsx(Screens, { project: project, label: `${project.client} ${translate(PORTFOLIO.screens, locale)}` }), _jsxs("div", { className: styles.story, children: [_jsxs("p", { className: `monospace ${styles.top}`, children: [_jsx("span", { children: String(index + 1).padStart(2, "0") }), _jsx("time", { dateTime: project.date, children: launched })] }), _jsxs("h3", { id: `project-${project.key}`, children: [_jsx("span", { className: styles.client, children: project.client }), translate(project.name, locale)] }), _jsx("p", { className: styles.text, children: translate(project.text, locale) }), _jsxs("dl", { className: styles.details, children: [_jsxs("div", { children: [_jsx("dt", { children: translate(details.client, locale) }), _jsx("dd", { children: project.client })] }), _jsxs("div", { children: [_jsx("dt", { children: translate(details.place, locale) }), _jsx("dd", { children: translate(project.place, locale) })] }), _jsxs("div", { children: [_jsx("dt", { children: translate(details.launched, locale) }), _jsx("dd", { children: launched })] })] }), _jsxs("div", { className: styles.services, children: [_jsx("span", { className: `monospace ${styles.label}`, children: translate(details.services, locale) }), _jsx("ul", { children: project.services.map((service) => (_jsx("li", { children: serviceName(service, locale) }, service))) })] }), _jsx(Button, { href: project.url, variant: "ghost", arrow: true, className: styles.visit, children: translate(PORTFOLIO.visit, locale) })] })] }));
22
+ }
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","s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AI,EAAE,OAAO,CAAC,GAAG,EAAE,OAAO,EAAC,OAAO,EAAC,KAAK,QAAC,SAAS,EAAE,MAAM,CAAC,KAAK,YACrE,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,GAC5B,IACL,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -0,0 +1 @@
1
+ .project{display:grid;grid-template-columns:minmax(0, 7fr) minmax(0, 5fr);align-items:stretch;justify-content:stretch;border-top:1px solid var(--line)}@media(max-width: 960px){.project{grid-template-columns:minmax(0, 1fr)}}.story{display:grid;justify-content:stretch;align-content:center;gap:22px;padding:clamp(28px,4vw,56px) var(--padding);border-left:1px solid var(--line);text-align:left}@media(max-width: 960px){.story{border-left:0;border-top:1px dashed var(--line-2)}}.top{display:flex;justify-content:space-between;font-size:12px;color:var(--foreground-3);text-transform:uppercase;letter-spacing:.04em}.project h3{display:grid;justify-content:stretch;gap:8px;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:600;line-height:1.1;letter-spacing:-0.04em;text-wrap:balance}.client{font-size:13.5px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.text{color:var(--foreground-2);line-height:1.65;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));justify-content:stretch;margin:0;border-block:1px dashed var(--line-2)}.details>div{display:grid;justify-content:stretch;align-content:start;gap:4px;padding:14px 12px 14px 0}.details>div+div{padding-left:12px;border-left:1px dashed var(--line-2)}.details dt{font-family:var(--monospace);font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details dd{margin:0;font-size:14px}.services{display:grid;justify-content:stretch;gap:10px}.services ul{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0;padding:0;list-style:none}.services li{padding:6px 12px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:13px}.label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.visit{justify-self:start}
@@ -0,0 +1,116 @@
1
+ @use "style/token" as *;
2
+ @use "style/object" as *;
3
+
4
+ /* The screens on the left, the story on the right; stacked on narrower screens. */
5
+ .project {
6
+ display: grid;
7
+ grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
8
+ align-items: stretch;
9
+ justify-content: stretch;
10
+ border-top: 1px solid var(--line);
11
+ @include below(960px) {
12
+ grid-template-columns: minmax(0, 1fr);
13
+ }
14
+ }
15
+ .story {
16
+ display: grid;
17
+ justify-content: stretch;
18
+ align-content: center;
19
+ gap: 22px;
20
+ padding: clamp(28px, 4vw, 56px) var(--padding);
21
+ border-left: 1px solid var(--line);
22
+ text-align: left;
23
+ @include below(960px) {
24
+ border-left: 0;
25
+ border-top: 1px dashed var(--line-2);
26
+ }
27
+ }
28
+ .top {
29
+ display: flex;
30
+ justify-content: space-between;
31
+ font-size: 12px;
32
+ color: var(--foreground-3);
33
+ text-transform: uppercase;
34
+ letter-spacing: 0.04em;
35
+ }
36
+ .project h3 {
37
+ display: grid;
38
+ justify-content: stretch;
39
+ gap: 8px;
40
+ font-size: clamp(1.7rem, 3vw, 2.4rem);
41
+ font-weight: 600;
42
+ line-height: 1.1;
43
+ letter-spacing: -0.04em;
44
+ text-wrap: balance;
45
+ }
46
+ .client {
47
+ font-size: 13.5px;
48
+ font-weight: 500;
49
+ letter-spacing: 0;
50
+ color: var(--foreground-2);
51
+ }
52
+ .text {
53
+ color: var(--foreground-2);
54
+ line-height: 1.65;
55
+ text-wrap: pretty;
56
+ }
57
+ /* Client, place and launch: three small columns over dashed rules. */
58
+ .details {
59
+ display: grid;
60
+ grid-template-columns: repeat(3, minmax(0, 1fr));
61
+ justify-content: stretch;
62
+ margin: 0;
63
+ border-block: 1px dashed var(--line-2);
64
+ > div {
65
+ display: grid;
66
+ justify-content: stretch;
67
+ align-content: start;
68
+ gap: 4px;
69
+ padding: 14px 12px 14px 0;
70
+ }
71
+ > div + div {
72
+ padding-left: 12px;
73
+ border-left: 1px dashed var(--line-2);
74
+ }
75
+ dt {
76
+ font-family: var(--monospace);
77
+ font-size: 11px;
78
+ letter-spacing: 0.04em;
79
+ text-transform: uppercase;
80
+ color: var(--foreground-3);
81
+ }
82
+ dd {
83
+ margin: 0;
84
+ font-size: 14px;
85
+ }
86
+ }
87
+ .services {
88
+ display: grid;
89
+ justify-content: stretch;
90
+ gap: 10px;
91
+ ul {
92
+ display: flex;
93
+ flex-wrap: wrap;
94
+ justify-content: flex-start;
95
+ gap: 8px;
96
+ margin: 0;
97
+ padding: 0;
98
+ list-style: none;
99
+ }
100
+ li {
101
+ padding: 6px 12px;
102
+ border: 1px solid var(--line-2);
103
+ border-radius: 99px;
104
+ background: surface($hint);
105
+ font-size: 13px;
106
+ }
107
+ }
108
+ .label {
109
+ font-size: 11px;
110
+ letter-spacing: 0.04em;
111
+ text-transform: uppercase;
112
+ color: var(--foreground-3);
113
+ }
114
+ .visit {
115
+ justify-self: start;
116
+ }
@@ -0,0 +1,9 @@
1
+ import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/select-projects/type";
2
+ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
3
+ export interface ProjectProperties {
4
+ project: Project;
5
+ /** Its place in the list, shown as "01". */
6
+ index: number;
7
+ locale: Locale;
8
+ }
9
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/project/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yEAAyE,CAAC;AACvG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/portfolio/project/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { ScreensProperties } from "@sharadox/sharadox-web-library/component/portfolio/screens/type";
2
+ /**
3
+ * The project live, on a computer and on a phone: a browser window and a phone in front of it, each scrolling slowly
4
+ * through the whole page and back (paused while pointed at, and still for visitors who prefer less motion).
5
+ */
6
+ export declare function Screens({ project, label }: ScreensProperties): import("react").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAEzG;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,iBAAiB,+BAwC5D"}