@sharadox/sharadox-web-library 0.47.0 → 0.48.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 (47) hide show
  1. package/distribution/component/about/feed/index.d.ts +3 -1
  2. package/distribution/component/about/feed/index.d.ts.map +1 -1
  3. package/distribution/component/about/feed/index.js +6 -2
  4. package/distribution/component/about/feed/index.js.map +1 -1
  5. package/distribution/component/about/feed/index.module.css +1 -1
  6. package/distribution/component/about/feed/index.module.scss +27 -0
  7. package/distribution/component/button/index.d.ts +1 -1
  8. package/distribution/component/button/index.d.ts.map +1 -1
  9. package/distribution/component/button/index.js +5 -4
  10. package/distribution/component/button/index.js.map +1 -1
  11. package/distribution/component/contact/form/index.d.ts.map +1 -1
  12. package/distribution/component/contact/form/index.js +2 -1
  13. package/distribution/component/contact/form/index.js.map +1 -1
  14. package/distribution/component/contact/index.d.ts.map +1 -1
  15. package/distribution/component/contact/index.js +2 -1
  16. package/distribution/component/contact/index.js.map +1 -1
  17. package/distribution/component/footer/index.d.ts.map +1 -1
  18. package/distribution/component/footer/index.js +2 -1
  19. package/distribution/component/footer/index.js.map +1 -1
  20. package/distribution/component/footer/index.module.css +1 -1
  21. package/distribution/component/footer/index.module.scss +2 -1
  22. package/distribution/component/portfolio/screens/index.d.ts +3 -1
  23. package/distribution/component/portfolio/screens/index.d.ts.map +1 -1
  24. package/distribution/component/portfolio/screens/index.js +7 -2
  25. package/distribution/component/portfolio/screens/index.js.map +1 -1
  26. package/distribution/component/portfolio/screens/index.module.css +1 -1
  27. package/distribution/component/portfolio/screens/index.module.scss +56 -17
  28. package/distribution/component/project-page/chapter/index.d.ts +3 -3
  29. package/distribution/component/project-page/chapter/index.d.ts.map +1 -1
  30. package/distribution/component/project-page/chapter/index.js +5 -4
  31. package/distribution/component/project-page/chapter/index.js.map +1 -1
  32. package/distribution/component/project-page/chapter/index.module.css +1 -1
  33. package/distribution/component/project-page/chapter/index.module.scss +46 -5
  34. package/distribution/component/project-page/chapter/type.d.ts +3 -0
  35. package/distribution/component/project-page/chapter/type.d.ts.map +1 -1
  36. package/distribution/component/project-page/index.d.ts +3 -2
  37. package/distribution/component/project-page/index.d.ts.map +1 -1
  38. package/distribution/component/project-page/index.js +4 -3
  39. package/distribution/component/project-page/index.js.map +1 -1
  40. package/distribution/component/project-page/index.module.css +1 -1
  41. package/distribution/component/project-page/index.module.scss +22 -1
  42. package/distribution/content/portfolio/index.d.ts +99 -31
  43. package/distribution/content/portfolio/index.d.ts.map +1 -1
  44. package/distribution/content/portfolio/index.js +111 -26
  45. package/distribution/content/portfolio/index.js.map +1 -1
  46. package/llms.txt +1 -0
  47. package/package.json +4 -4
@@ -1,23 +1,41 @@
1
1
  @use "style/token" as *;
2
2
  @use "style/object" as *;
3
3
 
4
- /* The browser fills the stage; the phone stands in front of its lower right corner. */
4
+ /*
5
+ * The scene sits in the middle of the stage, at its own height (the window's height comes from the screenshot), and
6
+ * turns towards the pointer: --parallax-x/-y (-1 to 1) and --parallax-hover (0 to 1) come from useParallax, eased in
7
+ * JavaScript, so nothing here needs a transition. Without a fine pointer they stay unset and the scene rests.
8
+ */
9
+ $x: var(--parallax-x, 0);
10
+ $y: var(--parallax-y, 0);
11
+ $hover: var(--parallax-hover, 0);
12
+
5
13
  .stage {
6
14
  position: relative;
7
15
  display: grid;
16
+ align-content: center;
8
17
  justify-content: stretch;
9
18
  padding: clamp(28px, 5vw, 64px) clamp(28px, 7vw, 96px) clamp(48px, 7vw, 88px) clamp(20px, 4vw, 48px);
10
19
  perspective: 1600px;
11
20
  }
21
+ /* The light behind the scene: it drifts against the pointer and brightens while the scene is held. */
12
22
  .glow {
13
23
  position: absolute;
14
24
  inset: 10% 6% 0;
15
25
  background: radial-gradient(closest-side, tint($glow), transparent);
16
26
  filter: blur(40px);
17
- opacity: 0.55;
27
+ opacity: calc(0.5 + 0.3 * #{$hover});
28
+ transform: translate(calc(#{$x} * -36px), calc(#{$y} * -24px));
18
29
  pointer-events: none;
19
30
  }
20
- /* A window or a phone: a raised face, its page scrolling inside. */
31
+ .scene {
32
+ position: relative;
33
+ display: grid;
34
+ justify-content: stretch;
35
+ transform-style: preserve-3d;
36
+ transform: rotateX(calc(#{$y} * -6deg)) rotateY(calc(#{$x} * 9deg));
37
+ }
38
+ /* A window or a phone: a raised face, its page inside, and a soft glare that slides across it with the pointer. */
21
39
  .browser,
22
40
  .phone {
23
41
  position: relative;
@@ -26,22 +44,33 @@
26
44
  box-shadow:
27
45
  0 40px 80px -40px tint($glow),
28
46
  0 1px 0 tint($faint) inset;
29
- transition: transform 0.9s $ease;
47
+ &::after {
48
+ content: "";
49
+ position: absolute;
50
+ inset: 0;
51
+ z-index: 2;
52
+ background: linear-gradient(
53
+ 115deg,
54
+ transparent 30%,
55
+ rgb(255 255 255 / 9%) 46%,
56
+ rgb(255 255 255 / 3%) 54%,
57
+ transparent 70%
58
+ );
59
+ background-size: 250% 100%;
60
+ background-position: calc(50% - #{$x} * 40%) 0;
61
+ opacity: $hover;
62
+ pointer-events: none;
63
+ }
30
64
  }
65
+ /* At rest it is turned a little away; it turns to face the visitor as the pointer arrives. */
31
66
  .browser {
32
67
  display: grid;
33
- grid-template-rows: auto 1fr;
68
+ grid-template-rows: auto auto;
69
+ align-self: center;
34
70
  justify-content: stretch;
35
71
  border-radius: 14px;
36
- transform: rotateY(8deg) rotateX(2deg);
37
72
  transform-origin: left center;
38
- .viewport {
39
- aspect-ratio: 16 / 10;
40
- }
41
- }
42
- .stage:hover .browser,
43
- .stage:hover .phone {
44
- transform: none;
73
+ transform: rotateY(calc(8deg * (1 - #{$hover}))) rotateX(calc(2deg * (1 - #{$hover})));
45
74
  }
46
75
  .bar {
47
76
  display: grid;
@@ -73,14 +102,16 @@
73
102
  font-size: 11px;
74
103
  color: var(--foreground-2);
75
104
  }
105
+ /* The phone stands in front of the window's lower right corner, nearer, so it moves more. */
76
106
  .phone {
77
107
  position: absolute;
78
- right: clamp(8px, 3vw, 40px);
79
- bottom: clamp(12px, 3vw, 36px);
80
- width: clamp(104px, 22%, 200px);
108
+ right: clamp(-28px, -2vw, -8px);
109
+ bottom: clamp(-40px, -3vw, -16px);
110
+ width: clamp(96px, 24%, 190px);
81
111
  padding: 5px;
82
112
  border-radius: 26px;
83
- transform: rotateY(-10deg) translateZ(40px);
113
+ transform: translate3d(calc(#{$x} * 16px), calc(#{$y} * 10px), 70px)
114
+ rotateY(calc(-10deg * (1 - #{$hover}) + #{$x} * 4deg));
84
115
  .viewport {
85
116
  aspect-ratio: 9 / 19.5;
86
117
  border-radius: 21px;
@@ -99,3 +130,11 @@
99
130
  object-fit: cover;
100
131
  object-position: top;
101
132
  }
133
+ @media (prefers-reduced-motion: reduce) {
134
+ .scene,
135
+ .browser,
136
+ .phone,
137
+ .glow {
138
+ transform: none;
139
+ }
140
+ }
@@ -1,7 +1,7 @@
1
1
  import type { ChapterProperties } from "@sharadox/sharadox-web-library/component/project-page/chapter/type";
2
2
  /**
3
- * One part of a project, live: its number and name beside what to try, then the website's own component in a window
4
- * running across the frame, a live dot and the site's address over it.
3
+ * One part of a project we're proud of: its number and name, what it is, and a few details of how it works, then the
4
+ * website's own component in a window running across the frame, a live dot and the site's address over it.
5
5
  */
6
- export declare function Chapter({ number, title, text, live, children }: ChapterProperties): import("react").JSX.Element;
6
+ export declare function Chapter({ number, title, text, points, detailsLabel, live, children }: ChapterProperties): import("react").JSX.Element;
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oEAAoE,CAAC;AAE5G;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAwBjF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oEAAoE,CAAC;AAE5G;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAqCvG"}
@@ -1,12 +1,13 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Reveal } from "@sharadox/animation-web-library/reveal";
3
+ import { Icon } from "@sharadox/icon-web-library/icon";
3
4
  import { Section } from "@sharadox/sharadox-web-library/component/section";
4
5
  import styles from "./index.module.css";
5
6
  /**
6
- * One part of a project, live: its number and name beside what to try, then the website's own component in a window
7
- * running across the frame, a live dot and the site's address over it.
7
+ * One part of a project we're proud of: its number and name, what it is, and a few details of how it works, then the
8
+ * website's own component in a window running across the frame, a live dot and the site's address over it.
8
9
  */
9
- export function Chapter({ number, title, text, live, children }) {
10
- return (_jsxs(Section, { padded: false, children: [_jsxs(Reveal, { className: styles.copy, children: [_jsx("span", { className: `monospace ${styles.number}`, children: String(number).padStart(2, "0") }), _jsx("h2", { children: title }), _jsx("p", { children: text })] }), _jsxs("div", { className: styles.window, children: [_jsxs("div", { className: `monospace ${styles.bar}`, children: [_jsxs("span", { className: styles.dots, "aria-hidden": true, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsxs("span", { className: styles.live, children: [_jsx("i", { "aria-hidden": true }), live] })] }), _jsx("div", { className: styles.stage, children: children })] })] }));
10
+ export function Chapter({ number, title, text, points, detailsLabel, live, children }) {
11
+ return (_jsxs(Section, { padded: false, children: [_jsxs(Reveal, { className: styles.copy, children: [_jsx("span", { className: `monospace ${styles.number}`, children: String(number).padStart(2, "0") }), _jsx("h2", { children: title }), _jsxs("div", { className: styles.about, children: [_jsx("p", { children: text }), _jsxs("div", { className: styles.details, children: [_jsx("span", { className: "monospace", children: detailsLabel }), _jsx("ul", { children: points.map((point) => (_jsxs("li", { children: [_jsx(Icon, { name: "check", strokeWidth: 1.6 }), point] }, point))) })] })] })] }), _jsxs("div", { className: styles.window, children: [_jsxs("div", { className: `monospace ${styles.bar}`, children: [_jsxs("span", { className: styles.dots, "aria-hidden": true, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsxs("span", { className: styles.live, children: [_jsx("i", { "aria-hidden": true }), live] })] }), _jsx("div", { className: styles.stage, children: children })] })] }));
11
12
  }
12
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAqB;IAChF,OAAO,CACL,MAAC,OAAO,IAAC,MAAM,EAAE,KAAK,aACpB,MAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,aAC5B,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EACvF,uBAAK,KAAK,GAAM,EAChB,sBAAI,IAAI,GAAK,IACN,EACT,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,aAAa,MAAM,CAAC,GAAG,EAAE,aACvC,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,kCAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,kCAAiB,EAChB,IAAI,IACA,IACH,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,QAAQ,GAAO,IAC1C,IACE,CACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAqB;IACtG,OAAO,CACL,MAAC,OAAO,IAAC,MAAM,EAAE,KAAK,aACpB,MAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,aAC5B,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EACvF,uBAAK,KAAK,GAAM,EAChB,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,sBAAI,IAAI,GAAK,EACb,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,eAAM,SAAS,EAAC,WAAW,YAAE,YAAY,GAAQ,EACjD,uBACG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACrB,yBACE,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAE,GAAG,GAAI,EACtC,KAAK,KAFC,KAAK,CAGT,CACN,CAAC,GACC,IACD,IACF,IACC,EACT,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,aAAa,MAAM,CAAC,GAAG,EAAE,aACvC,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,kCAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,kCAAiB,EAChB,IAAI,IACA,IACH,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,QAAQ,GAAO,IAC1C,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .copy{display:grid;grid-template-columns:auto minmax(0, 1fr) minmax(0, 1.1fr);align-items:baseline;gap:12px 24px;padding:clamp(40px,6vw,80px) var(--padding) clamp(28px,4vw,44px);text-align:left}.copy h2{font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.05;text-wrap:balance}.copy p{color:var(--foreground-2);line-height:1.65;text-wrap:pretty}@media(max-width: 900px){.copy{grid-template-columns:auto minmax(0, 1fr)}.copy p{grid-column:1/-1}}.number{font-size:12px;color:var(--foreground-3)}.window{border-top:1px dashed var(--line-2)}.bar{display:flex;align-items:center;justify-content:space-between;padding:10px var(--padding);border-bottom:1px solid var(--line-2);background:color-mix(in srgb, var(--foreground) 9%, var(--background));font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.live{display:flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 3px color-mix(in srgb, var(--foreground) 20%, transparent);animation:chapter-live 2s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes chapter-live{50%{opacity:.45}}.stage{position:relative;min-width:0}
1
+ .copy{display:grid;grid-template-columns:auto minmax(0, 1fr) minmax(0, 1.25fr);align-items:baseline;gap:12px 24px;padding:clamp(40px,6vw,80px) var(--padding) clamp(28px,4vw,44px);text-align:left}.copy h2{font-size:clamp(1.8rem,3.4vw,2.8rem);line-height:1.05;text-wrap:balance}@media(max-width: 900px){.copy{grid-template-columns:auto minmax(0, 1fr)}.copy .about{grid-column:1/-1}}.about{display:grid;justify-content:stretch;gap:22px}.about p{color:var(--foreground-2);line-height:1.65;text-wrap:pretty}.details{display:grid;justify-content:stretch;gap:12px;padding-top:18px;border-top:1px dashed var(--line-2)}.details>span{font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.details ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}.details li{display:grid;grid-template-columns:auto minmax(0, 1fr);align-items:baseline;gap:10px;font-size:15px;line-height:1.55;color:var(--foreground-2);text-wrap:pretty}.details li svg{position:relative;top:2px;color:var(--foreground)}.number{font-size:12px;color:var(--foreground-3)}.window{border-top:1px dashed var(--line-2)}.bar{display:flex;align-items:center;justify-content:space-between;padding:10px var(--padding);border-bottom:1px solid var(--line-2);background:color-mix(in srgb, var(--foreground) 9%, var(--background));font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.live{display:flex;align-items:center;gap:8px}.live i{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 3px color-mix(in srgb, var(--foreground) 20%, transparent);animation:chapter-live 2s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.live i{animation:none}}@keyframes chapter-live{50%{opacity:.45}}.stage{position:relative;min-width:0}
@@ -1,10 +1,10 @@
1
1
  @use "style/token" as *;
2
2
  @use "style/object" as *;
3
3
 
4
- /* The number and name on the left, what to try on the right; stacked on phones. */
4
+ /* The number and name on the left; what it is and how it works on the right; stacked on phones. */
5
5
  .copy {
6
6
  display: grid;
7
- grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr);
7
+ grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.25fr);
8
8
  align-items: baseline;
9
9
  gap: 12px 24px;
10
10
  padding: clamp(40px, 6vw, 80px) var(--padding) clamp(28px, 4vw, 44px);
@@ -14,15 +14,56 @@
14
14
  line-height: 1.05;
15
15
  text-wrap: balance;
16
16
  }
17
+ @include below(900px) {
18
+ grid-template-columns: auto minmax(0, 1fr);
19
+ .about {
20
+ grid-column: 1 / -1;
21
+ }
22
+ }
23
+ }
24
+ .about {
25
+ display: grid;
26
+ justify-content: stretch;
27
+ gap: 22px;
17
28
  p {
18
29
  color: var(--foreground-2);
19
30
  line-height: 1.65;
20
31
  text-wrap: pretty;
21
32
  }
22
- @include below(900px) {
33
+ }
34
+ /* How it works: a label and a few lines, each after a tick, over a dashed rule. */
35
+ .details {
36
+ display: grid;
37
+ justify-content: stretch;
38
+ gap: 12px;
39
+ padding-top: 18px;
40
+ border-top: 1px dashed var(--line-2);
41
+ > span {
42
+ font-size: 11.5px;
43
+ letter-spacing: 0.04em;
44
+ text-transform: uppercase;
45
+ color: var(--foreground-3);
46
+ }
47
+ ul {
48
+ display: grid;
49
+ gap: 10px;
50
+ margin: 0;
51
+ padding: 0;
52
+ list-style: none;
53
+ }
54
+ li {
55
+ display: grid;
23
56
  grid-template-columns: auto minmax(0, 1fr);
24
- p {
25
- grid-column: 1 / -1;
57
+ align-items: baseline;
58
+ gap: 10px;
59
+ font-size: 15px;
60
+ line-height: 1.55;
61
+ color: var(--foreground-2);
62
+ text-wrap: pretty;
63
+ svg {
64
+ position: relative;
65
+ top: 2px;
66
+ color: var(--foreground);
26
67
  }
27
68
  }
28
69
  }
@@ -4,6 +4,9 @@ export interface ChapterProperties {
4
4
  number: number;
5
5
  title: string;
6
6
  text: string;
7
+ /** A few details of how it works, under a label (`detailsLabel`). */
8
+ points: readonly string[];
9
+ detailsLabel: string;
7
10
  /** The label over the live part ("Live · luispiresdecor.com"). */
8
11
  live: string;
9
12
  children?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -1,8 +1,9 @@
1
1
  import type { ProjectPageProperties } from "@sharadox/sharadox-web-library/component/project-page/type";
2
2
  /**
3
3
  * A project's own page. It opens with the client and the headline, the whole story, the details, the services we
4
- * made, and the first screen on a computer and a phone. Then, chapter by chapter, the website's own components run
5
- * live in windows, each under what to try. Only at the end, the way to the site itself, and back to the portfolio.
4
+ * made, and the first screen on a computer and a phone. Then a word on what follows: a few of the parts we're proudest
5
+ * of, chapter by chapter, each explained (what it is, how it works) and then running live in a window, the website's
6
+ * own components. At the end, "See it live on <domain>": the site itself, in a new tab, and the way back.
6
7
  *
7
8
  * @example
8
9
  * <ProjectPage project={PORTFOLIO.projects[0]} locale="en" chapters={{ hero: <Hero locale="en" /> }} />
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,+BAiE/E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,+BAyE/E"}
@@ -13,8 +13,9 @@ import { SECTION } from "@sharadox/sharadox-web-library/content/section";
13
13
  import styles from "./index.module.css";
14
14
  /**
15
15
  * A project's own page. It opens with the client and the headline, the whole story, the details, the services we
16
- * made, and the first screen on a computer and a phone. Then, chapter by chapter, the website's own components run
17
- * live in windows, each under what to try. Only at the end, the way to the site itself, and back to the portfolio.
16
+ * made, and the first screen on a computer and a phone. Then a word on what follows: a few of the parts we're proudest
17
+ * of, chapter by chapter, each explained (what it is, how it works) and then running live in a window, the website's
18
+ * own components. At the end, "See it live on <domain>": the site itself, in a new tab, and the way back.
18
19
  *
19
20
  * @example
20
21
  * <ProjectPage project={PORTFOLIO.projects[0]} locale="en" chapters={{ hero: <Hero locale="en" /> }} />
@@ -23,6 +24,6 @@ export function ProjectPage({ project, locale, chapters }) {
23
24
  const { details, page } = PORTFOLIO;
24
25
  const domain = new URL(project.url).host;
25
26
  const shown = project.chapters.filter((chapter) => chapters[chapter.key]);
26
- return (_jsxs("article", { className: styles.page, children: [_jsxs(Section, { className: styles.intro, padded: false, children: [_jsxs(Reveal, { className: styles.copy, children: [_jsxs(Eyebrow, { children: [translate(SECTION.portfolio, locale), " \u00B7 ", launchDate(project.date, locale)] }), _jsxs("h1", { children: [_jsx("span", { className: styles.client, children: project.client }), translate(project.name, locale)] }), _jsx("p", { className: styles.story, children: translate(project.story, 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: launchDate(project.date, locale) })] })] }), _jsxs("div", { className: styles.services, children: [_jsx("span", { className: "monospace", children: translate(details.services, locale) }), _jsx("ul", { children: project.services.map((service) => (_jsx("li", { children: serviceName(service, locale) }, service))) })] })] }), _jsx(Screens, { project: project, label: `${project.client} ${translate(PORTFOLIO.screens, locale)}`, priority: true })] }), shown.map((chapter, index) => (_jsx(Chapter, { number: index + 1, title: translate(chapter.title, locale), text: translate(chapter.text, locale), live: `${translate(page.live, locale)} · ${domain}`, children: chapters[chapter.key] }, chapter.key))), _jsxs(Section, { className: styles.end, children: [_jsx("h2", { children: translate(page.visitTitle, locale) }), _jsxs("div", { className: styles.actions, children: [_jsxs(Button, { href: project.url, arrow: true, children: [translate(page.visit, locale), " ", domain] }), _jsx(Button, { href: `/${locale}#${SECTION.portfolio.id}`, variant: "ghost", children: translate(page.back, locale) })] })] })] }));
27
+ return (_jsxs("article", { className: styles.page, children: [_jsxs(Section, { className: styles.intro, padded: false, children: [_jsxs(Reveal, { className: styles.copy, children: [_jsxs(Eyebrow, { children: [translate(SECTION.portfolio, locale), " \u00B7 ", launchDate(project.date, locale)] }), _jsxs("h1", { children: [_jsx("span", { className: styles.client, children: project.client }), translate(project.name, locale)] }), _jsx("p", { className: styles.story, children: translate(project.story, 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: launchDate(project.date, locale) })] })] }), _jsxs("div", { className: styles.services, children: [_jsx("span", { className: "monospace", children: translate(details.services, locale) }), _jsx("ul", { children: project.services.map((service) => (_jsx("li", { children: serviceName(service, locale) }, service))) })] })] }), _jsx(Screens, { project: project, label: `${project.client} ${translate(PORTFOLIO.screens, locale)}`, priority: true })] }), _jsxs(Section, { className: styles.lead, children: [_jsx(Eyebrow, { children: translate(page.intro.eyebrow, locale) }), _jsx("p", { className: styles.leadText, children: translate(page.intro.text, locale) })] }), shown.map((chapter, index) => (_jsx(Chapter, { number: index + 1, title: translate(chapter.title, locale), text: translate(chapter.text, locale), points: chapter.points.map((point) => translate(point, locale)), detailsLabel: translate(page.details, locale), live: `${translate(page.live, locale)} · ${domain}`, children: chapters[chapter.key] }, chapter.key))), _jsxs(Section, { className: styles.end, children: [_jsxs("h2", { children: [translate(page.visitTitle, locale), " ", _jsx("span", { className: styles.domain, children: domain })] }), _jsxs("div", { className: styles.actions, children: [_jsxs(Button, { href: project.url, arrow: true, children: [translate(page.visit, locale), " ", domain] }), _jsx(Button, { href: `/${locale}#${SECTION.portfolio.id}`, variant: "ghost", children: translate(page.back, locale) })] })] })] }));
27
28
  }
28
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,gEAAgE,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AACrF,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AAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,EACrC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,EAC/D,YAAY,EAAE,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,EAC7C,IAAI,EAAE,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,MAAM,EAAE,YAElD,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IARjB,OAAO,CAAC,GAAG,CASR,CACX,CAAC,EACF,MAAC,OAAO,IAAC,SAAS,EAAE,MAAM,CAAC,GAAG,aAC5B,yBACG,SAAS,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,OAAE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,YAAG,MAAM,GAAQ,IACjF,EACL,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5B,MAAC,MAAM,IAAC,IAAI,EAAE,OAAO,CAAC,GAAG,EAAE,KAAK,mBAC7B,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,OAAG,MAAM,IAChC,EACT,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,MAAM,IAAI,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,OAAO,EAAC,OAAO,YAChE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GACtB,IACL,IACE,IACF,CACX,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- .page{display:grid;grid-template-columns:minmax(0, 1fr)}.intro{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);align-items:center;margin-top:64px}@media(max-width: 1000px){.intro{grid-template-columns:minmax(0, 1fr)}}.copy{display:grid;justify-content:stretch;gap:24px;padding:clamp(40px,6vw,88px) var(--padding);text-align:left}.copy h1{display:grid;gap:14px;font-size:clamp(2.4rem,5vw,4rem);line-height:1;text-wrap:balance}.client{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.story{color:var(--foreground-2);line-height:1.7;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));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>span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.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}.end{display:grid;justify-items:center;gap:28px;text-align:center}.end h2{max-width:16ch;text-wrap:balance}.actions{display:flex;flex-wrap:wrap;gap:12px}
1
+ .page{display:grid;grid-template-columns:minmax(0, 1fr)}.intro{display:grid;grid-template-columns:minmax(0, 5fr) minmax(0, 7fr);align-items:center;margin-top:64px}@media(max-width: 1000px){.intro{grid-template-columns:minmax(0, 1fr)}}.copy{display:grid;justify-content:stretch;gap:24px;padding:clamp(40px,6vw,88px) var(--padding);text-align:left}.copy h1{display:grid;gap:14px;font-size:clamp(2.4rem,5vw,4rem);line-height:1;text-wrap:balance}.client{font-size:15px;font-weight:500;letter-spacing:0;color:var(--foreground-2)}.story{color:var(--foreground-2);line-height:1.7;text-wrap:pretty}.details{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));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>span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--foreground-3)}.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}.end{display:grid;justify-items:center;gap:28px;text-align:center}.end h2{max-width:22ch;text-wrap:balance}.actions{display:flex;flex-wrap:wrap;gap:12px}.lead{display:grid;justify-items:start;gap:18px;border-top:1px solid var(--line);text-align:left}.lead .leadText{max-width:52ch;font-size:clamp(1.25rem,2.2vw,1.75rem);font-weight:500;line-height:1.3;letter-spacing:-0.03em;text-wrap:pretty}.domain{color:var(--foreground-2)}
@@ -104,7 +104,7 @@
104
104
  gap: 28px;
105
105
  text-align: center;
106
106
  h2 {
107
- max-width: 16ch;
107
+ max-width: 22ch;
108
108
  text-wrap: balance;
109
109
  }
110
110
  }
@@ -113,3 +113,24 @@
113
113
  flex-wrap: wrap;
114
114
  gap: 12px;
115
115
  }
116
+
117
+ /* Before the chapters: what the page shows, in a few calm lines. */
118
+ .lead {
119
+ display: grid;
120
+ justify-items: start;
121
+ gap: 18px;
122
+ border-top: 1px solid var(--line);
123
+ text-align: left;
124
+ .leadText {
125
+ max-width: 52ch;
126
+ font-size: clamp(1.25rem, 2.2vw, 1.75rem);
127
+ font-weight: 500;
128
+ line-height: 1.3;
129
+ letter-spacing: -0.03em;
130
+ text-wrap: pretty;
131
+ }
132
+ }
133
+ /* The site's address, the end's last words, a little quieter. */
134
+ .domain {
135
+ color: var(--foreground-2);
136
+ }
@@ -49,9 +49,31 @@ export declare const PORTFOLIO: {
49
49
  readonly en: "Live";
50
50
  readonly pt: "Ao vivo";
51
51
  };
52
+ /** Before the chapters: what the page shows, and that it's the real thing. */
53
+ readonly intro: {
54
+ readonly eyebrow: {
55
+ readonly en: "Inside the website";
56
+ readonly pt: "Dentro do website";
57
+ };
58
+ readonly text: {
59
+ readonly en: "A few of the parts we're proudest of on this site, each explained and then running live, right here. These aren't pictures: they're the website's own components.";
60
+ readonly pt: "Algumas das partes deste site de que mais nos orgulhamos, cada uma explicada e depois a funcionar ao vivo, aqui mesmo. Não são imagens: são os próprios componentes do website.";
61
+ };
62
+ };
63
+ /** The label over each chapter's details. */
64
+ readonly details: {
65
+ readonly en: "How it works";
66
+ readonly pt: "Como funciona";
67
+ };
68
+ /** What the demo form says when sent, instead of sending. */
69
+ readonly demo: {
70
+ readonly en: "This is a demo, so nothing was sent. On the live site, this request goes straight to the workshop's inbox.";
71
+ readonly pt: "Isto é uma demonstração, por isso nada foi enviado. No site, este pedido segue diretamente para a caixa de correio da oficina.";
72
+ };
73
+ /** The end: "See it live on <domain>". */
52
74
  readonly visitTitle: {
53
- readonly en: "See it all on its own site.";
54
- readonly pt: "Veja tudo no próprio site.";
75
+ readonly en: "See it live on";
76
+ readonly pt: "Veja-o ao vivo em";
55
77
  };
56
78
  readonly visit: {
57
79
  readonly en: "Visit";
@@ -66,17 +88,17 @@ export declare const PORTFOLIO: {
66
88
  readonly key: "luis-pires-decor";
67
89
  readonly client: "Luis Pires Decor";
68
90
  readonly name: {
69
- readonly en: "Made by hand, now online.";
70
- readonly pt: "Feito à mão, agora online.";
91
+ readonly en: "A lifelong craft, now easy to find.";
92
+ readonly pt: "Um ofício de sempre, agora fácil de encontrar.";
71
93
  };
72
94
  readonly text: {
73
- readonly en: "An upholstery and interiors workshop in the Algarve since 1996. A renewed brand, and a bilingual website as crafted as its work: a 3D monogram, a scroll-driven timelapse, a fabric studio, a filterable portfolio and booking requests straight to the workshop's inbox, with hosting on its own domain, professional email, and an app customers can install.";
74
- readonly pt: "Uma oficina de estofos e decoração no Algarve desde 1996. Uma marca renovada, e um website bilingue tão cuidado como o seu trabalho: um monograma em 3D, um timelapse guiado pelo scroll, um estúdio de tecidos, um portefólio com filtros e pedidos de visita diretos para a caixa de correio da oficina, com alojamento no seu próprio domínio, email profissional e uma aplicação que os clientes podem instalar.";
95
+ readonly en: "An upholstery and interiors workshop in the Algarve since 1996. A renewed brand, and a bilingual website built to be found: described for search engines and written so AI assistants understand it, so whoever asks for an upholsterer in the Algarve is pointed its way. Inside, a 3D monogram, a scroll-driven timelapse, a fabric studio, a filterable portfolio and booking requests straight to the workshop's inbox, on its own domain, with professional email and an app customers can install.";
96
+ readonly pt: "Uma oficina de estofos e decoração no Algarve desde 1996. Uma marca renovada, e um website bilingue feito para ser encontrado: descrito para os motores de busca e escrito para que os assistentes de IA o compreendam, para que quem procura um estofador no Algarve chegue até ela. Lá dentro, um monograma em 3D, um timelapse guiado pelo scroll, um estúdio de tecidos, um portefólio com filtros e pedidos de visita diretos para a caixa de correio da oficina, no seu próprio domínio, com email profissional e uma aplicação que os clientes podem instalar.";
75
97
  };
76
98
  /** On its page, after the headline: the whole story. */
77
99
  readonly story: {
78
- readonly en: "Luis Pires Decor has upholstered, sewn and dressed homes across the Algarve since 1996. We renewed its brand and its design, then built a website as crafted as the workshop: bilingual, in 3D where it counts, fast on every phone, and able to take a booking request straight to the workshop's inbox. It runs on its own domain, with professional email, and installs like an app. Below, nothing is a picture: these are the website's own components, running live on this page.";
79
- readonly pt: "A Luis Pires Decor estofa, cose e veste casas por todo o Algarve desde 1996. Renovámos a sua marca e o seu design, e construímos um website tão cuidado como a oficina: bilingue, em 3D onde importa, rápido em qualquer telemóvel, e capaz de levar um pedido de visita diretamente à caixa de correio da oficina. Funciona no seu próprio domínio, com email profissional, e instala-se como uma aplicação. Abaixo, nada é uma imagem: são os próprios componentes do website, a funcionar ao vivo nesta página.";
100
+ readonly en: "Luis Pires Decor has upholstered, sewn and dressed homes across the Algarve since 1996. We renewed its brand and its design, then built a website as refined as the workshop's own work, and made to be found: every page is described for search engines in both languages, and the site explains itself to AI assistants, so people asking for an upholsterer nearby find it. It runs on its own domain, with professional email, and installs like an app.";
101
+ readonly pt: "A Luis Pires Decor estofa, cose e veste casas por todo o Algarve desde 1996. Renovámos a sua marca e o seu design, e construímos um website tão cuidado como o trabalho da própria oficina, e feito para ser encontrado: cada página está descrita para os motores de busca nas duas línguas, e o site explica-se aos assistentes de IA, para que quem procura um estofador por perto o encontre. Funciona no seu próprio domínio, com email profissional, e instala-se como uma aplicação.";
80
102
  };
81
103
  readonly place: {
82
104
  readonly en: "Algarve, Portugal";
@@ -99,17 +121,30 @@ export declare const PORTFOLIO: {
99
121
  readonly height: 1125;
100
122
  };
101
123
  };
102
- /** Its page's chapters, in order: each shows one of the website's components, live, under these words. */
124
+ /**
125
+ * Its page's chapters, in order: each is one part of the website we're proud of, what it is, a few details of how
126
+ * it works (`points`), and then the part itself, live.
127
+ */
103
128
  readonly chapters: readonly [{
104
129
  readonly key: "hero";
105
130
  readonly title: {
106
- readonly en: "A first screen in 3D";
107
- readonly pt: "Um primeiro ecrã em 3D";
131
+ readonly en: "The monogram, in real 3D";
132
+ readonly pt: "O monograma, em 3D a sério";
108
133
  };
109
134
  readonly text: {
110
- readonly en: "Black satin ripples under warm light, and the gold monogram floats above it. Bring the pointer close and it turns to face you; grab it, and spin it. Then, as on the site, the places they work in glide by, and the workshop opens full screen.";
111
- readonly pt: "Cetim preto ondula sob uma luz quente, e o monograma dourado flutua por cima. Aproxime o cursor e ele vira-se para si; agarre-o, e faça-o girar. Depois, como no site, os lugares onde trabalham deslizam, e a oficina abre em ecrã inteiro.";
135
+ readonly en: "The first screen greets visitors with the brand itself: the gold monogram floating over black satin that ripples under a warm light. Bring the pointer close and it turns to face you; grab it, and spin it.";
136
+ readonly pt: "O primeiro ecrã recebe os visitantes com a própria marca: o monograma dourado a flutuar sobre cetim preto que ondula sob uma luz quente. Aproxime o cursor e ele vira-se para si; agarre-o, e faça-o girar.";
112
137
  };
138
+ readonly points: readonly [{
139
+ readonly en: "Drawn live in the browser with WebGL, not a video: sharp on any screen, and light to load.";
140
+ readonly pt: "Desenhado ao vivo no browser com WebGL, não é um vídeo: nítido em qualquer ecrã, e leve a carregar.";
141
+ }, {
142
+ readonly en: "The words arrive first, and the 3D scene follows without holding them back.";
143
+ readonly pt: "As palavras chegam primeiro, e a cena 3D segue-se sem as atrasar.";
144
+ }, {
145
+ readonly en: "It pauses when it's off screen, and holds still for visitors who ask for less motion.";
146
+ readonly pt: "Pausa fora do ecrã, e fica parado para quem pede menos movimento.";
147
+ }];
113
148
  }, {
114
149
  readonly key: "sequence";
115
150
  readonly title: {
@@ -117,9 +152,19 @@ export declare const PORTFOLIO: {
117
152
  readonly pt: "Da estrutura ao acabamento";
118
153
  };
119
154
  readonly text: {
120
- readonly en: "Seven stages of one Chesterfield, as a timelapse under your finger: as the page scrolls on, each photo fades into the next and a gold thread follows. Open any photo full screen.";
121
- readonly pt: "Sete etapas de um Chesterfield, como um timelapse sob o seu dedo: à medida que a página avança, cada fotografia funde-se na seguinte e um fio dourado acompanha. Abra qualquer fotografia em ecrã inteiro.";
155
+ readonly en: "Seven stages of one Chesterfield, from the bare frame to the finished sofa, told as a timelapse that your own scrolling drives.";
156
+ readonly pt: "Sete etapas de um Chesterfield, da estrutura nua ao sofá terminado, contadas como um timelapse guiado pelo seu próprio scroll.";
122
157
  };
158
+ readonly points: readonly [{
159
+ readonly en: "The section holds still while you scroll: each photo fades into the next, and a gold thread fills.";
160
+ readonly pt: "A secção fica parada enquanto faz scroll: cada fotografia funde-se na seguinte, e um fio dourado enche-se.";
161
+ }, {
162
+ readonly en: "Each stage's name leads straight to it, and any photo opens full screen.";
163
+ readonly pt: "O nome de cada etapa leva diretamente a ela, e qualquer fotografia abre em ecrã inteiro.";
164
+ }, {
165
+ readonly en: "On phones the photo runs edge to edge, with the stage's caption over it.";
166
+ readonly pt: "Nos telemóveis a fotografia ocupa o ecrã de ponta a ponta, com a legenda da etapa por cima.";
167
+ }];
123
168
  }, {
124
169
  readonly key: "fabric";
125
170
  readonly title: {
@@ -127,9 +172,19 @@ export declare const PORTFOLIO: {
127
172
  readonly pt: "O showroom nas suas mãos";
128
173
  };
129
174
  readonly text: {
130
- readonly en: "Choose a fabric family and a color, and the 3D cushion is dressed in it. Underneath, the houses in the showroom glide by: grab them, and fling them.";
131
- readonly pt: "Escolha uma família de tecidos e uma cor, e a almofada em 3D veste-se com ela. Por baixo, as marcas do showroom deslizam: agarre-as, e lance-as.";
175
+ readonly en: "Choose a fabric family and a color, and the 3D cushion is dressed in it, the new cloth wiping over the last.";
176
+ readonly pt: "Escolha uma família de tecidos e uma cor, e a almofada em 3D veste-se com ela, o novo tecido a passar sobre o anterior.";
132
177
  };
178
+ readonly points: readonly [{
179
+ readonly en: "Six weaves drawn by the graphics card, each with its own texture and sheen: the soft glow of velvet, the loops of bouclé, the threads of linen.";
180
+ readonly pt: "Seis tecidos desenhados pela placa gráfica, cada um com a sua textura e brilho: o brilho suave do veludo, os laços do bouclé, os fios do linho.";
181
+ }, {
182
+ readonly en: "Drag the cushion to turn it, and watch the light move across the cloth.";
183
+ readonly pt: "Arraste a almofada para a rodar, e veja a luz a passar pelo tecido.";
184
+ }, {
185
+ readonly en: "Underneath, the fabric houses in the showroom glide by: grab them, and fling them.";
186
+ readonly pt: "Por baixo, as marcas de tecidos do showroom deslizam: agarre-as, e lance-as.";
187
+ }];
133
188
  }, {
134
189
  readonly key: "work";
135
190
  readonly title: {
@@ -137,19 +192,19 @@ export declare const PORTFOLIO: {
137
192
  readonly pt: "O trabalho, numa parede editorial";
138
193
  };
139
194
  readonly text: {
140
- readonly en: "The workshop's real projects, filtered by what they show. Open any photo, and page through them full screen.";
141
- readonly pt: "Os projetos reais da oficina, filtrados pelo que mostram. Abra qualquer fotografia, e percorra-as em ecrã inteiro.";
142
- };
143
- }, {
144
- readonly key: "process";
145
- readonly title: {
146
- readonly en: "How it works, sewn in gold";
147
- readonly pt: "Como funciona, cosido a ouro";
148
- };
149
- readonly text: {
150
- readonly en: "Five steps, joined by a gold thread that sews itself across as they scroll into view.";
151
- readonly pt: "Cinco passos, unidos por um fio dourado que se cose sozinho à medida que entram no ecrã.";
195
+ readonly en: "The workshop's real projects, laid out like a magazine spread and filtered by what they show.";
196
+ readonly pt: "Os projetos reais da oficina, dispostos como numa revista e filtrados pelo que mostram.";
152
197
  };
198
+ readonly points: readonly [{
199
+ readonly en: "Only the filters these photos need, so none ever leads to an empty wall.";
200
+ readonly pt: "Só os filtros de que estas fotografias precisam, para que nenhum leve a uma parede vazia.";
201
+ }, {
202
+ readonly en: "Any photo opens full screen: page through them with the arrows, a swipe or the keyboard.";
203
+ readonly pt: "Qualquer fotografia abre em ecrã inteiro: percorra-as com as setas, deslizando ou com o teclado.";
204
+ }, {
205
+ readonly en: "Each photo loads at the size the screen needs, and fades in as it arrives.";
206
+ readonly pt: "Cada fotografia carrega no tamanho de que o ecrã precisa, e aparece suavemente quando chega.";
207
+ }];
153
208
  }, {
154
209
  readonly key: "booking";
155
210
  readonly title: {
@@ -157,9 +212,22 @@ export declare const PORTFOLIO: {
157
212
  readonly pt: "Marcar uma visita";
158
213
  };
159
214
  readonly text: {
160
- readonly en: "The form checks itself as you type, takes an email, a phone or both, and sends the request to the workshop's inbox, with a reply to the visitor. Try it: from this page, nothing is sent.";
161
- readonly pt: "O formulário verifica-se enquanto escreve, aceita um email, um telefone ou ambos, e envia o pedido para a caixa de correio da oficina, com uma resposta ao visitante. Experimente: a partir desta página, nada é enviado.";
215
+ readonly en: "The way into the workshop: a request that reaches its inbox at once, and an automatic reply to the visitor, in their own language.";
216
+ readonly pt: "A porta de entrada da oficina: um pedido que chega de imediato à sua caixa de correio, e uma resposta automática ao visitante, na sua própria língua.";
162
217
  };
218
+ readonly points: readonly [{
219
+ readonly en: "It checks itself as you type, and takes an email, a phone or both.";
220
+ readonly pt: "Verifica-se enquanto escreve, e aceita um email, um telefone ou ambos.";
221
+ }, {
222
+ readonly en: "The phone has every country's flag and calling code, and takes digits only.";
223
+ readonly pt: "O telefone tem a bandeira e o indicativo de cada país, e só aceita algarismos.";
224
+ }, {
225
+ readonly en: "Bots are kept out without a single puzzle for people to solve.";
226
+ readonly pt: "Os robôs ficam de fora sem um único desafio para as pessoas resolverem.";
227
+ }, {
228
+ readonly en: "Try it: from this page, sending only tells you it's a demo.";
229
+ readonly pt: "Experimente: a partir desta página, enviar só lhe diz que é uma demonstração.";
230
+ }];
163
231
  }];
164
232
  }];
165
233
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,SAAS;IACpB,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAa1D,4CAA4C;;;;;IAE5C,6FAA6F;;;;;IAE7F,qFAAqF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgBjF,wDAAwD;;;;;;;;;QAMxD,yCAAyC;;;;QAWzC,8GAA8G;;;;;;;;;;;;;QAK9G,0GAA0G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDtG,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/portfolio/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,SAAS;IACpB,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAa1D,4CAA4C;;;;;IAE5C,6FAA6F;;;;;IAE7F,qFAAqF;;;;;;QAGnF,8EAA8E;;;;;;;;;;;QAQ9E,6CAA6C;;;;;QAE7C,6DAA6D;;;;;QAK7D,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;QAcxC,wDAAwD;;;;;;;;;QAMxD,yCAAyC;;;;QAWzC,8GAA8G;;;;;;;;;;;;;QAK9G;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuHC,CAAC"}