@sharadox/sharadox-web-library 0.13.3 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +4 -5
  2. package/distribution/action/send-contact/index.d.ts +1 -1
  3. package/distribution/action/send-contact/index.js +1 -1
  4. package/distribution/component/footer/index.d.ts.map +1 -1
  5. package/distribution/component/footer/index.js +1 -3
  6. package/distribution/component/footer/index.js.map +1 -1
  7. package/distribution/content/contact/index.d.ts +1 -1
  8. package/distribution/content/contact/index.js +1 -1
  9. package/distribution/content/separator/index.d.ts +3 -2
  10. package/distribution/content/separator/index.d.ts.map +1 -1
  11. package/distribution/content/separator/index.js +3 -2
  12. package/distribution/content/separator/index.js.map +1 -1
  13. package/distribution/content/site/index.d.ts +1 -1
  14. package/distribution/content/site/index.d.ts.map +1 -1
  15. package/distribution/content/site/index.js +1 -1
  16. package/distribution/content/site/index.js.map +1 -1
  17. package/distribution/utility/llms-text/index.d.ts +9 -0
  18. package/distribution/utility/llms-text/index.d.ts.map +1 -0
  19. package/distribution/utility/llms-text/index.js +42 -0
  20. package/distribution/utility/llms-text/index.js.map +1 -0
  21. package/distribution/utility/separate/index.d.ts +2 -2
  22. package/distribution/utility/separate/index.js +2 -2
  23. package/llms.txt +4 -3
  24. package/package.json +6 -7
  25. package/distribution/component/consent/index.d.ts +0 -4
  26. package/distribution/component/consent/index.d.ts.map +0 -1
  27. package/distribution/component/consent/index.js +0 -27
  28. package/distribution/component/consent/index.js.map +0 -1
  29. package/distribution/component/consent/index.module.css +0 -1
  30. package/distribution/component/consent/index.module.scss +0 -45
  31. package/distribution/component/consent/preferences-link/index.d.ts +0 -4
  32. package/distribution/component/consent/preferences-link/index.d.ts.map +0 -1
  33. package/distribution/component/consent/preferences-link/index.js +0 -8
  34. package/distribution/component/consent/preferences-link/index.js.map +0 -1
  35. package/distribution/component/consent/preferences-link/type.d.ts +0 -4
  36. package/distribution/component/consent/preferences-link/type.d.ts.map +0 -1
  37. package/distribution/component/consent/preferences-link/type.js +0 -2
  38. package/distribution/component/consent/preferences-link/type.js.map +0 -1
  39. package/distribution/component/consent/type.d.ts +0 -5
  40. package/distribution/component/consent/type.d.ts.map +0 -1
  41. package/distribution/component/consent/type.js +0 -2
  42. package/distribution/component/consent/type.js.map +0 -1
  43. package/distribution/content/consent/index.d.ts +0 -92
  44. package/distribution/content/consent/index.d.ts.map +0 -1
  45. package/distribution/content/consent/index.js +0 -46
  46. package/distribution/content/consent/index.js.map +0 -1
package/README.md CHANGED
@@ -9,7 +9,6 @@ Everything generic comes from the open-source Sharadox libraries, configured her
9
9
  | Languages, translations, language links | `@sharadox/internationalization-web-library` |
10
10
  | Metadata, structured data, share images | `@sharadox/metadata-web-library` |
11
11
  | Styles (Black, White, System) | `@sharadox/style-web-library` |
12
- | Cookie panel | `@sharadox/consent-web-library` |
13
12
  | Reveal, scroll-lit words, counters, marquee | `@sharadox/animation-web-library` |
14
13
  | Active section | `@sharadox/scroll-web-library` |
15
14
  | Spotlight, tilt | `@sharadox/pointer-web-library` |
@@ -22,22 +21,22 @@ Everything generic comes from the open-source Sharadox libraries, configured her
22
21
  - **`content/`:** all copy and settings, one topic per folder.
23
22
  - `locale`: `LOCALES`, built with `defineLocales`.
24
23
  - `style`: `STYLES`, with Black and White in the color group; colors live only here.
25
- - `separator`: the Sharadox separator •.
24
+ - `separator`: the Sharadox separator ·.
26
25
  - `slogan`: `SLOGAN` (one sentence, always with its full stop) and `SLOGAN_LINES` (the hero's lines, the single source of its words).
27
26
  - `section`: `SECTION`, each home-page section's id and name, used by navigation, footer, section indicator and headings.
28
27
  - `action`: shared calls to action (`ACTION.startProject`).
29
28
  - `language`: `LANGUAGE`, the switches' label and each language's own name.
30
- - `consent`, `contact`, `services`, `site`, `globe`, and so on.
29
+ - `contact`, `services`, `site`, `globe`, and so on.
31
30
  - **One source for shared copy:** text used in more than one place lives in its own content module and is imported, never retyped.
32
31
  - **`component/`:** the page's branded parts:
33
32
  - grid frame, `Cross` marks, navigation and footer
34
33
  - hero and its guides, service index, statement, the five service cells and their live visuals
35
34
  - the 3D touchpoint stack, capabilities sheet, process, contact, section indicator, style switch
36
- - Sharadox wrappers around the shared globe and cookie panel, structured data, share image
35
+ - the Sharadox wrapper around the shared globe, structured data, share image, `llmsText()` for `/llms.txt`
37
36
  - `License`: the license page's body, rendered from the license's Markdown
38
37
  - `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
38
  - **Service card buttons:** each card's `actions` (in `content/services`) scroll to the contact form and tick the matching choice (`requestContactNeeds`), which glows for a moment.
40
- - **`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").
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").
41
40
  - **`utility/`:** `separate()` (the Sharadox separator) and the share card's horizon dots.
42
41
  - **`style/token`:** Sass helpers (`tint()`, `shade()`, `dashed()`, `on-scroll()`, `below()`, `skip-entrance()`) used by every component's styles. `skip-entrance` marks a time-based entrance animation so it shows its final state at once after a language switch.
43
42
  - **Language switch:** the page is rebuilt in place without replaying entrances (hero, 404, guides, service row and visuals), the globe keeps turning from where it was, and changed text animates (the application adds `LocaleTransitionStyle` in `<head>`).
@@ -2,7 +2,7 @@
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 the sending subdomain (`EMAIL_SENDER_ADDRESS`, through Amazon SES over SMTP:
4
4
  * `EMAIL_SERVER_*`) as "Sharadox Web Application", with the visitor as reply-to and the subject
5
- * "Contact • Name (Company)".
5
+ * "Contact · Name (Company)".
6
6
  */
7
7
  export declare const sendContact: (form: FormData, ip: string) => Promise<import("@sharadox/form-web-library/contact-action/type").ContactState>;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -6,7 +6,7 @@ import { separate } from "@sharadox/sharadox-web-library/utility/separate";
6
6
  * The contact form's work, called by the application's server action (which adds the visitor's IP address). It
7
7
  * emails contact@sharadox.com from the sending subdomain (`EMAIL_SENDER_ADDRESS`, through Amazon SES over SMTP:
8
8
  * `EMAIL_SERVER_*`) as "Sharadox Web Application", with the visitor as reply-to and the subject
9
- * "Contact • Name (Company)".
9
+ * "Contact · Name (Company)".
10
10
  */
11
11
  export const sendContact = createContactAction({
12
12
  to: SITE.email,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,mHAAmH;AACnH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BAsD7D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,mHAAmH;AACnH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BAqD7D"}
@@ -1,8 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { separate } from "@sharadox/sharadox-web-library/utility/separate";
3
3
  import { translate } from "@sharadox/internationalization-web-library/translate";
4
- import { PreferencesLink } from "@sharadox/sharadox-web-library/component/consent/preferences-link";
5
- import { CONSENT } from "@sharadox/sharadox-web-library/content/consent";
6
4
  import { Cross } from "@sharadox/sharadox-web-library/component/cross";
7
5
  import { LocaleLink } from "@sharadox/internationalization-web-library/locale-link";
8
6
  import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
@@ -21,6 +19,6 @@ import styles from "./index.module.css";
21
19
  /** Columns of links in the grid, the style and language switches, the big gradient wordmark and the legal line. */
22
20
  export function Footer({ locale, path = "" }) {
23
21
  const home = path ? `/${locale}` : "";
24
- 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" }), _jsxs("p", { className: `${styles.legal} monospace`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] })] }));
22
+ 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("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" }), _jsxs("p", { className: `${styles.legal} monospace`, children: ["\u00A9 ", _jsx(CopyrightYears, { since: FOUNDED }), " ", separate("Sharadox", translate(FOOTER.rights, locale))] })] }));
25
23
  }
26
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,mEAAmE,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,mHAAmH;AACnH,MAAM,UAAU,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,E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,EAAE,EAAE,OAAO,EAAE,KAAK,KAAK,MAAM,YACvF,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,IADP,KAAK,CAET,CACd,CAAC,GACG,EACP,aAAI,SAAS,EAAC,WAAW,YAAE,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EAC/D,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,IACpD,IACF,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,8CAErB,EACN,aAAG,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,YAAY,wBACrC,KAAC,cAAc,IAAC,KAAK,EAAE,OAAO,GAAI,OAAE,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,IAC1F,IACG,CACV,CAAC;AACJ,CAAC"}
@@ -2,7 +2,7 @@
2
2
  export declare const CONTACT: {
3
3
  /** Display name of the email the contact form sends (from web@email.sharadox.com). */
4
4
  readonly senderName: "Sharadox Web Application";
5
- /** First part of the email subject: "Contact • Name (Company)". */
5
+ /** First part of the email subject: "Contact · Name (Company)". */
6
6
  readonly subject: "Contact";
7
7
  readonly title: {
8
8
  readonly en: "Let's make it simple.";
@@ -2,7 +2,7 @@
2
2
  export const CONTACT = {
3
3
  /** Display name of the email the contact form sends (from web@email.sharadox.com). */
4
4
  senderName: "Sharadox Web Application",
5
- /** First part of the email subject: "Contact • Name (Company)". */
5
+ /** First part of the email subject: "Contact · Name (Company)". */
6
6
  subject: "Contact",
7
7
  title: { en: "Let's make it simple.", pt: "Vamos simplificar." },
8
8
  text: {
@@ -1,3 +1,4 @@
1
- /** The character that joins labels in every Sharadox text, spaced on both sides by `separate()`. Change it here only. */
2
- export declare const SEPARATOR = "\u2022";
1
+ import { SEPARATOR } from "@sharadox/web-library/text/separator";
2
+ /** The character that joins labels in every Sharadox text ("·"), shared by every site from @sharadox/web-library. */
3
+ export { SEPARATOR };
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/separator/index.ts"],"names":[],"mappings":"AAAA,yHAAyH;AACzH,eAAO,MAAM,SAAS,WAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/separator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,qHAAqH;AACrH,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,3 +1,4 @@
1
- /** The character that joins labels in every Sharadox text, spaced on both sides by `separate()`. Change it here only. */
2
- export const SEPARATOR = "•";
1
+ import { SEPARATOR } from "@sharadox/web-library/text/separator";
2
+ /** The character that joins labels in every Sharadox text ("·"), shared by every site from @sharadox/web-library. */
3
+ export { SEPARATOR };
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/separator/index.ts"],"names":[],"mappings":"AAAA,yHAAyH;AACzH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/separator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEjE,qHAAqH;AACrH,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
- /** Site-wide identity used by metadata, structured data, sitemap and share images. */
2
1
  /** The year Sharadox began, where its copyright years start. */
3
2
  export declare const FOUNDED = 2026;
3
+ /** Site-wide identity used by metadata, structured data, sitemap and share images. */
4
4
  export declare const SITE: {
5
5
  name: string;
6
6
  url: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,gEAAgE;AAChE,eAAO,MAAM,OAAO,OAAO,CAAC;AAE5B,eAAO,MAAM,IAAI;;;;;;;;;;;;CAoChB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,gEAAgE;AAChE,eAAO,MAAM,OAAO,OAAO,CAAC;AAE5B,sFAAsF;AACtF,eAAO,MAAM,IAAI;;;;;;;;;;;;CAoChB,CAAC"}
@@ -1,6 +1,6 @@
1
- /** Site-wide identity used by metadata, structured data, sitemap and share images. */
2
1
  /** The year Sharadox began, where its copyright years start. */
3
2
  export const FOUNDED = 2026;
3
+ /** Site-wide identity used by metadata, structured data, sitemap and share images. */
4
4
  export const SITE = {
5
5
  name: "Sharadox",
6
6
  url: "https://sharadox.com",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,gEAAgE;AAChE,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC;AAE5B,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE;QACX,EAAE,EAAE,wLAAwL;QAC5L,EAAE,EAAE,4LAA4L;KAC5K;IACtB,QAAQ,EAAE;QACR,EAAE,EAAE;YACF,cAAc;YACd,gBAAgB;YAChB,UAAU;YACV,UAAU;YACV,kBAAkB;YAClB,WAAW;YACX,aAAa;YACb,yBAAyB;YACzB,qBAAqB;YACrB,SAAS;YACT,UAAU;SACX;QACD,EAAE,EAAE;YACF,kBAAkB;YAClB,gBAAgB;YAChB,UAAU;YACV,UAAU;YACV,gBAAgB;YAChB,aAAa;YACb,mBAAmB;YACnB,yBAAyB;YACzB,wBAAwB;YACxB,SAAS;YACT,UAAU;SACX;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,gEAAgE;AAChE,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,CAAC;AAE5B,sFAAsF;AACtF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,WAAW,EAAE;QACX,EAAE,EAAE,wLAAwL;QAC5L,EAAE,EAAE,4LAA4L;KAC5K;IACtB,QAAQ,EAAE;QACR,EAAE,EAAE;YACF,cAAc;YACd,gBAAgB;YAChB,UAAU;YACV,UAAU;YACV,kBAAkB;YAClB,WAAW;YACX,aAAa;YACb,yBAAyB;YACzB,qBAAqB;YACrB,SAAS;YACT,UAAU;SACX;QACD,EAAE,EAAE;YACF,kBAAkB;YAClB,gBAAgB;YAChB,UAAU;YACV,UAAU;YACV,gBAAgB;YAChB,aAAa;YACb,mBAAmB;YACnB,yBAAyB;YACzB,wBAAwB;YACxB,SAAS;YACT,UAAU;SACX;KACF;CACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * sharadox.com's `llms.txt` (in the shared shape from @sharadox/metadata-web-library): what Sharadox does, how it
3
+ * works and how to reach it, in plain Markdown for AI assistants, written from the site's own content.
4
+ *
5
+ * @example
6
+ * export const GET = () => new Response(llmsText(), { headers: { "content-type": "text/plain; charset=utf-8" } });
7
+ */
8
+ export declare function llmsText(): string;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/utility/llms-text/index.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,wBAAgB,QAAQ,IAAI,MAAM,CA4BjC"}
@@ -0,0 +1,42 @@
1
+ import { llmsText as buildLlmsText } from "@sharadox/metadata-web-library/llms-text";
2
+ import { LICENSE } from "@sharadox/sharadox-web-library/content/license";
3
+ import { PROCESS } from "@sharadox/sharadox-web-library/content/process";
4
+ import { SECTION } from "@sharadox/sharadox-web-library/content/section";
5
+ import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
6
+ import { SITE } from "@sharadox/sharadox-web-library/content/site";
7
+ import { SLOGAN } from "@sharadox/sharadox-web-library/content/slogan";
8
+ /**
9
+ * sharadox.com's `llms.txt` (in the shared shape from @sharadox/metadata-web-library): what Sharadox does, how it
10
+ * works and how to reach it, in plain Markdown for AI assistants, written from the site's own content.
11
+ *
12
+ * @example
13
+ * export const GET = () => new Response(llmsText(), { headers: { "content-type": "text/plain; charset=utf-8" } });
14
+ */
15
+ export function llmsText() {
16
+ return buildLlmsText({
17
+ title: SITE.name,
18
+ summary: SLOGAN.en,
19
+ details: SITE.description.en,
20
+ sections: [
21
+ {
22
+ title: "What Sharadox does",
23
+ lines: SERVICES.items.map((service) => `${service.title.en} (${service.kinds.en.join(", ")}): ${service.text.en}`),
24
+ },
25
+ {
26
+ title: "How it works",
27
+ lines: PROCESS.steps.map((step) => `${step.title.en}: ${step.text.en}`),
28
+ style: "numbered",
29
+ },
30
+ { title: "Contact", lines: [`Email: ${SITE.email}`, `Start a project: ${SITE.url}/en#${SECTION.contact.id}`] },
31
+ {
32
+ title: "Pages",
33
+ lines: [
34
+ `[Home (English)](${SITE.url}/en)`,
35
+ `[Início (Português)](${SITE.url}/pt)`,
36
+ `[License](${SITE.url}/en${LICENSE.path})`,
37
+ ],
38
+ },
39
+ ],
40
+ });
41
+ }
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/utility/llms-text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACz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F;SACF;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Joins the parts that are set with the Sharadox separator (•), spaced on both sides.
2
+ * Joins the parts that are set with the Sharadox separator (·), spaced on both sides.
3
3
  *
4
4
  * @example
5
- * separate("Contact", "Ana (Café)"); // "Contact • Ana (Café)"
5
+ * separate("Contact", "Ana (Café)"); // "Contact · Ana (Café)"
6
6
  */
7
7
  export declare function separate(...parts: (string | false | null | undefined)[]): string;
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { separate as join } from "@sharadox/web-library/text/separate";
2
2
  import { SEPARATOR } from "@sharadox/sharadox-web-library/content/separator";
3
3
  /**
4
- * Joins the parts that are set with the Sharadox separator (•), spaced on both sides.
4
+ * Joins the parts that are set with the Sharadox separator (·), spaced on both sides.
5
5
  *
6
6
  * @example
7
- * separate("Contact", "Ana (Café)"); // "Contact • Ana (Café)"
7
+ * separate("Contact", "Ana (Café)"); // "Contact · Ana (Café)"
8
8
  */
9
9
  export function separate(...parts) {
10
10
  return join(SEPARATOR, ...parts);
package/llms.txt CHANGED
@@ -2,10 +2,10 @@
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 (color group: black default, white, system; storageKey "style"); content/separator SEPARATOR "•"
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
- - action/send-contact sendContact(form, ip) — createContactAction to contact@sharadox.com, subject "Contact • Name (Company)"
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)
7
+ - action/send-contact sendContact(form, ip) — createContactAction to contact@sharadox.com, subject "Contact · Name (Company)"
8
+ - component/*: navigation, hero (+ lazy globe), service-index, statement, services (+ visuals), touchpoint, capability, marquee, process, contact (+ form), footer, section-indicator, style-switch, structured-data, share-image (renderShareImage)
9
9
  - style/token Sass helpers: tint, shade, dashed, on-scroll, below, fill-center
10
10
  - License: Sharadox Verifiable Source License 0.1.0 (read and verify only)
11
11
  - component/license License({ locale, markdown }) renders the license page body (marked); content/license LICENSE { path "/license", title, eyebrow, description }
@@ -15,3 +15,4 @@
15
15
  - Language switch (internationalization-web-library 0.2): entrances skip on soft navigation (hero/not-found Motion initial, Sass mixin skip-entrance($durations...) for CSS entrances); site must render <LocaleTransitionStyle /> in <head>
16
16
  - Service card actions: SERVICES.items[].actions [{ need, label }] render as ServiceActions (component/service-action) linking to #contact and calling requestContactNeeds (utility/contact-need, window event CONTACT_NEED_EVENT); ContactForm ticks the chips with a glow. Contact choices: website, platform, mobile-app, brand-identity, social-media, marketing-campaign, other
17
17
  - content/site FOUNDED 2026; the footer's copyright years come from CopyrightYears (@sharadox/time-web-library): "2026", then "2026–<current year>" as years pass
18
+ - utility/llms-text llmsText() → sharadox.com's llms.txt (shared shape from @sharadox/metadata-web-library). The cookie panel was removed in 0.14.0: the site stores only what it needs (language, style), which needs no consent.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/sharadox-web-library",
3
- "version": "0.13.3",
3
+ "version": "0.14.0",
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",
@@ -55,16 +55,15 @@
55
55
  "homepage": "https://github.com/Sharadox/sharadox-web-library#readme",
56
56
  "dependencies": {
57
57
  "@sharadox/animation-web-library": "^0.2.2",
58
- "@sharadox/consent-web-library": "^0.1.0",
59
- "@sharadox/form-web-library": "^0.1.0",
58
+ "@sharadox/form-web-library": "^0.2.2",
60
59
  "@sharadox/globe-web-library": "^0.2.1",
61
- "@sharadox/internationalization-web-library": "^0.2.2",
62
- "@sharadox/metadata-web-library": "^0.1.0",
60
+ "@sharadox/internationalization-web-library": "^0.2.3",
61
+ "@sharadox/metadata-web-library": "^0.2.0",
63
62
  "@sharadox/pointer-web-library": "^0.1.0",
64
- "@sharadox/scroll-web-library": "^0.1.0",
63
+ "@sharadox/scroll-web-library": "^0.2.0",
65
64
  "@sharadox/style-web-library": "^0.2.0",
66
65
  "@sharadox/time-web-library": "^0.2.0",
67
- "@sharadox/web-library": "^0.6.1",
66
+ "@sharadox/web-library": "^0.7.0",
68
67
  "marked": "^17.0.6",
69
68
  "motion": "^12.43.0"
70
69
  },
@@ -1,4 +0,0 @@
1
- import type { ConsentProperties } from "@sharadox/sharadox-web-library/component/consent/type";
2
- /** The Sharadox cookie panel: the shared consent panel with Sharadox copy, grid marks and a small turning cookie. */
3
- export declare function Consent({ locale }: ConsentProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/consent/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,qHAAqH;AACrH,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BAsCpD"}
@@ -1,27 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
- import { ConsentPanel } from "@sharadox/consent-web-library/consent-panel";
4
- import { translate } from "@sharadox/internationalization-web-library/translate";
5
- import { Cross } from "@sharadox/sharadox-web-library/component/cross";
6
- import { CONSENT, CONSENT_CONFIGURATION } from "@sharadox/sharadox-web-library/content/consent";
7
- import styles from "./index.module.css";
8
- /** The Sharadox cookie panel: the shared consent panel with Sharadox copy, grid marks and a small turning cookie. */
9
- export function Consent({ locale }) {
10
- const copy = {
11
- title: translate(CONSENT.title, locale),
12
- text: translate(CONSENT.text, locale),
13
- acceptAll: translate(CONSENT.acceptAll, locale),
14
- deny: translate(CONSENT.deny, locale),
15
- customize: translate(CONSENT.customize, locale),
16
- save: translate(CONSENT.save, locale),
17
- back: translate(CONSENT.back, locale),
18
- close: translate(CONSENT.close, locale),
19
- alwaysOn: translate(CONSENT.alwaysOn, locale),
20
- categories: Object.fromEntries(Object.entries(CONSENT.categories).map(([key, category]) => [
21
- key,
22
- { title: translate(category.title, locale), text: translate(category.text, locale) },
23
- ])),
24
- };
25
- return (_jsx(ConsentPanel, { configuration: CONSENT_CONFIGURATION, copy: copy, className: styles.consent, icon: _jsxs("span", { className: styles.cookie, "aria-hidden": true, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), decoration: _jsxs(_Fragment, { children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" })] }) }));
26
- }
27
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/consent/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,qHAAqH;AACrH,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAqB;IACnD,MAAM,IAAI,GAAG;QACX,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;QACvC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;QACrC,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC/C,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;QACrC,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC/C,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;QACrC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;QACrC,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;QACvC,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC7C,UAAU,EAAE,MAAM,CAAC,WAAW,CAC5B,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,QAAQ,CAAC,EAAE,EAAE,CAAC;YAC1D,GAAG;YACH,EAAE,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE;SACrF,CAAC,CACH;KACF,CAAC;IACF,OAAO,CACL,KAAC,YAAY,IACX,aAAa,EAAE,qBAAqB,EACpC,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,CAAC,OAAO,EACzB,IAAI,EACF,gBAAM,SAAS,EAAE,MAAM,CAAC,MAAM,kCAC5B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EAET,UAAU,EACR,8BACE,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,IAC3B,GAEL,CACH,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- .consent{--consent-background: var(--background);--consent-foreground: var(--foreground);--consent-muted: var(--foreground-2);--consent-line: var(--line-2);--consent-radius: 4px;--consent-font: var(--sans-serif);left:16px}.cookie{position:relative;width:18px;height:18px;border-radius:50%;border:1.4px solid var(--foreground);animation:spin 8s linear infinite}.cookie i{position:absolute;width:3px;height:3px;border-radius:50%;background:var(--foreground)}.cookie i:nth-child(1){left:4px;top:4px}.cookie i:nth-child(2){right:3px;top:8px}.cookie i:nth-child(3){left:7px;bottom:3px}@keyframes spin{to{transform:rotate(360deg)}}
@@ -1,45 +0,0 @@
1
- @use "style/token" as *;
2
-
3
- /* The shared panel, in the Sharadox style: its colors, the grid's sharp corners, bottom-left of the screen. */
4
- .consent {
5
- --consent-background: var(--background);
6
- --consent-foreground: var(--foreground);
7
- --consent-muted: var(--foreground-2);
8
- --consent-line: var(--line-2);
9
- --consent-radius: 4px;
10
- --consent-font: var(--sans-serif);
11
- left: 16px;
12
- }
13
- /* A tiny animated cookie: three crumbs orbiting a ring. */
14
- .cookie {
15
- position: relative;
16
- width: 18px;
17
- height: 18px;
18
- border-radius: 50%;
19
- border: 1.4px solid var(--foreground);
20
- animation: spin 8s linear infinite;
21
- i {
22
- position: absolute;
23
- width: 3px;
24
- height: 3px;
25
- border-radius: 50%;
26
- background: var(--foreground);
27
- }
28
- i:nth-child(1) {
29
- left: 4px;
30
- top: 4px;
31
- }
32
- i:nth-child(2) {
33
- right: 3px;
34
- top: 8px;
35
- }
36
- i:nth-child(3) {
37
- left: 7px;
38
- bottom: 3px;
39
- }
40
- }
41
- @keyframes spin {
42
- to {
43
- transform: rotate(360deg);
44
- }
45
- }
@@ -1,4 +0,0 @@
1
- import type { PreferencesLinkProperties } from "@sharadox/sharadox-web-library/component/consent/preferences-link/type";
2
- /** Reopens the cookie panel so the visitor can change their answer. */
3
- export declare function PreferencesLink({ label }: PreferencesLinkProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/consent/preferences-link/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wEAAwE,CAAC;AAExH,uEAAuE;AACvE,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,yBAAyB,+BAMnE"}
@@ -1,8 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { openConsent } from "@sharadox/consent-web-library/consent";
4
- /** Reopens the cookie panel so the visitor can change their answer. */
5
- export function PreferencesLink({ label }) {
6
- return (_jsx("button", { type: "button", onClick: openConsent, "data-preferences-link": true, children: label }));
7
- }
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/consent/preferences-link/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAGpE,uEAAuE;AACvE,MAAM,UAAU,eAAe,CAAC,EAAE,KAAK,EAA6B;IAClE,OAAO,CACL,iBAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,WAAW,2CACvC,KAAK,GACC,CACV,CAAC;AACJ,CAAC"}
@@ -1,4 +0,0 @@
1
- export interface PreferencesLinkProperties {
2
- label: string;
3
- }
4
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/consent/preferences-link/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/consent/preferences-link/type.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
- export interface ConsentProperties {
3
- locale: Locale;
4
- }
5
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/consent/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/consent/type.ts"],"names":[],"mappings":""}
@@ -1,92 +0,0 @@
1
- /**
2
- * The cookie categories. Raise `version` whenever they change, so every visitor is asked again. Required is always
3
- * on; the others start off in the manual selection.
4
- */
5
- export declare const CONSENT_CONFIGURATION: {
6
- readonly storageKey: "consent";
7
- readonly version: 1;
8
- readonly categories: readonly [{
9
- readonly key: "required";
10
- readonly required: true;
11
- }, {
12
- readonly key: "analytics";
13
- }, {
14
- readonly key: "marketing";
15
- }];
16
- };
17
- /** Cookie panel copy. */
18
- export declare const CONSENT: {
19
- readonly title: {
20
- readonly en: "Cookies";
21
- readonly pt: "Cookies";
22
- };
23
- readonly text: {
24
- readonly en: "We use required cookies to remember your language and style and to keep the contact form safe. With your permission, we would also measure visits and campaigns to improve the site.";
25
- readonly pt: "Usamos cookies necessários para lembrar o idioma e o estilo e para proteger o formulário de contacto. Com a sua permissão, mediríamos também as visitas e as campanhas para melhorar o site.";
26
- };
27
- readonly acceptAll: {
28
- readonly en: "Accept All";
29
- readonly pt: "Aceitar Todos";
30
- };
31
- readonly deny: {
32
- readonly en: "Deny";
33
- readonly pt: "Recusar";
34
- };
35
- readonly customize: {
36
- readonly en: "Customize";
37
- readonly pt: "Personalizar";
38
- };
39
- readonly save: {
40
- readonly en: "Save Choices";
41
- readonly pt: "Guardar Escolhas";
42
- };
43
- readonly back: {
44
- readonly en: "Back";
45
- readonly pt: "Voltar";
46
- };
47
- readonly close: {
48
- readonly en: "Close";
49
- readonly pt: "Fechar";
50
- };
51
- readonly alwaysOn: {
52
- readonly en: "Always on";
53
- readonly pt: "Sempre ativos";
54
- };
55
- readonly preferences: {
56
- readonly en: "Cookie Preferences";
57
- readonly pt: "Preferências de Cookies";
58
- };
59
- readonly categories: {
60
- readonly required: {
61
- readonly title: {
62
- readonly en: "Required";
63
- readonly pt: "Necessários";
64
- };
65
- readonly text: {
66
- readonly en: "Language, style and form security.";
67
- readonly pt: "Idioma, estilo e segurança do formulário.";
68
- };
69
- };
70
- readonly analytics: {
71
- readonly title: {
72
- readonly en: "Analytics";
73
- readonly pt: "Análise";
74
- };
75
- readonly text: {
76
- readonly en: "Anonymous visit statistics that help us improve the site.";
77
- readonly pt: "Estatísticas anónimas de visitas que nos ajudam a melhorar o site.";
78
- };
79
- };
80
- readonly marketing: {
81
- readonly title: {
82
- readonly en: "Marketing";
83
- readonly pt: "Marketing";
84
- };
85
- readonly text: {
86
- readonly en: "Measuring our campaigns on other platforms.";
87
- readonly pt: "Medição das nossas campanhas noutras plataformas.";
88
- };
89
- };
90
- };
91
- };
92
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/consent/index.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;CAIO,CAAC;AAE1C,yBAAyB;AACzB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCV,CAAC"}
@@ -1,46 +0,0 @@
1
- /**
2
- * The cookie categories. Raise `version` whenever they change, so every visitor is asked again. Required is always
3
- * on; the others start off in the manual selection.
4
- */
5
- export const CONSENT_CONFIGURATION = {
6
- storageKey: "consent",
7
- version: 1,
8
- categories: [{ key: "required", required: true }, { key: "analytics" }, { key: "marketing" }],
9
- };
10
- /** Cookie panel copy. */
11
- export const CONSENT = {
12
- title: { en: "Cookies", pt: "Cookies" },
13
- text: {
14
- en: "We use required cookies to remember your language and style and to keep the contact form safe. With your permission, we would also measure visits and campaigns to improve the site.",
15
- pt: "Usamos cookies necessários para lembrar o idioma e o estilo e para proteger o formulário de contacto. Com a sua permissão, mediríamos também as visitas e as campanhas para melhorar o site.",
16
- },
17
- acceptAll: { en: "Accept All", pt: "Aceitar Todos" },
18
- deny: { en: "Deny", pt: "Recusar" },
19
- customize: { en: "Customize", pt: "Personalizar" },
20
- save: { en: "Save Choices", pt: "Guardar Escolhas" },
21
- back: { en: "Back", pt: "Voltar" },
22
- close: { en: "Close", pt: "Fechar" },
23
- alwaysOn: { en: "Always on", pt: "Sempre ativos" },
24
- preferences: { en: "Cookie Preferences", pt: "Preferências de Cookies" },
25
- categories: {
26
- required: {
27
- title: { en: "Required", pt: "Necessários" },
28
- text: { en: "Language, style and form security.", pt: "Idioma, estilo e segurança do formulário." },
29
- },
30
- analytics: {
31
- title: { en: "Analytics", pt: "Análise" },
32
- text: {
33
- en: "Anonymous visit statistics that help us improve the site.",
34
- pt: "Estatísticas anónimas de visitas que nos ajudam a melhorar o site.",
35
- },
36
- },
37
- marketing: {
38
- title: { en: "Marketing", pt: "Marketing" },
39
- text: {
40
- en: "Measuring our campaigns on other platforms.",
41
- pt: "Medição das nossas campanhas noutras plataformas.",
42
- },
43
- },
44
- },
45
- };
46
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/consent/index.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,UAAU,EAAE,SAAS;IACrB,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC;CACtD,CAAC;AA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