@sharadox/sharadox-web-library 0.43.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/distribution/component/about/feed/activity/index.d.ts +8 -0
- package/distribution/component/about/feed/activity/index.d.ts.map +1 -0
- package/distribution/component/about/feed/activity/index.js +23 -0
- package/distribution/component/about/feed/activity/index.js.map +1 -0
- package/distribution/component/about/feed/activity/index.module.css +1 -0
- package/distribution/component/about/feed/activity/index.module.scss +91 -0
- package/distribution/component/about/feed/activity/type.d.ts +7 -0
- package/distribution/component/about/feed/activity/type.d.ts.map +1 -0
- package/distribution/component/about/feed/activity/type.js.map +1 -0
- package/distribution/component/about/feed/client/index.d.ts +7 -0
- package/distribution/component/about/feed/client/index.d.ts.map +1 -0
- package/distribution/component/about/feed/client/index.js +18 -0
- package/distribution/component/about/feed/client/index.js.map +1 -0
- package/distribution/component/about/feed/client/index.module.css +1 -0
- package/distribution/component/about/feed/client/index.module.scss +183 -0
- package/distribution/component/{portfolio/browser → about/feed/client}/type.d.ts +1 -1
- package/distribution/component/about/feed/client/type.d.ts.map +1 -0
- package/distribution/component/about/feed/client/type.js.map +1 -0
- package/distribution/component/about/feed/euros/index.d.ts +4 -0
- package/distribution/component/about/feed/euros/index.d.ts.map +1 -0
- package/distribution/component/about/feed/euros/index.js +7 -0
- package/distribution/component/about/feed/euros/index.js.map +1 -0
- package/distribution/component/about/feed/index.d.ts +5 -10
- package/distribution/component/about/feed/index.d.ts.map +1 -1
- package/distribution/component/about/feed/index.js +98 -21
- package/distribution/component/about/feed/index.js.map +1 -1
- package/distribution/component/about/feed/index.module.css +1 -1
- package/distribution/component/about/feed/index.module.scss +81 -340
- package/distribution/component/about/feed/project/index.d.ts +7 -0
- package/distribution/component/about/feed/project/index.d.ts.map +1 -0
- package/distribution/component/about/feed/project/index.js +18 -0
- package/distribution/component/about/feed/project/index.js.map +1 -0
- package/distribution/component/about/feed/project/index.module.css +1 -0
- package/distribution/component/about/feed/project/index.module.scss +129 -0
- package/distribution/component/about/feed/project/type.d.ts +7 -0
- package/distribution/component/about/feed/project/type.d.ts.map +1 -0
- package/distribution/component/about/feed/project/type.js +2 -0
- package/distribution/component/about/feed/project/type.js.map +1 -0
- package/distribution/component/about/feed/script/index.d.ts +14 -0
- package/distribution/component/about/feed/script/index.d.ts.map +1 -0
- package/distribution/component/about/feed/script/index.js +60 -0
- package/distribution/component/about/feed/script/index.js.map +1 -0
- package/distribution/component/about/feed/script/type.d.ts +16 -0
- package/distribution/component/about/feed/script/type.d.ts.map +1 -0
- package/distribution/component/about/feed/script/type.js +2 -0
- package/distribution/component/about/feed/script/type.js.map +1 -0
- package/distribution/component/portfolio/index.d.ts +2 -2
- package/distribution/component/portfolio/index.d.ts.map +1 -1
- package/distribution/component/portfolio/index.js +4 -4
- package/distribution/component/portfolio/index.js.map +1 -1
- package/distribution/component/portfolio/index.module.css +1 -1
- package/distribution/component/portfolio/index.module.scss +1 -10
- package/distribution/component/portfolio/launch-date/index.d.ts +4 -0
- package/distribution/component/portfolio/launch-date/index.d.ts.map +1 -0
- package/distribution/component/portfolio/launch-date/index.js +3 -0
- package/distribution/component/portfolio/launch-date/index.js.map +1 -0
- package/distribution/component/portfolio/project/index.d.ts +2 -2
- package/distribution/component/portfolio/project/index.d.ts.map +1 -1
- package/distribution/component/portfolio/project/index.js +6 -11
- package/distribution/component/portfolio/project/index.js.map +1 -1
- package/distribution/component/portfolio/project/index.module.css +1 -1
- package/distribution/component/portfolio/project/index.module.scss +1 -1
- package/distribution/component/portfolio/project/type.d.ts +1 -1
- package/distribution/component/portfolio/project/type.d.ts.map +1 -1
- package/distribution/component/portfolio/screens/index.d.ts +3 -3
- package/distribution/component/portfolio/screens/index.d.ts.map +1 -1
- package/distribution/component/portfolio/screens/index.js +4 -4
- package/distribution/component/portfolio/screens/index.js.map +1 -1
- package/distribution/component/portfolio/screens/index.module.css +1 -1
- package/distribution/component/portfolio/screens/index.module.scss +4 -21
- package/distribution/component/portfolio/screens/type.d.ts +3 -1
- package/distribution/component/portfolio/screens/type.d.ts.map +1 -1
- package/distribution/component/portfolio/service-name/index.d.ts +4 -0
- package/distribution/component/portfolio/service-name/index.d.ts.map +1 -0
- package/distribution/component/portfolio/service-name/index.js +6 -0
- package/distribution/component/portfolio/service-name/index.js.map +1 -0
- package/distribution/component/portfolio/type.d.ts +3 -0
- package/distribution/component/portfolio/type.d.ts.map +1 -1
- package/distribution/component/project-page/chapter/index.d.ts +7 -0
- package/distribution/component/project-page/chapter/index.d.ts.map +1 -0
- package/distribution/component/project-page/chapter/index.js +12 -0
- package/distribution/component/project-page/chapter/index.js.map +1 -0
- package/distribution/component/project-page/chapter/index.module.css +1 -0
- package/distribution/component/project-page/chapter/index.module.scss +80 -0
- package/distribution/component/project-page/chapter/type.d.ts +11 -0
- package/distribution/component/project-page/chapter/type.d.ts.map +1 -0
- package/distribution/component/project-page/chapter/type.js +2 -0
- package/distribution/component/project-page/chapter/type.js.map +1 -0
- package/distribution/component/project-page/index.d.ts +11 -0
- package/distribution/component/project-page/index.d.ts.map +1 -0
- package/distribution/component/project-page/index.js +28 -0
- package/distribution/component/project-page/index.js.map +1 -0
- package/distribution/component/project-page/index.module.css +1 -0
- package/distribution/component/project-page/index.module.scss +115 -0
- package/distribution/component/project-page/type.d.ts +10 -0
- package/distribution/component/project-page/type.d.ts.map +1 -0
- package/distribution/component/project-page/type.js +2 -0
- package/distribution/component/project-page/type.js.map +1 -0
- package/distribution/component/section-heading/index.d.ts +2 -2
- package/distribution/component/section-heading/index.d.ts.map +1 -1
- package/distribution/component/section-heading/index.js +3 -3
- package/distribution/component/section-heading/index.js.map +1 -1
- package/distribution/component/section-heading/index.module.css +1 -1
- package/distribution/component/section-heading/index.module.scss +14 -0
- package/distribution/component/section-heading/type.d.ts +3 -0
- package/distribution/component/section-heading/type.d.ts.map +1 -1
- package/distribution/content/about/index.d.ts +144 -79
- package/distribution/content/about/index.d.ts.map +1 -1
- package/distribution/content/about/index.js +95 -43
- package/distribution/content/about/index.js.map +1 -1
- package/distribution/content/portfolio/index.d.ts +108 -82
- package/distribution/content/portfolio/index.d.ts.map +1 -1
- package/distribution/content/portfolio/index.js +87 -36
- package/distribution/content/portfolio/index.js.map +1 -1
- package/llms.txt +3 -1
- package/package.json +2 -2
- package/distribution/component/portfolio/browser/index.d.ts +0 -7
- package/distribution/component/portfolio/browser/index.d.ts.map +0 -1
- package/distribution/component/portfolio/browser/index.js +0 -26
- package/distribution/component/portfolio/browser/index.js.map +0 -1
- package/distribution/component/portfolio/browser/index.module.css +0 -1
- package/distribution/component/portfolio/browser/index.module.scss +0 -147
- package/distribution/component/portfolio/browser/type.d.ts.map +0 -1
- package/distribution/component/portfolio/browser/type.js.map +0 -1
- package/distribution/component/portfolio/select-projects/index.d.ts +0 -45
- package/distribution/component/portfolio/select-projects/index.d.ts.map +0 -1
- package/distribution/component/portfolio/select-projects/index.js +0 -30
- package/distribution/component/portfolio/select-projects/index.js.map +0 -1
- package/distribution/component/portfolio/select-projects/type.d.ts +0 -11
- package/distribution/component/portfolio/select-projects/type.d.ts.map +0 -1
- package/distribution/component/portfolio/select-projects/type.js.map +0 -1
- /package/distribution/component/{portfolio/browser → about/feed/activity}/type.js +0 -0
- /package/distribution/component/{portfolio/select-projects → about/feed/client}/type.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/portfolio/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/portfolio/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AACjF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAElF,oCAAoC;AACpC,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,SAAS,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChapterProperties } from "@sharadox/sharadox-web-library/component/project-page/chapter/type";
|
|
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.
|
|
5
|
+
*/
|
|
6
|
+
export declare function Chapter({ number, title, text, live, children }: ChapterProperties): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
3
|
+
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
4
|
+
import styles from "./index.module.css";
|
|
5
|
+
/**
|
|
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.
|
|
8
|
+
*/
|
|
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 })] })] }));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +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}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
/* The number and name on the left, what to try on the right; stacked on phones. */
|
|
5
|
+
.copy {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr);
|
|
8
|
+
align-items: baseline;
|
|
9
|
+
gap: 12px 24px;
|
|
10
|
+
padding: clamp(40px, 6vw, 80px) var(--padding) clamp(28px, 4vw, 44px);
|
|
11
|
+
text-align: left;
|
|
12
|
+
h2 {
|
|
13
|
+
font-size: clamp(1.8rem, 3.4vw, 2.8rem);
|
|
14
|
+
line-height: 1.05;
|
|
15
|
+
text-wrap: balance;
|
|
16
|
+
}
|
|
17
|
+
p {
|
|
18
|
+
color: var(--foreground-2);
|
|
19
|
+
line-height: 1.65;
|
|
20
|
+
text-wrap: pretty;
|
|
21
|
+
}
|
|
22
|
+
@include below(900px) {
|
|
23
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
24
|
+
p {
|
|
25
|
+
grid-column: 1 / -1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.number {
|
|
30
|
+
font-size: 12px;
|
|
31
|
+
color: var(--foreground-3);
|
|
32
|
+
}
|
|
33
|
+
/* The live part, in a window across the frame. */
|
|
34
|
+
.window {
|
|
35
|
+
border-top: 1px dashed var(--line-2);
|
|
36
|
+
}
|
|
37
|
+
.bar {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: space-between;
|
|
41
|
+
padding: 10px var(--padding);
|
|
42
|
+
border-bottom: 1px solid var(--line-2);
|
|
43
|
+
background: surface($surface);
|
|
44
|
+
font-size: 11px;
|
|
45
|
+
letter-spacing: 0.04em;
|
|
46
|
+
text-transform: uppercase;
|
|
47
|
+
color: var(--foreground-3);
|
|
48
|
+
}
|
|
49
|
+
.dots {
|
|
50
|
+
display: flex;
|
|
51
|
+
gap: 6px;
|
|
52
|
+
i {
|
|
53
|
+
width: 9px;
|
|
54
|
+
height: 9px;
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
background: tint($faint);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.live {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
gap: 8px;
|
|
63
|
+
i {
|
|
64
|
+
width: 7px;
|
|
65
|
+
height: 7px;
|
|
66
|
+
border-radius: 50%;
|
|
67
|
+
background: var(--foreground);
|
|
68
|
+
box-shadow: 0 0 0 3px tint($faint);
|
|
69
|
+
@include loop(chapter-live 2s ease-in-out infinite);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
@keyframes chapter-live {
|
|
73
|
+
50% {
|
|
74
|
+
opacity: 0.45;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.stage {
|
|
78
|
+
position: relative;
|
|
79
|
+
min-width: 0;
|
|
80
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface ChapterProperties {
|
|
3
|
+
/** Its place on the page, shown as "01". */
|
|
4
|
+
number: number;
|
|
5
|
+
title: string;
|
|
6
|
+
text: string;
|
|
7
|
+
/** The label over the live part ("Live · luispiresdecor.com"). */
|
|
8
|
+
live: string;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/project-page/chapter/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ProjectPageProperties } from "@sharadox/sharadox-web-library/component/project-page/type";
|
|
2
|
+
/**
|
|
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.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <ProjectPage project={PORTFOLIO.projects[0]} locale="en" chapters={{ hero: <Hero locale="en" /> }} />
|
|
9
|
+
*/
|
|
10
|
+
export declare function ProjectPage({ project, locale, chapters }: ProjectPageProperties): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
3
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
|
+
import { Button } from "@sharadox/sharadox-web-library/component/button";
|
|
5
|
+
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
6
|
+
import { launchDate } from "@sharadox/sharadox-web-library/component/portfolio/launch-date";
|
|
7
|
+
import { Screens } from "@sharadox/sharadox-web-library/component/portfolio/screens";
|
|
8
|
+
import { serviceName } from "@sharadox/sharadox-web-library/component/portfolio/service-name";
|
|
9
|
+
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
10
|
+
import { Chapter } from "@sharadox/sharadox-web-library/component/project-page/chapter";
|
|
11
|
+
import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
|
|
12
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
13
|
+
import styles from "./index.module.css";
|
|
14
|
+
/**
|
|
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.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* <ProjectPage project={PORTFOLIO.projects[0]} locale="en" chapters={{ hero: <Hero locale="en" /> }} />
|
|
21
|
+
*/
|
|
22
|
+
export function ProjectPage({ project, locale, chapters }) {
|
|
23
|
+
const { details, page } = PORTFOLIO;
|
|
24
|
+
const domain = new URL(project.url).host;
|
|
25
|
+
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
|
+
}
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/project-page/index.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +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}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
/* One column the width of the frame: the live parts' sliding strips can't widen it. */
|
|
5
|
+
.page {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: minmax(0, 1fr);
|
|
8
|
+
}
|
|
9
|
+
/* The story on the left, the screens on the right; stacked on narrower screens. */
|
|
10
|
+
.intro {
|
|
11
|
+
display: grid;
|
|
12
|
+
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
|
|
13
|
+
align-items: center;
|
|
14
|
+
margin-top: 64px;
|
|
15
|
+
@include below(1000px) {
|
|
16
|
+
grid-template-columns: minmax(0, 1fr);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.copy {
|
|
20
|
+
display: grid;
|
|
21
|
+
justify-content: stretch;
|
|
22
|
+
gap: 24px;
|
|
23
|
+
padding: clamp(40px, 6vw, 88px) var(--padding);
|
|
24
|
+
text-align: left;
|
|
25
|
+
h1 {
|
|
26
|
+
display: grid;
|
|
27
|
+
gap: 14px;
|
|
28
|
+
font-size: clamp(2.4rem, 5vw, 4rem);
|
|
29
|
+
line-height: 1;
|
|
30
|
+
text-wrap: balance;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.client {
|
|
34
|
+
font-size: 15px;
|
|
35
|
+
font-weight: 500;
|
|
36
|
+
letter-spacing: 0;
|
|
37
|
+
color: var(--foreground-2);
|
|
38
|
+
}
|
|
39
|
+
.story {
|
|
40
|
+
color: var(--foreground-2);
|
|
41
|
+
line-height: 1.7;
|
|
42
|
+
text-wrap: pretty;
|
|
43
|
+
}
|
|
44
|
+
/* Client, place and launch day: three small columns over dashed rules. */
|
|
45
|
+
.details {
|
|
46
|
+
display: grid;
|
|
47
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
48
|
+
margin: 0;
|
|
49
|
+
border-block: 1px dashed var(--line-2);
|
|
50
|
+
> div {
|
|
51
|
+
display: grid;
|
|
52
|
+
justify-content: stretch;
|
|
53
|
+
align-content: start;
|
|
54
|
+
gap: 4px;
|
|
55
|
+
padding: 14px 12px 14px 0;
|
|
56
|
+
}
|
|
57
|
+
> div + div {
|
|
58
|
+
padding-left: 12px;
|
|
59
|
+
border-left: 1px dashed var(--line-2);
|
|
60
|
+
}
|
|
61
|
+
dt {
|
|
62
|
+
font-family: var(--monospace);
|
|
63
|
+
font-size: 11px;
|
|
64
|
+
letter-spacing: 0.04em;
|
|
65
|
+
text-transform: uppercase;
|
|
66
|
+
color: var(--foreground-3);
|
|
67
|
+
}
|
|
68
|
+
dd {
|
|
69
|
+
margin: 0;
|
|
70
|
+
font-size: 14px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.services {
|
|
74
|
+
display: grid;
|
|
75
|
+
justify-content: stretch;
|
|
76
|
+
gap: 10px;
|
|
77
|
+
> span {
|
|
78
|
+
font-size: 11px;
|
|
79
|
+
letter-spacing: 0.04em;
|
|
80
|
+
text-transform: uppercase;
|
|
81
|
+
color: var(--foreground-3);
|
|
82
|
+
}
|
|
83
|
+
ul {
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-wrap: wrap;
|
|
86
|
+
justify-content: flex-start;
|
|
87
|
+
gap: 8px;
|
|
88
|
+
margin: 0;
|
|
89
|
+
padding: 0;
|
|
90
|
+
list-style: none;
|
|
91
|
+
}
|
|
92
|
+
li {
|
|
93
|
+
padding: 6px 12px;
|
|
94
|
+
border: 1px solid var(--line-2);
|
|
95
|
+
border-radius: 99px;
|
|
96
|
+
background: surface($hint);
|
|
97
|
+
font-size: 13px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/* The end: the way to the site itself, and back. */
|
|
101
|
+
.end {
|
|
102
|
+
display: grid;
|
|
103
|
+
justify-items: center;
|
|
104
|
+
gap: 28px;
|
|
105
|
+
text-align: center;
|
|
106
|
+
h2 {
|
|
107
|
+
max-width: 16ch;
|
|
108
|
+
text-wrap: balance;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
.actions {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-wrap: wrap;
|
|
114
|
+
gap: 12px;
|
|
115
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/type";
|
|
3
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
4
|
+
export interface ProjectPageProperties {
|
|
5
|
+
project: Project;
|
|
6
|
+
locale: Locale;
|
|
7
|
+
/** What each chapter shows, by its key: the website's own components, running live. */
|
|
8
|
+
chapters: Partial<Record<Project["chapters"][number]["key"], ReactNode>>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/project-page/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yDAAyD,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;CAC1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/project-page/type.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SectionHeadProperties } from "@sharadox/sharadox-web-library/component/section-heading/type";
|
|
2
|
-
/** Eyebrow and title that open a section. */
|
|
3
|
-
export declare function SectionHeading({ eyebrow, title }: SectionHeadProperties): import("react").JSX.Element;
|
|
2
|
+
/** Eyebrow and title that open a section, and a sentence or two under the title when there's more to say. */
|
|
3
|
+
export declare function SectionHeading({ eyebrow, title, text }: SectionHeadProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section-heading/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAE3G,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section-heading/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAE3G,6GAA6G;AAC7G,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,qBAAqB,+BAQ7E"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
3
3
|
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
4
4
|
import styles from "./index.module.css";
|
|
5
|
-
/** Eyebrow and title that open a section. */
|
|
6
|
-
export function SectionHeading({ eyebrow, title }) {
|
|
7
|
-
return (_jsxs(Reveal, { className: styles.heading, children: [_jsx(Eyebrow, { children: eyebrow }), _jsx("h2", { children: title })] }));
|
|
5
|
+
/** Eyebrow and title that open a section, and a sentence or two under the title when there's more to say. */
|
|
6
|
+
export function SectionHeading({ eyebrow, title, text }) {
|
|
7
|
+
return (_jsxs(Reveal, { className: styles.heading, children: [_jsx(Eyebrow, { children: eyebrow }), _jsx("h2", { "data-lines": title.includes("\n") || undefined, children: title }), text && _jsx("p", { className: styles.text, children: text })] }));
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section-heading/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section-heading/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,6GAA6G;AAC7G,MAAM,UAAU,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAyB;IAC5E,OAAO,CACL,MAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,aAC/B,KAAC,OAAO,cAAE,OAAO,GAAW,EAC5B,2BAAgB,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,SAAS,YAAG,KAAK,GAAM,EAC9D,IAAI,IAAI,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAK,IACvC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.heading{margin-bottom:clamp(40px,6vw,72px)}.heading h2{margin-top:16px;max-width:14ch}
|
|
1
|
+
.heading{margin-bottom:clamp(40px,6vw,72px)}.heading h2{margin-top:16px;max-width:14ch}.heading h2[data-lines]{max-width:none;white-space:pre-line}.text{max-width:56ch;margin-top:20px;color:var(--foreground-2);font-size:1.05rem;line-height:1.6;text-wrap:pretty}
|
|
@@ -3,5 +3,19 @@
|
|
|
3
3
|
h2 {
|
|
4
4
|
margin-top: 16px;
|
|
5
5
|
max-width: 14ch;
|
|
6
|
+
/* A title with its own line breaks keeps them, and sets its own width. */
|
|
7
|
+
&[data-lines] {
|
|
8
|
+
max-width: none;
|
|
9
|
+
white-space: pre-line;
|
|
10
|
+
}
|
|
6
11
|
}
|
|
7
12
|
}
|
|
13
|
+
/* The sentence under the title: close to it, as part of the heading. */
|
|
14
|
+
.text {
|
|
15
|
+
max-width: 56ch;
|
|
16
|
+
margin-top: 20px;
|
|
17
|
+
color: var(--foreground-2);
|
|
18
|
+
font-size: 1.05rem;
|
|
19
|
+
line-height: 1.6;
|
|
20
|
+
text-wrap: pretty;
|
|
21
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section-heading/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section-heading/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|