@sharadox/sharadox-web-library 0.10.0 → 0.11.1
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/LICENSE.md +24 -24
- package/README.md +5 -5
- package/distribution/component/button/index.d.ts +1 -1
- package/distribution/component/button/index.d.ts.map +1 -1
- package/distribution/component/button/index.js +1 -1
- package/distribution/component/button/index.js.map +1 -1
- package/distribution/component/consent/index.module.scss +1 -1
- package/distribution/component/cross/index.d.ts +1 -1
- package/distribution/component/cross/index.d.ts.map +1 -1
- package/distribution/component/cross/index.js +1 -1
- package/distribution/component/cross/index.js.map +1 -1
- package/distribution/component/cross/type.d.ts +1 -1
- package/distribution/component/footer/index.js +2 -2
- package/distribution/component/footer/type.d.ts +1 -1
- package/distribution/component/globe/index.d.ts +1 -1
- package/distribution/component/globe/index.js +1 -1
- package/distribution/component/hero/index.module.css +1 -1
- package/distribution/component/hero/index.module.scss +15 -4
- package/distribution/component/language-switch/type.d.ts +1 -1
- package/distribution/component/license/index.d.ts +10 -0
- package/distribution/component/{licence → license}/index.d.ts.map +1 -1
- package/distribution/component/{licence → license}/index.js +5 -5
- package/distribution/component/{licence → license}/index.js.map +1 -1
- package/distribution/component/{licence → license}/index.module.css +1 -1
- package/distribution/component/{licence → license}/index.module.scss +1 -1
- package/distribution/component/{licence → license}/type.d.ts +2 -2
- package/distribution/component/{licence → license}/type.d.ts.map +1 -1
- package/distribution/component/{licence → license}/type.js.map +1 -1
- package/distribution/component/navigation/type.d.ts +1 -1
- package/distribution/component/not-found/index.module.scss +1 -1
- package/distribution/component/services/design-visual/index.d.ts +1 -1
- package/distribution/component/services/design-visual/index.js +1 -1
- package/distribution/component/style-switch/index.d.ts +1 -1
- package/distribution/component/style-switch/index.js +1 -1
- package/distribution/content/{licence → license}/index.d.ts +5 -5
- package/distribution/content/{licence → license}/index.d.ts.map +1 -1
- package/distribution/content/license/index.js +12 -0
- package/distribution/content/{licence → license}/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +3 -3
- package/distribution/content/services/index.js +3 -3
- package/distribution/content/services/index.js.map +1 -1
- package/distribution/content/style/index.d.ts +2 -2
- package/distribution/content/style/index.js +2 -2
- package/distribution/style/token/index.scss +4 -4
- package/llms.txt +5 -5
- package/package.json +2 -2
- package/distribution/component/licence/index.d.ts +0 -10
- package/distribution/content/licence/index.js +0 -12
- /package/distribution/component/{licence → license}/type.js +0 -0
package/LICENSE.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Sharadox Verifiable Source
|
|
1
|
+
# Sharadox Verifiable Source License
|
|
2
2
|
|
|
3
3
|
Version 0.1.0
|
|
4
4
|
|
|
5
|
-
This is an informative English translation. The Portuguese text (`LICENCA.md`) is the only original and binding text of this
|
|
5
|
+
This is an informative English translation. The Portuguese text (`LICENCA.md`) is the only original and binding text of this license; if the two differ, the Portuguese text prevails.
|
|
6
6
|
|
|
7
|
-
This
|
|
7
|
+
This license makes the source code of the Work public so that anyone can read and verify it. **It is not an open source license:** it does not allow copying, modifying, distributing or using the Work beyond what it provides. All rights not expressly granted are reserved.
|
|
8
8
|
|
|
9
9
|
## 1. Definitions
|
|
10
10
|
|
|
11
|
-
For the purposes of this
|
|
11
|
+
For the purposes of this license:
|
|
12
12
|
|
|
13
|
-
1. **"Work"** — the computer program, its documentation, design, text, images and any other content made available by the Licensor under this
|
|
13
|
+
1. **"Work"** — the computer program, its documentation, design, text, images and any other content made available by the Licensor under this license, in source code or in any other form.
|
|
14
14
|
2. **"Licensor"** — the copyright holder identified in the copyright notice that accompanies the Work.
|
|
15
|
-
3. **"Licensee"** — any natural or legal person accessing the Work under this
|
|
16
|
-
4. **"Verification"** — reading,
|
|
17
|
-
5. **"Notice"** — the Licensor's copyright notice and the statement that the Work is licensed under this
|
|
15
|
+
3. **"Licensee"** — any natural or legal person accessing the Work under this license.
|
|
16
|
+
4. **"Verification"** — reading, analyzing and studying the Work to understand how it works, to assess its quality, security, privacy and legal compliance, or to confirm that it matches what the Licensor makes available to the public.
|
|
17
|
+
5. **"Notice"** — the Licensor's copyright notice and the statement that the Work is licensed under this license, including its version.
|
|
18
18
|
|
|
19
19
|
## 2. Rights granted
|
|
20
20
|
|
|
21
|
-
The Licensor grants the Licensee a worldwide, royalty-free, non-exclusive, non-transferable
|
|
21
|
+
The Licensor grants the Licensee a worldwide, royalty-free, non-exclusive, non-transferable license, revocable under clause 6, solely to:
|
|
22
22
|
|
|
23
23
|
1. access and read the Work where the Licensor publishes it;
|
|
24
24
|
2. make the temporary reproductions and local copies strictly necessary for Verification, including compiling and running the Work on their own equipment for that purpose only;
|
|
@@ -38,21 +38,21 @@ Unless the Licensor gives prior written permission, and without prejudice to cla
|
|
|
38
38
|
|
|
39
39
|
## 4. Statutory rights not affected
|
|
40
40
|
|
|
41
|
-
This
|
|
41
|
+
This license does not restrict acts that the law allows regardless of the rights holder's permission, in particular those in articles 6 and 7 of Decree-Law no. 252/94 of 20 October, and the free uses provided for in the Code of Copyright and Related Rights.
|
|
42
42
|
|
|
43
43
|
## 5. Names, trademarks and design
|
|
44
44
|
|
|
45
|
-
The Work includes the Licensor's name, trademarks, logos, visual identity and design, including the name "Sharadox". This
|
|
45
|
+
The Work includes the Licensor's name, trademarks, logos, visual identity and design, including the name "Sharadox". This license grants no rights to them, and using, imitating or reproducing them without prior written permission is prohibited.
|
|
46
46
|
|
|
47
47
|
## 6. Termination
|
|
48
48
|
|
|
49
|
-
1. The rights granted by this
|
|
50
|
-
2. The Licensor may also revoke this
|
|
49
|
+
1. The rights granted by this license terminate automatically if the Licensee breaches any of its conditions.
|
|
50
|
+
2. The Licensor may also revoke this license for a specific Licensee by written notice, with immediate effect.
|
|
51
51
|
3. On termination, the Licensee must delete all copies of the Work in their possession.
|
|
52
52
|
|
|
53
53
|
## 7. Contributions
|
|
54
54
|
|
|
55
|
-
If the Licensee sends the Licensor suggestions, fixes or other contributions to the Work, they grant the Licensor, free of charge, a worldwide, perpetual, irrevocable and non-exclusive
|
|
55
|
+
If the Licensee sends the Licensor suggestions, fixes or other contributions to the Work, they grant the Licensor, free of charge, a worldwide, perpetual, irrevocable and non-exclusive license to use, reproduce, modify, distribute and sublicense them, as part of the Work or otherwise, and declare that they are entitled to grant that license.
|
|
56
56
|
|
|
57
57
|
## 8. Disclaimer of warranties
|
|
58
58
|
|
|
@@ -60,25 +60,25 @@ The Work is provided "as is" and "as available", without any warranty, express o
|
|
|
60
60
|
|
|
61
61
|
## 9. Limitation of liability
|
|
62
62
|
|
|
63
|
-
1. To the maximum extent permitted by applicable law, the Licensor is not liable for any damages, direct or indirect, including loss of profits, loss of data or business interruption, arising from access to or use of the Work under this
|
|
64
|
-
2. Nothing in this
|
|
63
|
+
1. To the maximum extent permitted by applicable law, the Licensor is not liable for any damages, direct or indirect, including loss of profits, loss of data or business interruption, arising from access to or use of the Work under this license.
|
|
64
|
+
2. Nothing in this license excludes or limits the Licensor's liability where such exclusion or limitation is not permitted by law, in particular for acts committed with intent or gross negligence, under article 809 and article 800(2) of the Portuguese Civil Code, nor does it affect rights that the law mandatorily grants to consumers.
|
|
65
65
|
|
|
66
66
|
## 10. Governing law and jurisdiction
|
|
67
67
|
|
|
68
|
-
1. This
|
|
69
|
-
2. The Judicial Court of the District of Faro has jurisdiction over any dispute arising from this
|
|
68
|
+
1. This license is governed by Portuguese law, in particular the Code of Copyright and Related Rights, approved by Decree-Law no. 63/85 of 14 March, and Decree-Law no. 252/94 of 20 October on the legal protection of computer programs.
|
|
69
|
+
2. The Judicial Court of the District of Faro has jurisdiction over any dispute arising from this license, without prejudice to applicable mandatory rules of jurisdiction, in particular those protecting consumers.
|
|
70
70
|
|
|
71
|
-
## 11.
|
|
71
|
+
## 11. License versions
|
|
72
72
|
|
|
73
|
-
The Licensor may publish new versions of this
|
|
73
|
+
The Licensor may publish new versions of this license, identified by a version number. The Work is subject to the version stated in the Notice.
|
|
74
74
|
|
|
75
75
|
## 12. Final provisions
|
|
76
76
|
|
|
77
|
-
1. If any provision of this
|
|
78
|
-
2. Failure to enforce any provision of this
|
|
79
|
-
3. For permission requests or notices under this
|
|
77
|
+
1. If any provision of this license is held invalid or unenforceable, the remaining provisions stay in force, and the affected provision shall be interpreted as closely as possible to its original intent.
|
|
78
|
+
2. Failure to enforce any provision of this license at any time does not waive the right to enforce it later.
|
|
79
|
+
3. For permission requests or notices under this license, contact the Licensor through the means given in the Notice or where the Work is published.
|
|
80
80
|
|
|
81
|
-
## How to apply this
|
|
81
|
+
## How to apply this license
|
|
82
82
|
|
|
83
83
|
Include in the Work a `LICENCA.md` file with the Portuguese text, this translation as `LICENSE.md`, and the following notice, filling in the year and holder:
|
|
84
84
|
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
21
21
|
|
|
22
22
|
- **`content/`:** all copy and settings, one topic per folder.
|
|
23
23
|
- `locale`: `LOCALES`, built with `defineLocales`.
|
|
24
|
-
- `style`: `STYLES`, with Black and White in the
|
|
24
|
+
- `style`: `STYLES`, with Black and White in the color group; colors live only here.
|
|
25
25
|
- `separator`: the Sharadox separator •.
|
|
26
26
|
- `slogan`: `SLOGAN` (one sentence, always with its full stop) and `SLOGAN_LINES` (the hero's lines, the single source of its words).
|
|
27
27
|
- `section`: `SECTION`, each home-page section's id and name, used by navigation, footer, section indicator and headings.
|
|
@@ -34,7 +34,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
34
34
|
- hero and its guides, service index, statement, the five service cells and their live visuals
|
|
35
35
|
- the 3D touchpoint stack, capabilities sheet, process, contact, section indicator, style switch
|
|
36
36
|
- Sharadox wrappers around the shared globe and cookie panel, structured data, share image
|
|
37
|
-
- `
|
|
37
|
+
- `License`: the license page's body, rendered from the license's Markdown
|
|
38
38
|
- `NotFound`: the 404 screen, a giant 404 whose zero is the live globe, with the failed request and the way back (put `ServiceIndex base="/<locale>"` under it)
|
|
39
39
|
- **`action/send-contact`:** `sendContact(form, ip)`, the shared contact action set up for Sharadox ("Contact • Name (Company)" subjects, sent to contact@sharadox.com as "Sharadox Web Application").
|
|
40
40
|
- **`utility/`:** `separate()` (the Sharadox separator) and the share card's horizon dots.
|
|
@@ -49,8 +49,8 @@ import { STYLES } from "@sharadox/sharadox-web-library/content/style";
|
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
- **Sass:** `@use "style/token" as *;` works once `node_modules/@sharadox/sharadox-web-library/distribution` is on the Sass load path (`@sharadox/next-js-configuration-web-library` does this).
|
|
52
|
-
- **Pages other than home:** pass `path` (for example `"/
|
|
53
|
-
- **
|
|
52
|
+
- **Pages other than home:** pass `path` (for example `"/license"`) to `Navigation` and `Footer`, so section links lead back to the home page and the language links stay on the page.
|
|
53
|
+
- **License page:** `<License locale={locale} markdown={…} />` with `LICENCA.md` for Portuguese and `LICENSE.md` for English; the footer links to `/<locale>/license`.
|
|
54
54
|
- **Contact:** the application's server action reads the visitor's IP address and calls `sendContact(form, ip)`.
|
|
55
55
|
|
|
56
56
|
## Develop
|
|
@@ -59,6 +59,6 @@ import { STYLES } from "@sharadox/sharadox-web-library/content/style";
|
|
|
59
59
|
- **How the tests run:** components render in a browser-like environment (`test-fixture/browser`), the whole page renders in both languages, and the contact email is checked against a local SMTP server.
|
|
60
60
|
- **Flow:** branches follow `<feature>.development` → `development` → `index`, and releases are `v<version>` tags on `index`.
|
|
61
61
|
|
|
62
|
-
##
|
|
62
|
+
## License
|
|
63
63
|
|
|
64
64
|
The source is public so anyone can read and verify it, but it is **not open source**. It's under the Licença Sharadox de Código Verificável, versão 0.1.0: the [Portuguese text](LICENCA.md) is binding, with an [English translation](LICENSE.md). The Sharadox name, brand and design are reserved.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ButtonProperties } from "@sharadox/sharadox-web-library/component/button/type";
|
|
2
|
-
/** Pill button or link: solid (the foreground
|
|
2
|
+
/** Pill button or link: solid (the foreground color) or ghost (outlined). */
|
|
3
3
|
export declare function Button({ children, href, variant, size, arrow, disabled, className, }: ButtonProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,6EAA6E;AAC7E,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,IAAI,EACJ,OAAiB,EACjB,IAAe,EACf,KAAK,EACL,QAAQ,EACR,SAAS,GACV,EAAE,gBAAgB,+BAuBlB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styles from "./index.module.css";
|
|
3
|
-
/** Pill button or link: solid (the foreground
|
|
3
|
+
/** Pill button or link: solid (the foreground color) or ghost (outlined). */
|
|
4
4
|
export function Button({ children, href, variant = "solid", size = "medium", arrow, disabled, className, }) {
|
|
5
5
|
const classNames = [styles.button, styles[variant], size !== "medium" && styles[size], className]
|
|
6
6
|
.filter(Boolean)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,6EAA6E;AAC7E,MAAM,UAAU,MAAM,CAAC,EACrB,QAAQ,EACR,IAAI,EACJ,OAAO,GAAG,OAAO,EACjB,IAAI,GAAG,QAAQ,EACf,KAAK,EACL,QAAQ,EACR,SAAS,GACQ;IACjB,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;SAC9F,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,MAAM,OAAO,GAAG,CACd,8BACG,QAAQ,EACR,KAAK,IAAI,CACR,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,4CAEtB,CACR,IACA,CACJ,CAAC;IACF,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,YAAG,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,YACjC,OAAO,GACN,CACL,CAAC,CAAC,CAAC,CACF,iBAAQ,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,YAC9C,OAAO,GACD,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use "style/token" as *;
|
|
2
2
|
|
|
3
|
-
/* The shared panel, in the Sharadox style: its
|
|
3
|
+
/* The shared panel, in the Sharadox style: its colors, the grid's sharp corners, bottom-left of the screen. */
|
|
4
4
|
.consent {
|
|
5
5
|
--consent-background: var(--background);
|
|
6
6
|
--consent-foreground: var(--foreground);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { CrossProperties } from "@sharadox/sharadox-web-library/component/cross/type";
|
|
2
|
-
/** The "+" that marks where grid lines meet,
|
|
2
|
+
/** The "+" that marks where grid lines meet, centered on a corner of its positioned parent. */
|
|
3
3
|
export declare function Cross({ corner, className }: CrossProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/cross/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/cross/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qDAAqD,CAAC;AAE3F,+FAA+F;AAC/F,wBAAgB,KAAK,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,eAAe,+BAE3D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { classNames } from "@sharadox/web-library/class-name";
|
|
3
3
|
import styles from "./index.module.css";
|
|
4
|
-
/** The "+" that marks where grid lines meet,
|
|
4
|
+
/** The "+" that marks where grid lines meet, centered on a corner of its positioned parent. */
|
|
5
5
|
export function Cross({ corner, className }) {
|
|
6
6
|
return _jsx("span", { className: classNames(styles.cross, styles[corner], className), "aria-hidden": true });
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/cross/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/cross/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,+FAA+F;AAC/F,MAAM,UAAU,KAAK,CAAC,EAAE,MAAM,EAAE,SAAS,EAAmB;IAC1D,OAAO,eAAM,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC,wBAAgB,CAAC;AAC9F,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface CrossProperties {
|
|
2
|
-
/** Which corner of the positioned parent the cross sits on (its
|
|
2
|
+
/** Which corner of the positioned parent the cross sits on (its center on the corner). */
|
|
3
3
|
corner: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
@@ -8,7 +8,7 @@ import { LocaleLink } from "@sharadox/internationalization-web-library/locale-li
|
|
|
8
8
|
import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
|
|
9
9
|
import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
|
|
10
10
|
import { FOOTER } from "@sharadox/sharadox-web-library/content/footer";
|
|
11
|
-
import {
|
|
11
|
+
import { LICENSE } from "@sharadox/sharadox-web-library/content/license";
|
|
12
12
|
import { LANGUAGE } from "@sharadox/sharadox-web-library/content/language";
|
|
13
13
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
14
14
|
import { SLOGAN } from "@sharadox/sharadox-web-library/content/slogan";
|
|
@@ -20,6 +20,6 @@ import styles from "./index.module.css";
|
|
|
20
20
|
/** Columns of links in the grid, the style and language switches, the big gradient wordmark and the legal line. */
|
|
21
21
|
export function Footer({ locale, path = "" }) {
|
|
22
22
|
const home = path ? `/${locale}` : "";
|
|
23
|
-
return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("p", { className: styles.slogan, children: translate(SLOGAN, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `${home}#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), _jsx("a", { href: `${home}#${SECTION.capabilities.id}`, children: translate(SECTION.capabilities, locale) }), _jsx("a", { href: `${home}#${SECTION.process.id}`, children: translate(SECTION.process, locale) }), _jsx("a", { href: `${home}#${SECTION.contact.id}`, children: translate(SECTION.contact, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsx("a", { href: `/${locale}${
|
|
23
|
+
return (_jsxs("footer", { className: styles.footer, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), _jsxs("div", { className: styles.columns, children: [_jsxs("div", { className: styles.brand, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("p", { className: styles.slogan, children: translate(SLOGAN, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, className: styles.email, children: SITE.email })] }), _jsxs("nav", { "aria-label": translate(SECTION.services, locale), children: [_jsx("h2", { className: "monospace", children: translate(SECTION.services, locale) }), SERVICES.items.map((service) => (_jsx("a", { href: `${home}#${service.key}`, children: translate(service.title, locale) }, service.key)))] }), _jsxs("nav", { "aria-label": translate(FOOTER.studio, locale), children: [_jsx("h2", { className: "monospace", children: translate(FOOTER.studio, locale) }), _jsx("a", { href: `${home}#${SECTION.capabilities.id}`, children: translate(SECTION.capabilities, locale) }), _jsx("a", { href: `${home}#${SECTION.process.id}`, children: translate(SECTION.process, locale) }), _jsx("a", { href: `${home}#${SECTION.contact.id}`, children: translate(SECTION.contact, locale) }), _jsx(PreferencesLink, { label: translate(CONSENT.preferences, locale) }), _jsx("a", { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsxs("a", { href: "#top", children: [translate(FOOTER.top, locale), " \u2191"] })] }), _jsxs("div", { className: styles.settings, children: [_jsx("h2", { className: "monospace", children: translate(LANGUAGE.label, locale) }), _jsx("span", { className: styles.languages, children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, href: `/${other}${path}`, current: other === locale, children: LANGUAGE.names[other] }, other))) }), _jsx("h2", { className: "monospace", children: translate(STYLE.label, locale) }), _jsx(StyleSwitch, { locale: locale, className: styles.style })] })] }), _jsx("div", { className: styles.mark, "aria-hidden": true, children: "Sharadox" }), _jsx("p", { className: `${styles.legal} monospace`, children: separate(`© ${new Date().getFullYear()} Sharadox`, translate(FOOTER.rights, locale)) })] }));
|
|
24
24
|
}
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type"
|
|
|
2
2
|
export interface FooterProperties {
|
|
3
3
|
locale: Locale;
|
|
4
4
|
/**
|
|
5
|
-
* The page's path after the locale, for example "/
|
|
5
|
+
* The page's path after the locale, for example "/license"; the home page by default. Section links then point to
|
|
6
6
|
* the home page, and the language links keep the visitor on this page.
|
|
7
7
|
*/
|
|
8
8
|
path?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The hero's globe: arcs from Almancil to the world, drawn in the
|
|
2
|
+
* The hero's globe: arcs from Almancil to the world, drawn in the colors of the style in use (default export, so
|
|
3
3
|
* the hero can load it lazily).
|
|
4
4
|
*/
|
|
5
5
|
export default function Globe(): import("react").JSX.Element;
|
|
@@ -10,7 +10,7 @@ import styles from "./index.module.css";
|
|
|
10
10
|
const COLOR = STYLES.groups[0];
|
|
11
11
|
const DESTINATIONS = CITIES.map(([latitude, longitude]) => ({ latitude, longitude }));
|
|
12
12
|
/**
|
|
13
|
-
* The hero's globe: arcs from Almancil to the world, drawn in the
|
|
13
|
+
* The hero's globe: arcs from Almancil to the world, drawn in the colors of the style in use (default export, so
|
|
14
14
|
* the hero can load it lazily).
|
|
15
15
|
*/
|
|
16
16
|
export default function Globe() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.hero{position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(max-width: 900px){.hero{grid-template-columns:1fr;padding-top:72px;gap:0}}.copy{position:relative;z-index:2;container-type:inline-size}.eyebrow{padding:6px 12px 6px 10px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(6px)}.live{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:live 2.4s infinite}@keyframes live{70%{box-shadow:0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.title{margin:26px 0 26px;font-size:min(clamp(3rem,7vw,6.4rem),14.6cqi);white-space:nowrap;letter-spacing:-0.06em;line-height:.95}@media(max-width: 900px){.title{margin-top:18px}}.line{display:block;overflow:hidden;padding-bottom:.06em}.lineInner{display:inline-block}.dim{background:linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.subtitle{max-width:31rem;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--foreground-2);line-height:1.55}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.globe{position:
|
|
1
|
+
.hero{position:relative;min-height:min(100svh,980px);width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;padding:104px var(--padding) 56px;border-inline:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px}@media(max-width: 900px){.hero{grid-template-columns:1fr;padding-top:72px;gap:0}}.copy{position:relative;z-index:2;container-type:inline-size}.eyebrow{padding:6px 12px 6px 10px;border:1px solid var(--line-2);border-radius:99px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(6px)}.live{width:7px;height:7px;border-radius:50%;background:var(--foreground);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 60%, transparent);animation:live 2.4s infinite}@keyframes live{70%{box-shadow:0 0 0 9px color-mix(in srgb, var(--foreground) 0%, transparent)}100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}}.title{margin:26px 0 26px;font-size:min(clamp(3rem,7vw,6.4rem),14.6cqi);white-space:nowrap;letter-spacing:-0.06em;line-height:.95}@media(max-width: 900px){.title{margin-top:18px}}.line{display:block;overflow:hidden;padding-bottom:.06em}.lineInner{display:inline-block}.dim{background:linear-gradient(180deg, var(--foreground) 10%, var(--foreground-3) 120%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.subtitle{max-width:31rem;font-size:clamp(1.05rem,1.4vw,1.2rem);color:var(--foreground-2);line-height:1.55}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}.globe{position:absolute;z-index:1;left:75%;top:50%;width:61.3%;aspect-ratio:1;margin:calc(61.3%/-2) 0 0 calc(61.3%/-2)}@media(max-width: 900px){.globe{position:relative;left:auto;top:auto;order:-1;width:112%;margin:0 -6%;justify-self:center}}.hint{position:absolute;left:50%;bottom:13%;transform:translateX(-50%);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--foreground-3);pointer-events:none}
|
|
@@ -82,14 +82,25 @@
|
|
|
82
82
|
gap: 12px;
|
|
83
83
|
margin-top: 34px;
|
|
84
84
|
}
|
|
85
|
+
/// The globe body fills about 81.5% of its canvas (camera 3.7 away, 38° field of view, radius 1:
|
|
86
|
+
/// tan(asin(1 / 3.7)) / tan(19°)). A canvas of 61.3% of the hero's width makes the body exactly half the hero wide.
|
|
87
|
+
$globe-canvas: 61.3%;
|
|
88
|
+
|
|
89
|
+
/* Desktop: the globe body spans the hero's right half, touching the middle guide and the right grid line, centered
|
|
90
|
+
on the middle row; only arcs and glow pass the lines. Centered with negative margins (percentages of the hero's
|
|
91
|
+
width), because the entrance animation owns `transform`. */
|
|
85
92
|
.globe {
|
|
86
|
-
position:
|
|
93
|
+
position: absolute;
|
|
87
94
|
z-index: 1;
|
|
95
|
+
left: 75%;
|
|
96
|
+
top: 50%;
|
|
97
|
+
width: $globe-canvas;
|
|
88
98
|
aspect-ratio: 1;
|
|
89
|
-
|
|
90
|
-
margin: -6% -24% -6% 0;
|
|
91
|
-
justify-self: end;
|
|
99
|
+
margin: calc(#{$globe-canvas} / -2) 0 0 calc(#{$globe-canvas} / -2);
|
|
92
100
|
@include below(900px) {
|
|
101
|
+
position: relative;
|
|
102
|
+
left: auto;
|
|
103
|
+
top: auto;
|
|
93
104
|
order: -1;
|
|
94
105
|
width: 112%;
|
|
95
106
|
margin: 0 -6%;
|
|
@@ -2,7 +2,7 @@ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type"
|
|
|
2
2
|
export interface LanguageSwitchProperties {
|
|
3
3
|
locale: Locale;
|
|
4
4
|
/**
|
|
5
|
-
* The page's path after the locale, for example "/
|
|
5
|
+
* The page's path after the locale, for example "/license"; the home page by default. Section links then point to
|
|
6
6
|
* the home page, and the language links keep the visitor on this page.
|
|
7
7
|
*/
|
|
8
8
|
path?: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LicenseProperties } from "@sharadox/sharadox-web-library/component/license/type";
|
|
2
|
+
/**
|
|
3
|
+
* The license page's body, in the grid frame: eyebrow, then the license rendered from its Markdown. The license's own
|
|
4
|
+
* first heading is the page's `<h1>`. The text is the site's own file, never visitor input.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <License locale="pt" markdown={await readFile("LICENCA.md", "utf8")} />
|
|
8
|
+
*/
|
|
9
|
+
export declare function License({ locale, markdown }: LicenseProperties): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/license/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAO9D"}
|
|
@@ -3,16 +3,16 @@ import { translate } from "@sharadox/internationalization-web-library/translate"
|
|
|
3
3
|
import { marked } from "marked";
|
|
4
4
|
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
5
5
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
6
|
-
import {
|
|
6
|
+
import { LICENSE } from "@sharadox/sharadox-web-library/content/license";
|
|
7
7
|
import styles from "./index.module.css";
|
|
8
8
|
/**
|
|
9
|
-
* The
|
|
9
|
+
* The license page's body, in the grid frame: eyebrow, then the license rendered from its Markdown. The license's own
|
|
10
10
|
* first heading is the page's `<h1>`. The text is the site's own file, never visitor input.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
|
-
* <
|
|
13
|
+
* <License locale="pt" markdown={await readFile("LICENCA.md", "utf8")} />
|
|
14
14
|
*/
|
|
15
|
-
export function
|
|
16
|
-
return (_jsxs(Section, { className: styles.
|
|
15
|
+
export function License({ locale, markdown }) {
|
|
16
|
+
return (_jsxs(Section, { className: styles.license, children: [_jsx(Eyebrow, { children: translate(LICENSE.eyebrow, locale) }), _jsx("div", { className: styles.text, dangerouslySetInnerHTML: { __html: marked.parse(markdown, { async: false }) } })] }));
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/license/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAqB;IAC7D,OAAO,CACL,MAAC,OAAO,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,aAChC,KAAC,OAAO,cAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,GAAW,EACvD,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,GAAI,IACtG,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.license{padding-top:clamp(140px,16vw,200px)}.text{max-width:72ch;margin-top:28px;color:var(--foreground-2);line-height:1.7}.text h1{margin:0 0 12px;color:var(--foreground);font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text h2{margin:56px 0 14px;padding-top:28px;color:var(--foreground);font-size:clamp(20px,2.4vw,26px);letter-spacing:-0.01em;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.text p,.text ol,.text ul{margin:0 0 16px}.text ol,.text ul{padding-left:22px}.text li{margin-bottom:8px}.text strong{color:var(--foreground)}.text code{font-family:var(--monospace);font-size:.9em}.text a{color:var(--foreground);text-underline-offset:3px}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
-
export interface
|
|
2
|
+
export interface LicenseProperties {
|
|
3
3
|
locale: Locale;
|
|
4
|
-
/** The
|
|
4
|
+
/** The license text in Markdown: the Portuguese original for "pt", the English translation for "en". */
|
|
5
5
|
markdown: string;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/license/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,wGAAwG;IACxG,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/license/type.ts"],"names":[],"mappings":""}
|
|
@@ -2,7 +2,7 @@ import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type"
|
|
|
2
2
|
export interface NavigationProperties {
|
|
3
3
|
locale: Locale;
|
|
4
4
|
/**
|
|
5
|
-
* The page's path after the locale, for example "/
|
|
5
|
+
* The page's path after the locale, for example "/license"; the home page by default. Section links then point to
|
|
6
6
|
* the home page, and the language links keep the visitor on this page.
|
|
7
7
|
*/
|
|
8
8
|
path?: string;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
display: inline-block;
|
|
71
71
|
width: 0.86em;
|
|
72
72
|
height: 0.86em;
|
|
73
|
-
/* Equal space on both sides, so the globe sits
|
|
73
|
+
/* Equal space on both sides, so the globe sits centered between the fours. */
|
|
74
74
|
margin: 0 0.04em;
|
|
75
75
|
touch-action: pan-y;
|
|
76
76
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Brand assets floating in 3D: a logo being constructed on its guides, the
|
|
2
|
+
* Brand assets floating in 3D: a logo being constructed on its guides, the color palette and a type specimen.
|
|
3
3
|
*/
|
|
4
4
|
export declare function DesignVisual(): import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { useInView } from "@sharadox/animation-web-library/in-view";
|
|
|
5
5
|
import styles from "./index.module.css";
|
|
6
6
|
const SWATCHES = ["var(--foreground)", "var(--foreground-2)", "var(--foreground-3)", "var(--surface)"];
|
|
7
7
|
/**
|
|
8
|
-
* Brand assets floating in 3D: a logo being constructed on its guides, the
|
|
8
|
+
* Brand assets floating in 3D: a logo being constructed on its guides, the color palette and a type specimen.
|
|
9
9
|
*/
|
|
10
10
|
export function DesignVisual() {
|
|
11
11
|
const [container, on] = useInView();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StyleSwitchProperties } from "@sharadox/sharadox-web-library/component/style-switch/type";
|
|
2
2
|
/**
|
|
3
|
-
* Picks the
|
|
3
|
+
* Picks the color style: light styles on the left, System (follows the device) in the middle, dark styles on the
|
|
4
4
|
* right. Light styles show a sun and dark ones a moon; every option in content/style appears automatically.
|
|
5
5
|
*/
|
|
6
6
|
export declare function StyleSwitch({ locale, className }: StyleSwitchProperties): import("react").JSX.Element;
|
|
@@ -14,7 +14,7 @@ const ICON = {
|
|
|
14
14
|
dark: _jsx("path", { d: "M13.5 9.6A5.8 5.8 0 0 1 6.4 2.5a5.8 5.8 0 1 0 7.1 7.1Z" }),
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
|
-
* Picks the
|
|
17
|
+
* Picks the color style: light styles on the left, System (follows the device) in the middle, dark styles on the
|
|
18
18
|
* right. Light styles show a sun and dark ones a moon; every option in content/style appears automatically.
|
|
19
19
|
*/
|
|
20
20
|
export function StyleSwitch({ locale, className }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/** The
|
|
2
|
-
export declare const
|
|
1
|
+
/** The license page: sharadox.com's source is public to read and verify, under the Sharadox Verifiable Source License. */
|
|
2
|
+
export declare const LICENSE: {
|
|
3
3
|
/** The page's path after the locale. */
|
|
4
|
-
readonly path: "/
|
|
4
|
+
readonly path: "/license";
|
|
5
5
|
readonly title: {
|
|
6
|
-
readonly en: "
|
|
6
|
+
readonly en: "License";
|
|
7
7
|
readonly pt: "Licença";
|
|
8
8
|
};
|
|
9
9
|
readonly eyebrow: {
|
|
@@ -11,7 +11,7 @@ export declare const LICENCE: {
|
|
|
11
11
|
readonly pt: "Código verificável";
|
|
12
12
|
};
|
|
13
13
|
readonly description: {
|
|
14
|
-
readonly en: "The Sharadox Verifiable Source
|
|
14
|
+
readonly en: "The Sharadox Verifiable Source License: the site's source code is public to read and verify.";
|
|
15
15
|
readonly pt: "A Licença Sharadox de Código Verificável: o código-fonte do site é público para ler e verificar.";
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/license/index.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAC1H,eAAO,MAAM,OAAO;IAClB,wCAAwC;;;;;;;;;;;;;;CAQhC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** The license page: sharadox.com's source is public to read and verify, under the Sharadox Verifiable Source License. */
|
|
2
|
+
export const LICENSE = {
|
|
3
|
+
/** The page's path after the locale. */
|
|
4
|
+
path: "/license",
|
|
5
|
+
title: { en: "License", pt: "Licença" },
|
|
6
|
+
eyebrow: { en: "Verifiable source", pt: "Código verificável" },
|
|
7
|
+
description: {
|
|
8
|
+
en: "The Sharadox Verifiable Source License: the site's source code is public to read and verify.",
|
|
9
|
+
pt: "A Licença Sharadox de Código Verificável: o código-fonte do site é público para ler e verificar.",
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/license/index.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAC1H,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,wCAAwC;IACxC,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE;IACvC,OAAO,EAAE,EAAE,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE,oBAAoB,EAAE;IAC9D,WAAW,EAAE;QACX,EAAE,EAAE,8FAA8F;QAClG,EAAE,EAAE,kGAAkG;KACvG;CACO,CAAC"}
|
|
@@ -28,7 +28,7 @@ export declare const SERVICES: {
|
|
|
28
28
|
readonly pt: "Um website que abre num instante, aparece nas pesquisas e transforma visitas em clientes. E por trás dele, uma plataforma feita à medida da forma como trabalha — reservas, encomendas, pagamentos, stock e faturação num só lugar, as tarefas repetitivas feitas automaticamente — para que a sua equipa dedique o tempo aos clientes, não à burocracia.";
|
|
29
29
|
};
|
|
30
30
|
readonly capabilities: {
|
|
31
|
-
readonly en: readonly ["Websites and landing pages", "Online stores", "Bookings and ordering", "Dashboards and internal tools", "Business automation and integrations", "Search engine
|
|
31
|
+
readonly en: readonly ["Websites and landing pages", "Online stores", "Bookings and ordering", "Dashboards and internal tools", "Business automation and integrations", "Search engine optimization"];
|
|
32
32
|
readonly pt: readonly ["Websites e landing pages", "Lojas online", "Reservas e encomendas", "Dashboards e ferramentas internas", "Automação do negócio e integrações", "Otimização para motores de busca"];
|
|
33
33
|
};
|
|
34
34
|
}, {
|
|
@@ -70,11 +70,11 @@ export declare const SERVICES: {
|
|
|
70
70
|
readonly pt: "Uma identidade que fica na memória.";
|
|
71
71
|
};
|
|
72
72
|
readonly text: {
|
|
73
|
-
readonly en: "Logo,
|
|
73
|
+
readonly en: "Logo, color, type and every asset the brand needs — from menus and signage to social templates — drawn as one coherent system.";
|
|
74
74
|
readonly pt: "Logótipo, cor, tipografia e todos os ativos de que a marca precisa — de menus e sinalética a modelos para redes sociais — desenhados como um só sistema.";
|
|
75
75
|
};
|
|
76
76
|
readonly capabilities: {
|
|
77
|
-
readonly en: readonly ["Logo and identity", "Brand guidelines", "
|
|
77
|
+
readonly en: readonly ["Logo and identity", "Brand guidelines", "Color and typography", "Print, menus and signage", "Packaging", "Social and motion templates"];
|
|
78
78
|
readonly pt: readonly ["Logótipo e identidade", "Manual de marca", "Cor e tipografia", "Impressão, menus e sinalética", "Embalagem", "Modelos para redes e animação"];
|
|
79
79
|
};
|
|
80
80
|
}, {
|
|
@@ -24,7 +24,7 @@ export const SERVICES = {
|
|
|
24
24
|
"Bookings and ordering",
|
|
25
25
|
"Dashboards and internal tools",
|
|
26
26
|
"Business automation and integrations",
|
|
27
|
-
"Search engine
|
|
27
|
+
"Search engine optimization",
|
|
28
28
|
],
|
|
29
29
|
pt: [
|
|
30
30
|
"Websites e landing pages",
|
|
@@ -72,14 +72,14 @@ export const SERVICES = {
|
|
|
72
72
|
kinds: { en: ["Brand Assets"], pt: ["Ativos de Marca"] },
|
|
73
73
|
lead: { en: "An identity people remember.", pt: "Uma identidade que fica na memória." },
|
|
74
74
|
text: {
|
|
75
|
-
en: "Logo,
|
|
75
|
+
en: "Logo, color, type and every asset the brand needs — from menus and signage to social templates — drawn as one coherent system.",
|
|
76
76
|
pt: "Logótipo, cor, tipografia e todos os ativos de que a marca precisa — de menus e sinalética a modelos para redes sociais — desenhados como um só sistema.",
|
|
77
77
|
},
|
|
78
78
|
capabilities: {
|
|
79
79
|
en: [
|
|
80
80
|
"Logo and identity",
|
|
81
81
|
"Brand guidelines",
|
|
82
|
-
"
|
|
82
|
+
"Color and typography",
|
|
83
83
|
"Print, menus and signage",
|
|
84
84
|
"Packaging",
|
|
85
85
|
"Social and motion templates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/services/index.ts"],"names":[],"mapp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;YAClD,CAAC,kBAAkB,EAAE,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;YAClD,CAAC,cAAc,EAAE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;SAC/C;KACF;IACD,sCAAsC;IACtC,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,YAAY,EAAE;QAChD,KAAK,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE;QACrC,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE;QACvC,SAAS,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,UAAU,EAAE;KAC/C;CACO,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Every Sharadox style (what other projects call a theme), as style groups. The
|
|
2
|
+
* Every Sharadox style (what other projects call a theme), as style groups. The color group holds Black (dark,
|
|
3
3
|
* where the site opens) and White (its exact inverse); add a dark or light option there — name, scheme and the same
|
|
4
4
|
* palette keys — and it appears in the style switch. `systemDefaults` picks what "System" uses for each scheme;
|
|
5
5
|
* set `defaultChoice` to "system" to follow the device from the start. More groups (corners, fonts…) go next to it.
|
|
6
|
-
* The
|
|
6
|
+
* The color choice stays under the "style" storage key, so visitors keep the choice they made before.
|
|
7
7
|
*/
|
|
8
8
|
export declare const STYLES: {
|
|
9
9
|
readonly groups: readonly [{
|
|
@@ -27,11 +27,11 @@ const WHITE = {
|
|
|
27
27
|
"globe-rim": "#adadad",
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* Every Sharadox style (what other projects call a theme), as style groups. The
|
|
30
|
+
* Every Sharadox style (what other projects call a theme), as style groups. The color group holds Black (dark,
|
|
31
31
|
* where the site opens) and White (its exact inverse); add a dark or light option there — name, scheme and the same
|
|
32
32
|
* palette keys — and it appears in the style switch. `systemDefaults` picks what "System" uses for each scheme;
|
|
33
33
|
* set `defaultChoice` to "system" to follow the device from the start. More groups (corners, fonts…) go next to it.
|
|
34
|
-
* The
|
|
34
|
+
* The color choice stays under the "style" storage key, so visitors keep the choice they made before.
|
|
35
35
|
*/
|
|
36
36
|
export const STYLES = defineStyles({
|
|
37
37
|
groups: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Sharadox design helpers.
|
|
1
|
+
// Sharadox design helpers. Colors are CSS custom properties set by the active style (content/style: Black, White…),
|
|
2
2
|
// so everything here works in every style. Only build-time helpers live in this file.
|
|
3
3
|
$ease: cubic-bezier(0.22, 1, 0.36, 1);
|
|
4
4
|
|
|
@@ -9,7 +9,7 @@ $ease: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
/// Fills the positioned parent and
|
|
12
|
+
/// Fills the positioned parent and centers the content.
|
|
13
13
|
@mixin fill-center {
|
|
14
14
|
position: absolute;
|
|
15
15
|
inset: 0;
|
|
@@ -17,12 +17,12 @@ $ease: cubic-bezier(0.22, 1, 0.36, 1);
|
|
|
17
17
|
place-items: center;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
/// The foreground
|
|
20
|
+
/// The foreground color at an opacity, for lights, glows and hairlines that follow the style.
|
|
21
21
|
@function tint($amount) {
|
|
22
22
|
@return color-mix(in srgb, var(--foreground) $amount, transparent);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
/// The background
|
|
25
|
+
/// The background color at an opacity, for frosted bars and shadows that follow the style.
|
|
26
26
|
@function shade($amount) {
|
|
27
27
|
@return color-mix(in srgb, var(--background) $amount, transparent);
|
|
28
28
|
}
|
package/llms.txt
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
> Sharadox's own website library (verifiable source, not open source): content, branded components, styles and contact configuration for sharadox.com, built on the open-source @sharadox/*-web-library topic libraries.
|
|
4
4
|
|
|
5
|
-
- content/locale LOCALES (defineLocales en/pt); content/style STYLES (
|
|
5
|
+
- content/locale LOCALES (defineLocales en/pt); content/style STYLES (color group: black default, white, system; storageKey "style"); content/separator SEPARATOR "•"
|
|
6
6
|
- utility/separate separate(...parts) with the Sharadox separator
|
|
7
7
|
- action/send-contact sendContact(form, ip) — createContactAction to contact@sharadox.com, subject "Contact • Name (Company)"
|
|
8
8
|
- component/*: navigation, hero (+ lazy globe), service-index, statement, services (+ visuals), touchpoint, capability, marquee, process, contact (+ form), footer, section-indicator, style-switch, consent (shared ConsentPanel), structured-data, share-image (renderShareImage)
|
|
9
9
|
- style/token Sass helpers: tint, shade, dashed, on-scroll, below, fill-center
|
|
10
|
-
-
|
|
11
|
-
- component/
|
|
12
|
-
- Navigation, Footer and LanguageSwitch take path? (e.g. "/
|
|
10
|
+
- License: Sharadox Verifiable Source License 0.1.0 (read and verify only)
|
|
11
|
+
- component/license License({ locale, markdown }) renders the license page body (marked); content/license LICENSE { path "/license", title, eyebrow, description }
|
|
12
|
+
- Navigation, Footer and LanguageSwitch take path? (e.g. "/license"): section links go to /<locale>#section, language links stay on the page; the footer links to the license page
|
|
13
13
|
- component/not-found NotFound({ locale, path }) the 404 screen (giant 404 with the live globe as the zero, failed request line, way home); content/not-found NOT_FOUND; ServiceIndex takes base? ("/<locale>" off the home page)
|
|
14
|
-
- content/slogan SLOGAN (with full stop) and SLOGAN_LINES; content/section SECTION { home, services, touchpoints, capabilities, process, contact } with id + names; content/action ACTION.startProject; content/language LANGUAGE { label, names }. SITE.slogan, HERO.lines, HERO.primary, NAVIGATION.<name>, FOOTER.services/language, CAPABILITY.eyebrow and CONTACT.eyebrow were removed in 0.10.0 in
|
|
14
|
+
- content/slogan SLOGAN (with full stop) and SLOGAN_LINES; content/section SECTION { home, services, touchpoints, capabilities, process, contact } with id + names; content/action ACTION.startProject; content/language LANGUAGE { label, names }. SITE.slogan, HERO.lines, HERO.primary, NAVIGATION.<name>, FOOTER.services/language, CAPABILITY.eyebrow and CONTACT.eyebrow were removed in 0.10.0 in favor of these.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Sharadox's own website building blocks: content, components, brand and actions for sharadox-web-application, plus the preview notice and agency credit used on client demos.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENCA.md",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"**/*.css"
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=26"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LicenceProperties } from "@sharadox/sharadox-web-library/component/licence/type";
|
|
2
|
-
/**
|
|
3
|
-
* The licence page's body, in the grid frame: eyebrow, then the licence rendered from its Markdown. The licence's own
|
|
4
|
-
* first heading is the page's `<h1>`. The text is the site's own file, never visitor input.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* <Licence locale="pt" markdown={await readFile("LICENCA.md", "utf8")} />
|
|
8
|
-
*/
|
|
9
|
-
export declare function Licence({ locale, markdown }: LicenceProperties): import("react").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** The licence page: sharadox.com's source is public to read and verify, under the Sharadox Verifiable Source Licence. */
|
|
2
|
-
export const LICENCE = {
|
|
3
|
-
/** The page's path after the locale. */
|
|
4
|
-
path: "/licence",
|
|
5
|
-
title: { en: "Licence", pt: "Licença" },
|
|
6
|
-
eyebrow: { en: "Verifiable source", pt: "Código verificável" },
|
|
7
|
-
description: {
|
|
8
|
-
en: "The Sharadox Verifiable Source Licence: the site's source code is public to read and verify.",
|
|
9
|
-
pt: "A Licença Sharadox de Código Verificável: o código-fonte do site é público para ler e verificar.",
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
File without changes
|