@sharadox/sharadox-web-library 0.44.0 → 0.46.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/action/send-contact/index.d.ts +3 -2
- package/distribution/action/send-contact/index.d.ts.map +1 -1
- package/distribution/action/send-contact/index.js +5 -3
- package/distribution/action/send-contact/index.js.map +1 -1
- 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.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.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/contact/index.d.ts +27 -19
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +2 -0
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/email-design/index.d.ts +9 -0
- package/distribution/content/email-design/index.d.ts.map +1 -0
- package/distribution/content/email-design/index.js +39 -0
- package/distribution/content/email-design/index.js.map +1 -0
- package/distribution/content/email-logo/index.d.ts +4 -4
- package/distribution/content/email-logo/index.js +4 -4
- package/distribution/content/email-logo/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/distribution/utility/sharadox-email/index.d.ts +14 -0
- package/distribution/utility/sharadox-email/index.d.ts.map +1 -0
- package/distribution/utility/sharadox-email/index.js +18 -0
- package/distribution/utility/sharadox-email/index.js.map +1 -0
- package/llms.txt +3 -1
- package/package.json +3 -3
- 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 +0 -5
- 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 → project-page/chapter}/type.js +0 -0
- /package/distribution/component/{portfolio/select-projects → project-page}/type.js +0 -0
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
34
34
|
- **One source for shared copy:** text used in more than one place lives in its own content module and is imported, never retyped.
|
|
35
35
|
- **`component/`:** the page's branded parts:
|
|
36
36
|
- grid frame, `Cross` marks, navigation (below 1100px its links open in a menu under the bar, in the bar's frosted background, scrolling when it doesn't fit, as on a phone held sideways) and footer (the brand with Start a Project, the services, the studio, the language and style; with Back to top under the style switch; then a centered row of everything legal: the copyright, the dispute notice, the links)
|
|
37
|
-
- hero and its guides (on wide screens a little shorter than the screen, so the service index shows at its bottom; the copy in the middle of the space under the bar, the globe centered on it), service index, `About` (a sentence lighting up as it scrolls, then the brand online beside the platform that runs the business, whose live panel, once in view, has a pointer click through its activity log, a project (ticking a task) and a client (charts), reading details as it goes), 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
|
|
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, once in view, has a pointer click through its activity log, a project (ticking a task) and a client (charts), reading details as it goes), 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's first screen on a computer and a phone beside its story, details and chips of the services we made, leading to its own page) and `ProjectPage` (that page: the story, then chapters showing the client website's own components live, given by the site; the visit link only at the end)
|
|
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`
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* The contact form's work, called by the application's server action (which adds the visitor's IP address). It
|
|
3
3
|
* emails contact@sharadox.com from contact@web.sharadox.com, on the sending subdomain (`EMAIL_SENDER_ADDRESS`, through
|
|
4
4
|
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox Web Application", with the subject
|
|
5
|
-
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email
|
|
6
|
-
*
|
|
5
|
+
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email, in Sharadox's design
|
|
6
|
+
* (SHARADOX_EMAIL), holds every detail, the message, a button to answer, the form's page, the language, the time
|
|
7
|
+
* and the IP. A visitor who
|
|
7
8
|
* left an email gets an automatic reply in their language. It needs a name, an email or a phone, at least one choice
|
|
8
9
|
* and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5 messages an hour and
|
|
9
10
|
* everyone together 50 emails a day, which caps what a flood can cost.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,gHAYtB,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { createContactAction } from "@sharadox/form-web-library/contact-action";
|
|
2
2
|
import { EMAIL_LOGO } from "@sharadox/sharadox-web-library/content/email-logo";
|
|
3
|
+
import { SHARADOX_EMAIL } from "@sharadox/sharadox-web-library/content/email-design";
|
|
3
4
|
import { CONTACT } from "@sharadox/sharadox-web-library/content/contact";
|
|
4
5
|
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
5
6
|
/**
|
|
6
7
|
* The contact form's work, called by the application's server action (which adds the visitor's IP address). It
|
|
7
8
|
* emails contact@sharadox.com from contact@web.sharadox.com, on the sending subdomain (`EMAIL_SENDER_ADDRESS`, through
|
|
8
9
|
* Amazon SES over SMTP: `EMAIL_SERVER_*`) as "Sharadox Web Application", with the subject
|
|
9
|
-
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email
|
|
10
|
-
*
|
|
10
|
+
* "Sharadox Web Application · Contact · Name (Company)" and the visitor as reply-to. The email, in Sharadox's design
|
|
11
|
+
* (SHARADOX_EMAIL), holds every detail, the message, a button to answer, the form's page, the language, the time
|
|
12
|
+
* and the IP. A visitor who
|
|
11
13
|
* left an email gets an automatic reply in their language. It needs a name, an email or a phone, at least one choice
|
|
12
14
|
* and a message of at least `CONTACT.minimumMessageLength` characters. Each address may send 5 messages an hour and
|
|
13
15
|
* everyone together 50 emails a day, which caps what a flood can cost.
|
|
@@ -17,7 +19,7 @@ export const sendContact = createContactAction({
|
|
|
17
19
|
company: CONTACT.sender,
|
|
18
20
|
site: "sharadox.com",
|
|
19
21
|
logo: async () => ({ ...EMAIL_LOGO, content: Buffer.from(EMAIL_LOGO.content, "base64") }),
|
|
20
|
-
|
|
22
|
+
design: SHARADOX_EMAIL,
|
|
21
23
|
acknowledgement: CONTACT.acknowledgement,
|
|
22
24
|
choices: Object.fromEntries(CONTACT.needs.options.map((need) => [need.key, need.en])),
|
|
23
25
|
// The same rules the form checks before sending.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAEnE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/action/send-contact/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,qDAAqD,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAEnE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,mBAAmB,CAAC;IAC7C,EAAE,EAAE,IAAI,CAAC,KAAK;IACd,OAAO,EAAE,OAAO,CAAC,MAAM;IACvB,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,GAAG,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,CAAC;IACzF,MAAM,EAAE,cAAc;IACtB,eAAe,EAAE,OAAO,CAAC,eAAe;IACxC,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IACrF,iDAAiD;IACjD,KAAK,EAAE,gBAAgB;IACvB,aAAa,EAAE,IAAI;IACnB,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;CACnD,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PortfolioProperties } from "@sharadox/sharadox-web-library/component/portfolio/type";
|
|
2
2
|
/**
|
|
3
|
-
* "Portfolio": the work we've made,
|
|
4
|
-
*
|
|
3
|
+
* "Portfolio": the work we've made, newest first. Each project shows its first screen on a computer and a phone
|
|
4
|
+
* beside its story, its details and the services we made for it, and leads to its own page.
|
|
5
5
|
*/
|
|
6
6
|
export declare function Portfolio({ locale }: PortfolioProperties): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,+
|
|
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,+BAiBxD"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Reveal } from "@sharadox/animation-web-library/reveal";
|
|
3
3
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
|
+
import { Project } from "@sharadox/sharadox-web-library/component/portfolio/project";
|
|
4
5
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
5
6
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
6
|
-
import { Browser } from "@sharadox/sharadox-web-library/component/portfolio/browser";
|
|
7
7
|
import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
|
|
8
8
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
9
9
|
import styles from "./index.module.css";
|
|
10
10
|
/**
|
|
11
|
-
* "Portfolio": the work we've made,
|
|
12
|
-
*
|
|
11
|
+
* "Portfolio": the work we've made, newest first. Each project shows its first screen on a computer and a phone
|
|
12
|
+
* beside its story, its details and the services we made for it, and leads to its own page.
|
|
13
13
|
*/
|
|
14
14
|
export function Portfolio({ locale }) {
|
|
15
|
-
return (_jsxs(Section, { id: SECTION.portfolio.id, padded: false, children: [
|
|
15
|
+
return (_jsxs(Section, { id: SECTION.portfolio.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SECTION.portfolio, locale), title: translate(PORTFOLIO.title, locale), text: translate(PORTFOLIO.text, locale) }) }), PORTFOLIO.projects.map((project, index) => (_jsx(Reveal, { children: _jsx(Project, { project: project, index: index, locale: locale }) }, project.key)))] }));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,
|
|
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,4DAA4D,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,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,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,YAC5B,KAAC,cAAc,IACb,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,EAC7C,KAAK,EAAE,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,EACzC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,GACvC,GACE,EACL,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CAC1C,KAAC,MAAM,cACL,KAAC,OAAO,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAI,IADhD,OAAO,CAAC,GAAG,CAEf,CACV,CAAC,IACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.heading{
|
|
1
|
+
.heading{padding:clamp(72px,10vw,128px) var(--padding) 0}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
3
|
.heading {
|
|
4
|
-
|
|
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;
|
|
4
|
+
padding: clamp(72px, 10vw, 128px) var(--padding) 0;
|
|
14
5
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
+
/** The day a project went live, the way the language says it: "17 November 2026", "17 de novembro de 2026". */
|
|
3
|
+
export declare const launchDate: (date: string, locale: Locale) => string;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/launch-date/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,+GAA+G;AAC/G,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,QAAQ,MAAM,WAGpD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** The day a project went live, the way the language says it: "17 November 2026", "17 de novembro de 2026". */
|
|
2
|
+
export const launchDate = (date, locale) => new Intl.DateTimeFormat(locale === "pt" ? "pt-PT" : "en-GB", { dateStyle: "long", timeZone: "UTC" }).format(new Date(date));
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/launch-date/index.ts"],"names":[],"mappings":"AAEA,+GAA+G;AAC/G,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAY,EAAE,MAAc,EAAE,EAAE,CACzD,IAAI,IAAI,CAAC,cAAc,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,CACzG,IAAI,IAAI,CAAC,IAAI,CAAC,CACf,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ProjectProperties } from "@sharadox/sharadox-web-library/component/portfolio/project/type";
|
|
2
2
|
/**
|
|
3
|
-
* One project:
|
|
4
|
-
* what it is, its details, chips of the services we made for it, and
|
|
3
|
+
* One project: its first screen on a computer and a phone beside its story: number, launch day, client, headline,
|
|
4
|
+
* what it is, its details, chips of the services we made for it, and the way to its own page.
|
|
5
5
|
*/
|
|
6
6
|
export declare function Project({ project, index, locale }: ProjectProperties): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/project/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/project/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC;AAEzG;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA4CpE"}
|
|
@@ -2,22 +2,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
3
3
|
import { Button } from "@sharadox/sharadox-web-library/component/button";
|
|
4
4
|
import { Screens } from "@sharadox/sharadox-web-library/component/portfolio/screens";
|
|
5
|
-
import {
|
|
5
|
+
import { launchDate } from "@sharadox/sharadox-web-library/component/portfolio/launch-date";
|
|
6
|
+
import { serviceName } from "@sharadox/sharadox-web-library/component/portfolio/service-name";
|
|
6
7
|
import { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
|
|
7
8
|
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
9
|
/**
|
|
15
|
-
* One project:
|
|
16
|
-
* what it is, its details, chips of the services we made for it, and
|
|
10
|
+
* One project: its first screen on a computer and a phone beside its story: number, launch day, client, headline,
|
|
11
|
+
* what it is, its details, chips of the services we made for it, and the way to its own page.
|
|
17
12
|
*/
|
|
18
13
|
export function Project({ project, index, locale }) {
|
|
19
14
|
const { details } = PORTFOLIO;
|
|
20
|
-
const launched =
|
|
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.
|
|
15
|
+
const launched = launchDate(project.date, locale);
|
|
16
|
+
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: `/${locale}${PORTFOLIO.path}/${project.key}`, arrow: true, className: styles.open, children: translate(PORTFOLIO.open, locale) })] })] }));
|
|
22
17
|
}
|
|
23
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/project/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/project/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,gEAAgE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAC7E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAqB;IACnE,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,CAAC;IAC9B,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAClD,OAAO,CACL,mBAAS,SAAS,EAAE,MAAM,CAAC,OAAO,qBAAmB,WAAW,OAAO,CAAC,GAAG,EAAE,aAC3E,KAAC,OAAO,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,MAAM,IAAI,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAI,EACjG,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,aAAG,SAAS,EAAE,aAAa,MAAM,CAAC,GAAG,EAAE,aACrC,yBAAO,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EACjD,eAAM,QAAQ,EAAE,OAAO,CAAC,IAAI,YAAG,QAAQ,GAAQ,IAC7C,EACJ,cAAI,EAAE,EAAE,WAAW,OAAO,CAAC,GAAG,EAAE,aAC9B,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,YAAG,OAAO,CAAC,MAAM,GAAQ,EACtD,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,IAC7B,EACL,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,EAChE,cAAI,SAAS,EAAE,MAAM,CAAC,OAAO,aAC3B,0BACE,uBAAK,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,GAAM,EAC5C,uBAAK,OAAO,CAAC,MAAM,GAAM,IACrB,EACN,0BACE,uBAAK,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC3C,uBAAK,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,IACvC,EACN,0BACE,uBAAK,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAM,EAC9C,uBAAK,QAAQ,GAAM,IACf,IACH,EACL,eAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,aAC7B,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,KAAK,EAAE,YAAG,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAQ,EAC1F,uBACG,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACjC,uBAAmB,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,IAAtC,OAAO,CAAqC,CACtD,CAAC,GACC,IACD,EACN,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,MAAM,GAAG,SAAS,CAAC,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,KAAK,QAAC,SAAS,EAAE,MAAM,CAAC,IAAI,YACrF,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,GAC3B,IACL,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +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)}.
|
|
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)}.open{justify-self:start}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/
|
|
1
|
+
import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/type";
|
|
2
2
|
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
3
3
|
export interface ProjectProperties {
|
|
4
4
|
project: Project;
|
|
@@ -1 +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,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/project/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yDAAyD,CAAC;AACvF,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ScreensProperties } from "@sharadox/sharadox-web-library/component/portfolio/screens/type";
|
|
2
2
|
/**
|
|
3
|
-
* The project
|
|
4
|
-
*
|
|
3
|
+
* The project's first screen, on a computer and on a phone: a browser window, slightly turned, with a phone standing
|
|
4
|
+
* in front of it; both face the visitor under the pointer.
|
|
5
5
|
*/
|
|
6
|
-
export declare function Screens({ project, label }: ScreensProperties): import("react").JSX.Element;
|
|
6
|
+
export declare function Screens({ project, label, priority }: ScreensProperties): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,+
|
|
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,QAAQ,EAAE,EAAE,iBAAiB,+BAyCtE"}
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import Image from "next/image";
|
|
3
3
|
import styles from "./index.module.css";
|
|
4
4
|
/**
|
|
5
|
-
* The project
|
|
6
|
-
*
|
|
5
|
+
* The project's first screen, on a computer and on a phone: a browser window, slightly turned, with a phone standing
|
|
6
|
+
* in front of it; both face the visitor under the pointer.
|
|
7
7
|
*/
|
|
8
|
-
export function Screens({ project, label }) {
|
|
8
|
+
export function Screens({ project, label, priority }) {
|
|
9
9
|
const { computer, phone } = project.screens;
|
|
10
10
|
const domain = new URL(project.url).host;
|
|
11
|
-
return (_jsxs("div", { className: styles.stage, role: "img", "aria-label": label, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsxs("div", { className: styles.browser, "aria-hidden": true, children: [_jsxs("div", { className: styles.bar, children: [_jsxs("span", { className: styles.dots, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: `monospace ${styles.address}`, children: domain })] }), _jsx("div", { className: styles.viewport, children: _jsx(Image, { src: computer.src, width: computer.width, height: computer.height, alt: "", sizes: "(min-width: 960px)
|
|
11
|
+
return (_jsxs("div", { className: styles.stage, role: "img", "aria-label": label, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsxs("div", { className: styles.browser, "aria-hidden": true, children: [_jsxs("div", { className: styles.bar, children: [_jsxs("span", { className: styles.dots, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: `monospace ${styles.address}`, children: domain })] }), _jsx("div", { className: styles.viewport, children: _jsx(Image, { src: computer.src, width: computer.width, height: computer.height, alt: "", sizes: "(min-width: 960px) 760px, 100vw", priority: priority, className: styles.page }) })] }), _jsx("div", { className: styles.phone, "aria-hidden": true, children: _jsx("div", { className: styles.viewport, children: _jsx(Image, { src: phone.src, width: phone.width, height: phone.height, alt: "", sizes: "220px", className: styles.page }) }) })] }));
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAqB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAqB;IACrE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;IAC5C,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IACzC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,IAAI,EAAC,KAAK,gBAAa,KAAK,aACxD,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EAC3C,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,kCAC5B,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,OAAO,EAAE,YAAG,MAAM,GAAQ,IAC3D,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC7B,KAAC,KAAK,IACJ,GAAG,EAAE,QAAQ,CAAC,GAAG,EACjB,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,MAAM,EAAE,QAAQ,CAAC,MAAM,EACvB,GAAG,EAAC,EAAE,EACN,KAAK,EAAC,iCAAiC,EACvC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,MAAM,CAAC,IAAI,GACtB,GACE,IACF,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC7B,KAAC,KAAK,IACJ,GAAG,EAAE,KAAK,CAAC,GAAG,EACd,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,MAAM,EAAE,KAAK,CAAC,MAAM,EACpB,GAAG,EAAC,EAAE,EACN,KAAK,EAAC,OAAO,EACb,SAAS,EAAE,MAAM,CAAC,IAAI,GACtB,GACE,GACF,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.stage{position:relative;display:grid;justify-content:stretch;padding:clamp(28px,5vw,64px) clamp(28px,7vw,96px) clamp(48px,7vw,88px) clamp(20px,4vw,48px);perspective:1600px}.glow{position:absolute;inset:10% 6% 0;background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 35%, transparent), transparent);filter:blur(40px);opacity:.55;pointer-events:none}.browser,.phone{position:relative;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);overflow:hidden;box-shadow:0 40px 80px -40px color-mix(in srgb, var(--foreground) 35%, transparent),0 1px 0 color-mix(in srgb, var(--foreground) 20%, transparent) inset;transition:transform .9s cubic-bezier(0.22, 1, 0.36, 1)}.browser{display:grid;grid-template-rows:auto 1fr;justify-content:stretch;border-radius:14px;transform:rotateY(8deg) rotateX(2deg);transform-origin:left center}.browser .viewport{aspect-ratio:16/10}.stage:hover .browser,.stage:hover .phone{transform:none}.bar{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line-2)}.bar::after{content:"";width:42px}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.address{justify-self:center;padding:4px 14px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11px;color:var(--foreground-2)}.phone{position:absolute;right:clamp(8px,3vw,40px);bottom:clamp(12px,3vw,36px);width:clamp(104px,22%,200px);padding:5px;border-radius:26px;transform:rotateY(-10deg) translateZ(40px)}.phone .viewport{aspect-ratio:9/19.5;border-radius:21px}.viewport{position:relative;overflow:hidden;
|
|
1
|
+
.stage{position:relative;display:grid;justify-content:stretch;padding:clamp(28px,5vw,64px) clamp(28px,7vw,96px) clamp(48px,7vw,88px) clamp(20px,4vw,48px);perspective:1600px}.glow{position:absolute;inset:10% 6% 0;background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 35%, transparent), transparent);filter:blur(40px);opacity:.55;pointer-events:none}.browser,.phone{position:relative;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, var(--background));border:1px solid color-mix(in srgb, var(--foreground) 50%, transparent);overflow:hidden;box-shadow:0 40px 80px -40px color-mix(in srgb, var(--foreground) 35%, transparent),0 1px 0 color-mix(in srgb, var(--foreground) 20%, transparent) inset;transition:transform .9s cubic-bezier(0.22, 1, 0.36, 1)}.browser{display:grid;grid-template-rows:auto 1fr;justify-content:stretch;border-radius:14px;transform:rotateY(8deg) rotateX(2deg);transform-origin:left center}.browser .viewport{aspect-ratio:16/10}.stage:hover .browser,.stage:hover .phone{transform:none}.bar{display:grid;grid-template-columns:auto 1fr auto;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line-2)}.bar::after{content:"";width:42px}.dots{display:flex;gap:6px}.dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb, var(--foreground) 20%, transparent)}.address{justify-self:center;padding:4px 14px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--foreground) 10%, var(--background));font-size:11px;color:var(--foreground-2)}.phone{position:absolute;right:clamp(8px,3vw,40px);bottom:clamp(12px,3vw,36px);width:clamp(104px,22%,200px);padding:5px;border-radius:26px;transform:rotateY(-10deg) translateZ(40px)}.phone .viewport{aspect-ratio:9/19.5;border-radius:21px}.viewport{position:relative;overflow:hidden;background:var(--background)}.page{display:block;width:100%;height:100%;object-fit:cover;object-position:top}
|
|
@@ -86,33 +86,16 @@
|
|
|
86
86
|
border-radius: 21px;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
/* The
|
|
90
|
-
stops exactly as its end comes into view. */
|
|
89
|
+
/* The screen: the site's first screen, filling it. */
|
|
91
90
|
.viewport {
|
|
92
91
|
position: relative;
|
|
93
92
|
overflow: hidden;
|
|
94
|
-
container-type: size;
|
|
95
93
|
background: var(--background);
|
|
96
94
|
}
|
|
97
95
|
.page {
|
|
98
96
|
display: block;
|
|
99
97
|
width: 100%;
|
|
100
|
-
height:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
animation-duration: 60s;
|
|
104
|
-
}
|
|
105
|
-
.stage:hover & {
|
|
106
|
-
animation-play-state: paused;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
@keyframes screen-scroll {
|
|
110
|
-
0%,
|
|
111
|
-
4% {
|
|
112
|
-
transform: translateY(0);
|
|
113
|
-
}
|
|
114
|
-
96%,
|
|
115
|
-
100% {
|
|
116
|
-
transform: translateY(calc(-100% + 100cqh));
|
|
117
|
-
}
|
|
98
|
+
height: 100%;
|
|
99
|
+
object-fit: cover;
|
|
100
|
+
object-position: top;
|
|
118
101
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/
|
|
1
|
+
import type { Project } from "@sharadox/sharadox-web-library/component/portfolio/type";
|
|
2
2
|
export interface ScreensProperties {
|
|
3
3
|
project: Project;
|
|
4
4
|
/** What the screens show, for screen readers. */
|
|
5
5
|
label: string;
|
|
6
|
+
/** Loads the screens first, when they open the page. */
|
|
7
|
+
priority?: boolean;
|
|
6
8
|
}
|
|
7
9
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/screens/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yDAAyD,CAAC;AAEvF,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
+
/** A service card key's short name, as its chip says it ("Website", "Alojamento"); the key itself if unknown. */
|
|
3
|
+
export declare const serviceName: (key: string, locale: Locale) => string;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/portfolio/service-name/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAOjF,iHAAiH;AACjH,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,EAAE,QAAQ,MAAM,WAAgE,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
2
|
+
/** Every service card's key and chip name. */
|
|
3
|
+
const CARDS = SERVICES.items.flatMap((group) => group.cards.map(({ key, chip }) => ({ key, chip })));
|
|
4
|
+
/** A service card key's short name, as its chip says it ("Website", "Alojamento"); the key itself if unknown. */
|
|
5
|
+
export const serviceName = (key, locale) => CARDS.find((card) => card.key === key)?.chip[locale] ?? key;
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/portfolio/service-name/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAG3E,8CAA8C;AAC9C,MAAM,KAAK,GAAiE,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAC3G,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CACpD,CAAC;AAEF,iHAAiH;AACjH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,MAAc,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
+
import type { PORTFOLIO } from "@sharadox/sharadox-web-library/content/portfolio";
|
|
3
|
+
/** One project of the portfolio. */
|
|
4
|
+
export type Project = (typeof PORTFOLIO.projects)[number];
|
|
2
5
|
export interface PortfolioProperties {
|
|
3
6
|
locale: Locale;
|
|
4
7
|
}
|
|
@@ -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"}
|