@sharadox/sharadox-web-library 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/distribution/component/button/index.d.ts.map +1 -1
- package/distribution/component/button/index.js +2 -1
- package/distribution/component/button/index.js.map +1 -1
- package/distribution/component/button/index.module.css +1 -1
- package/distribution/component/button/index.module.scss +2 -0
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +3 -1
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +5 -0
- package/distribution/component/not-found/index.d.ts.map +1 -1
- package/distribution/component/not-found/index.js +2 -1
- package/distribution/component/not-found/index.js.map +1 -1
- package/distribution/component/not-found/index.module.css +1 -1
- package/distribution/component/not-found/index.module.scss +6 -0
- package/distribution/component/privacy-page/index.d.ts +4 -0
- package/distribution/component/privacy-page/index.d.ts.map +1 -0
- package/distribution/component/privacy-page/index.js +14 -0
- package/distribution/component/privacy-page/index.js.map +1 -0
- package/distribution/component/privacy-page/index.module.css +1 -0
- package/distribution/component/privacy-page/index.module.scss +39 -0
- package/distribution/component/privacy-page/type.d.ts +5 -0
- package/distribution/component/privacy-page/type.d.ts.map +1 -0
- package/distribution/component/privacy-page/type.js +2 -0
- package/distribution/component/privacy-page/type.js.map +1 -0
- package/distribution/content/privacy/index.d.ts +24 -0
- package/distribution/content/privacy/index.d.ts.map +1 -0
- package/distribution/content/privacy/index.js +59 -0
- package/distribution/content/privacy/index.js.map +1 -0
- package/llms.txt +2 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -33,6 +33,7 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
33
33
|
- hero and its guides, service index, statement, the five service cells and their live visuals
|
|
34
34
|
- the 3D touchpoint stack, capabilities sheet, process, contact, section indicator, style switch
|
|
35
35
|
- the Sharadox wrapper around the shared globe, structured data, share image, `llmsText()` for `/llms.txt`
|
|
36
|
+
- `PrivacyPage`: the privacy policy's body (`content/privacy`, written by `@sharadox/privacy-web-library`), at `/<locale>/privacy`, linked from the footer
|
|
36
37
|
- `License`: the license page's body, rendered from the license's Markdown
|
|
37
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)
|
|
38
39
|
- **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.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":"AAGA,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,EACT,OAAO,GACR,EAAE,gBAAgB,+BAiBlB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
2
3
|
import { classNames } from "@sharadox/web-library/class-name";
|
|
3
4
|
import styles from "./index.module.css";
|
|
4
5
|
/** Pill button or link: solid (the foreground color) or ghost (outlined). */
|
|
5
6
|
export function Button({ children, href, variant = "solid", size = "medium", arrow, disabled, className, onClick, }) {
|
|
6
7
|
const names = classNames(styles.button, styles[variant], size !== "medium" && styles[size], className);
|
|
7
|
-
const content = (_jsxs(_Fragment, { children: [children, arrow &&
|
|
8
|
+
const content = (_jsxs(_Fragment, { children: [children, arrow && _jsx(Icon, { name: "chevron-right", className: styles.arrow, strokeWidth: 1.8 })] }));
|
|
8
9
|
return href ? (_jsx("a", { href: href, className: names, onClick: onClick, children: content })) : (_jsx("button", { className: names, disabled: disabled, onClick: onClick, children: content }));
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,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,EACT,OAAO,GACU;IACjB,MAAM,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,CAAC;IACvG,MAAM,OAAO,GAAG,CACd,8BACG,QAAQ,EACR,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/button/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,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,EACT,OAAO,GACU;IACjB,MAAM,KAAK,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,CAAC;IACvG,MAAM,OAAO,GAAG,CACd,8BACG,QAAQ,EACR,KAAK,IAAI,KAAC,IAAI,IAAC,IAAI,EAAC,eAAe,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,GAAI,IACjF,CACJ,CAAC;IACF,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,YAAG,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,YAC9C,OAAO,GACN,CACL,CAAC,CAAC,CAAC,CACF,iBAAQ,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,YAC3D,OAAO,GACD,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:46px;padding:0 22px;border-radius:99px;font-weight:500;font-size:15px;border:1px solid rgba(0,0,0,0);transition:background .3s,color .3s,border-color .3s,box-shadow .3s,transform .4s var(--ease);white-space:nowrap}.button:active{transform:scale(0.98)}.button:disabled{opacity:.6}.button:hover .arrow{transform:translateX(4px)}.solid{background:var(--foreground);color:var(--background);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}.solid:hover{background:color-mix(in srgb, var(--foreground) 88%, transparent);box-shadow:0 0 0 5px color-mix(in srgb, var(--foreground) 10%, transparent)}.ghost{border-color:var(--line-2);color:var(--foreground);background:color-mix(in srgb, var(--background) 40%, transparent)}.ghost:hover{background:color-mix(in srgb, var(--foreground) 6%, transparent);border-color:color-mix(in srgb, var(--foreground) 30%, transparent)}.small{height:36px;padding:0 16px;font-size:14px}.block{width:100%;height:52px}.arrow{transition:transform .4s var(--ease)}
|
|
1
|
+
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:46px;padding:0 22px;border-radius:99px;font-weight:500;font-size:15px;border:1px solid rgba(0,0,0,0);transition:background .3s,color .3s,border-color .3s,box-shadow .3s,transform .4s var(--ease);white-space:nowrap}.button:active{transform:scale(0.98)}.button:disabled{opacity:.6}.button:hover .arrow{transform:translateX(4px)}.solid{background:var(--foreground);color:var(--background);box-shadow:0 0 0 0 color-mix(in srgb, var(--foreground) 0%, transparent)}.solid:hover{background:color-mix(in srgb, var(--foreground) 88%, transparent);box-shadow:0 0 0 5px color-mix(in srgb, var(--foreground) 10%, transparent)}.ghost{border-color:var(--line-2);color:var(--foreground);background:color-mix(in srgb, var(--background) 40%, transparent)}.ghost:hover{background:color-mix(in srgb, var(--foreground) 6%, transparent);border-color:color-mix(in srgb, var(--foreground) 30%, transparent)}.small{height:36px;padding:0 16px;font-size:14px}.block{width:100%;height:52px}.arrow{flex:none;font-size:1.1em;transition:transform .4s var(--ease)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/footer/index.tsx"],"names":[],"mappings":"
|
|
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,+BA0D7D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
2
3
|
import { separate } from "@sharadox/sharadox-web-library/utility/separate";
|
|
3
4
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
5
|
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
@@ -6,6 +7,7 @@ import { LocaleLink } from "@sharadox/internationalization-web-library/locale-li
|
|
|
6
7
|
import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
|
|
7
8
|
import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
|
|
8
9
|
import { FOOTER } from "@sharadox/sharadox-web-library/content/footer";
|
|
10
|
+
import { PRIVACY_PAGE } from "@sharadox/sharadox-web-library/content/privacy";
|
|
9
11
|
import { LICENSE } from "@sharadox/sharadox-web-library/content/license";
|
|
10
12
|
import { LANGUAGE } from "@sharadox/sharadox-web-library/content/language";
|
|
11
13
|
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
@@ -19,6 +21,6 @@ import styles from "./index.module.css";
|
|
|
19
21
|
/** Columns of links in the grid, the style and language switches, the big gradient wordmark and the legal line. */
|
|
20
22
|
export function Footer({ locale, path = "" }) {
|
|
21
23
|
const home = path ? `/${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), "
|
|
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("a", { href: `/${locale}${LICENSE.path}`, "aria-current": path === LICENSE.path ? "page" : undefined, children: translate(LICENSE.title, locale) }), _jsx("a", { href: `/${locale}${PRIVACY_PAGE.path}`, "aria-current": path === PRIVACY_PAGE.path ? "page" : undefined, children: translate(PRIVACY_PAGE.title, locale) }), _jsxs("a", { href: "#top", className: styles.top, children: [translate(FOOTER.top, locale), " ", _jsx(Icon, { name: "chevron-up", strokeWidth: 1.8 })] })] }), _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))] })] }));
|
|
23
25
|
}
|
|
24
26
|
//# 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,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,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:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a,.columns [data-preferences-link]{width:fit-content;transition:color .2s}.columns [data-preferences-link]{padding:0;border:0;background:none;font-size:inherit;color:inherit;text-align:left}.columns a:hover,.columns [data-preferences-link]:hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>*:nth-child(2n)::after{display:none}.columns>*:nth-child(-n+2){border-bottom:1px dashed var(--line-2)}}@media(max-width: 520px){.columns{grid-template-columns:1fr}.columns>*::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.brand{gap:14px !important}.brand>a:first-child{color:var(--foreground)}.slogan{color:var(--foreground);font-size:1.05rem;font-weight:500;letter-spacing:-0.03em;max-width:24ch}.email{color:var(--foreground-2)}.languages{display:grid;gap:10px}.languages a[aria-current]{color:var(--foreground)}.style{width:fit-content}.settings h2:not(:first-child){margin-top:18px}.mark{padding:40px 0 10px;font-size:clamp(4rem,17vw,15rem);font-weight:600;letter-spacing:-0.075em;line-height:.8;text-align:center;background:linear-gradient(180deg, var(--foreground) 0%, transparent 85%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0);user-select:none;overflow:hidden}.legal{padding:18px var(--padding) 28px;font-size:12px;color:var(--foreground-3);text-align:center}
|
|
1
|
+
.footer{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a,.columns [data-preferences-link]{width:fit-content;transition:color .2s}.columns [data-preferences-link]{padding:0;border:0;background:none;font-size:inherit;color:inherit;text-align:left}.columns a:hover,.columns [data-preferences-link]:hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>*:nth-child(2n)::after{display:none}.columns>*:nth-child(-n+2){border-bottom:1px dashed var(--line-2)}}@media(max-width: 520px){.columns{grid-template-columns:1fr}.columns>*::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.brand{gap:14px !important}.brand>a:first-child{color:var(--foreground)}.slogan{color:var(--foreground);font-size:1.05rem;font-weight:500;letter-spacing:-0.03em;max-width:24ch}.email{color:var(--foreground-2)}.languages{display:grid;gap:10px}.languages a[aria-current]{color:var(--foreground)}.style{width:fit-content}.settings h2:not(:first-child){margin-top:18px}.mark{padding:40px 0 10px;font-size:clamp(4rem,17vw,15rem);font-weight:600;letter-spacing:-0.075em;line-height:.8;text-align:center;background:linear-gradient(180deg, var(--foreground) 0%, transparent 85%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0);user-select:none;overflow:hidden}.legal{padding:18px var(--padding) 28px;font-size:12px;color:var(--foreground-3);text-align:center}.top{display:inline-flex;align-items:center;gap:6px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/not-found/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/not-found/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAclG;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,kBAAkB,+BA+D5D"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { motion } from "motion/react";
|
|
4
4
|
import { useState } from "react";
|
|
5
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
5
6
|
import { isSoftNavigation } from "@sharadox/web-library/navigation/soft-navigation";
|
|
6
7
|
import dynamic from "next/dynamic";
|
|
7
8
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
@@ -34,6 +35,6 @@ const rise = (delay, settled) => ({
|
|
|
34
35
|
export function NotFound({ locale, path }) {
|
|
35
36
|
// After a language switch the page is rebuilt in place: show it as it was, without replaying the entrance.
|
|
36
37
|
const [settled] = useState(isSoftNavigation);
|
|
37
|
-
return (_jsxs(Section, { className: styles.notFound, padded: false, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsx(motion.div, { ...rise(0.05, settled), children: _jsxs(Eyebrow, { className: styles.eyebrow, children: [_jsx("span", { className: styles.live, "aria-hidden": true }), " ", separate(translate(NOT_FOUND.error, locale), "404")] }) }), _jsxs("div", { className: styles.code, "aria-hidden": true, children: [_jsx(motion.span, { className: styles.digit, ...rise(0.15, settled), children: "4" }), _jsx(motion.span, { className: styles.world, initial: settled ? false : { opacity: 0, scale: 0.6, rotate: -20 }, animate: { opacity: 1, scale: 1, rotate: 0 }, transition: { duration: 1.6, delay: 0.25, ease: EASE }, children: _jsx(Globe, {}) }), _jsx(motion.span, { className: styles.digit, ...rise(0.35, settled), children: "4" })] }), _jsx("h1", { className: styles.title, children: _jsx("span", { className: styles.line, children: _jsx(motion.span, { className: styles.lineInner, initial: settled ? false : { y: "110%" }, animate: { y: "0%" }, transition: { duration: 1.1, delay: 0.5, ease: EASE }, children: translate(NOT_FOUND.heading, locale) }) }) }), _jsx(motion.p, { className: styles.text, ...rise(0.7, settled), children: translate(NOT_FOUND.text, locale) }), _jsxs(motion.p, { className: `${styles.request} monospace`, ...rise(0.8, settled), children: [_jsx("span", { className: styles.method, children: "GET" }), _jsx("span", { className: styles.path, children: path }),
|
|
38
|
+
return (_jsxs(Section, { className: styles.notFound, padded: false, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsx(motion.div, { ...rise(0.05, settled), children: _jsxs(Eyebrow, { className: styles.eyebrow, children: [_jsx("span", { className: styles.live, "aria-hidden": true }), " ", separate(translate(NOT_FOUND.error, locale), "404")] }) }), _jsxs("div", { className: styles.code, "aria-hidden": true, children: [_jsx(motion.span, { className: styles.digit, ...rise(0.15, settled), children: "4" }), _jsx(motion.span, { className: styles.world, initial: settled ? false : { opacity: 0, scale: 0.6, rotate: -20 }, animate: { opacity: 1, scale: 1, rotate: 0 }, transition: { duration: 1.6, delay: 0.25, ease: EASE }, children: _jsx(Globe, {}) }), _jsx(motion.span, { className: styles.digit, ...rise(0.35, settled), children: "4" })] }), _jsx("h1", { className: styles.title, children: _jsx("span", { className: styles.line, children: _jsx(motion.span, { className: styles.lineInner, initial: settled ? false : { y: "110%" }, animate: { y: "0%" }, transition: { duration: 1.1, delay: 0.5, ease: EASE }, children: translate(NOT_FOUND.heading, locale) }) }) }), _jsx(motion.p, { className: styles.text, ...rise(0.7, settled), children: translate(NOT_FOUND.text, locale) }), _jsxs(motion.p, { className: `${styles.request} monospace`, ...rise(0.8, settled), children: [_jsx("span", { className: styles.method, children: "GET" }), _jsx("span", { className: styles.path, children: path }), _jsxs("span", { className: styles.status, children: [_jsx(Icon, { name: "chevron-right", strokeWidth: 1.8 }), " 404"] }), _jsx("span", { className: styles.caret, "aria-hidden": true })] }), _jsxs(motion.div, { className: styles.actions, ...rise(0.9, settled), children: [_jsx(Button, { href: `/${locale}`, arrow: true, children: translate(NOT_FOUND.home, locale) }), _jsx(Button, { href: `/${locale}#${SECTION.contact.id}`, variant: "ghost", children: translate(ACTION.startProject, locale) })] }), _jsxs(motion.p, { className: `${styles.explore} monospace`, ...rise(1, settled), children: [translate(NOT_FOUND.explore, locale), " ", _jsx(Icon, { name: "chevron-down", strokeWidth: 1.8 })] })] }));
|
|
38
39
|
}
|
|
39
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/not-found/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AACpF,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kDAAkD,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,+CAA+C,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,gDAAgD,CAAC,EAAE;IACpF,GAAG,EAAE,KAAK;IAC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G,MAAM,CAAC,OAAO,YAAY,KAAM,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,aACxE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,oBAAY,EAC1C,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAQ,EAC3C,gBAAM,SAAS,EAAE,MAAM,CAAC,MAAM,aAC5B,KAAC,IAAI,IAAC,IAAI,EAAC,eAAe,EAAC,WAAW,EAAE,GAAG,GAAI,YAC1C,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,wBAAgB,IACpC,EACX,MAAC,MAAM,CAAC,GAAG,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,KAAM,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,aAC3D,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,MAAM,EAAE,EAAE,KAAK,kBAC9B,SAAS,CAAC,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,GAC3B,EACT,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,OAAO,EAAC,OAAO,YAC9D,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAChC,IACE,EACb,MAAC,MAAM,CAAC,CAAC,IAAC,SAAS,EAAE,GAAG,MAAM,CAAC,OAAO,YAAY,KAAM,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,aACrE,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,OAAE,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,EAAC,WAAW,EAAE,GAAG,GAAI,IAC5E,IACH,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.notFound{display:flex;flex-direction:column;align-items:center;min-height:min(100svh,1000px);padding:clamp(110px,14vh,150px) var(--padding) clamp(36px,6vh,64px)}@media(max-width: 700px){.notFound{min-height:0}}.notFound{text-align:center;overflow:hidden}.glow{position:absolute;left:50%;top:38%;width:min(70vw,760px);aspect-ratio:1;transform:translate(-50%, -50%);background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 10%, transparent), transparent);pointer-events:none}.eyebrow{display:inline-flex;align-items:center;gap:10px}.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)}}.code{position:relative;display:flex;align-items:center;justify-content:center;margin:clamp(18px,4vh,36px) 0 clamp(8px,2vh,18px);font-size:clamp(7.5rem,27vw,21rem);font-weight:600;line-height:.8;user-select:none}.digit{display:inline-block;padding:.04em .02em;background:linear-gradient(180deg, var(--foreground) 15%, transparent 105%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.world{position:relative;display:inline-block;width:.86em;height:.86em;margin:0 .04em;touch-action:pan-y}.title{margin:0;font-size:clamp(1.9rem,4.4vw,3.6rem);letter-spacing:-0.045em;line-height:1}.line{display:block;overflow:hidden;padding-bottom:.08em}.lineInner{display:inline-block}.text{max-width:34rem;margin:18px 0 0;color:var(--foreground-2);font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.55}.request{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:26px 0 0;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(8px);color:var(--foreground-3);font-size:13px}.method{color:var(--foreground)}.path{min-width:0;overflow:hidden;color:var(--foreground-2);text-overflow:ellipsis;white-space:nowrap}.status{flex:none}.caret{flex:none;width:7px;height:14px;background:var(--foreground);animation:blink 1.1s steps(1) infinite}@keyframes blink{50%{opacity:0}}.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}.explore{margin:auto 0 0;padding-top:48px;color:var(--foreground-3);font-size:12px;letter-spacing:.08em;text-transform:uppercase}@media(prefers-reduced-motion: reduce){.live,.caret{animation:none}}
|
|
1
|
+
.notFound{display:flex;flex-direction:column;align-items:center;min-height:min(100svh,1000px);padding:clamp(110px,14vh,150px) var(--padding) clamp(36px,6vh,64px)}@media(max-width: 700px){.notFound{min-height:0}}.notFound{text-align:center;overflow:hidden}.glow{position:absolute;left:50%;top:38%;width:min(70vw,760px);aspect-ratio:1;transform:translate(-50%, -50%);background:radial-gradient(closest-side, color-mix(in srgb, var(--foreground) 10%, transparent), transparent);pointer-events:none}.eyebrow{display:inline-flex;align-items:center;gap:10px}.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)}}.code{position:relative;display:flex;align-items:center;justify-content:center;margin:clamp(18px,4vh,36px) 0 clamp(8px,2vh,18px);font-size:clamp(7.5rem,27vw,21rem);font-weight:600;line-height:.8;user-select:none}.digit{display:inline-block;padding:.04em .02em;background:linear-gradient(180deg, var(--foreground) 15%, transparent 105%);-webkit-background-clip:text;background-clip:text;color:rgba(0,0,0,0)}.world{position:relative;display:inline-block;width:.86em;height:.86em;margin:0 .04em;touch-action:pan-y}.title{margin:0;font-size:clamp(1.9rem,4.4vw,3.6rem);letter-spacing:-0.045em;line-height:1}.line{display:block;overflow:hidden;padding-bottom:.08em}.lineInner{display:inline-block}.text{max-width:34rem;margin:18px 0 0;color:var(--foreground-2);font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.55}.request{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:26px 0 0;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:color-mix(in srgb, var(--background) 60%, transparent);backdrop-filter:blur(8px);color:var(--foreground-3);font-size:13px}.method{color:var(--foreground)}.path{min-width:0;overflow:hidden;color:var(--foreground-2);text-overflow:ellipsis;white-space:nowrap}.status{flex:none;display:inline-flex;align-items:center;gap:4px}.caret{flex:none;width:7px;height:14px;background:var(--foreground);animation:blink 1.1s steps(1) infinite}@keyframes blink{50%{opacity:0}}.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:30px}.explore{display:flex;align-items:center;gap:6px;margin:auto 0 0;padding-top:48px;color:var(--foreground-3);font-size:12px;letter-spacing:.08em;text-transform:uppercase}@media(prefers-reduced-motion: reduce){.live,.caret{animation:none}}
|
|
@@ -122,6 +122,9 @@
|
|
|
122
122
|
}
|
|
123
123
|
.status {
|
|
124
124
|
flex: none;
|
|
125
|
+
display: inline-flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
gap: 4px;
|
|
125
128
|
}
|
|
126
129
|
.caret {
|
|
127
130
|
flex: none;
|
|
@@ -143,6 +146,9 @@
|
|
|
143
146
|
margin-top: 30px;
|
|
144
147
|
}
|
|
145
148
|
.explore {
|
|
149
|
+
display: flex;
|
|
150
|
+
align-items: center;
|
|
151
|
+
gap: 6px;
|
|
146
152
|
margin: auto 0 0;
|
|
147
153
|
padding-top: 48px;
|
|
148
154
|
color: var(--foreground-3);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PrivacyPageProperties } from "@sharadox/sharadox-web-library/component/privacy-page/type";
|
|
2
|
+
/** The privacy policy page's body, in the grid frame: eyebrow, title, then the policy set for reading. */
|
|
3
|
+
export declare function PrivacyPage({ locale }: PrivacyPageProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/privacy-page/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG,0GAA0G;AAC1G,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,EAAE,qBAAqB,+BAS5D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
3
|
+
import { privacyPolicy } from "@sharadox/privacy-web-library/privacy-policy";
|
|
4
|
+
import { PrivacyPolicyView } from "@sharadox/privacy-web-library/privacy-policy-view";
|
|
5
|
+
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
6
|
+
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
7
|
+
import { PRIVACY, PRIVACY_PAGE } from "@sharadox/sharadox-web-library/content/privacy";
|
|
8
|
+
import styles from "./index.module.css";
|
|
9
|
+
/** The privacy policy page's body, in the grid frame: eyebrow, title, then the policy set for reading. */
|
|
10
|
+
export function PrivacyPage({ locale }) {
|
|
11
|
+
const policy = privacyPolicy(PRIVACY, locale);
|
|
12
|
+
return (_jsxs(Section, { className: styles.page, children: [_jsx(Eyebrow, { children: translate(PRIVACY_PAGE.eyebrow, locale) }), _jsx("h1", { className: styles.title, children: policy.title }), _jsx(PrivacyPolicyView, { policy: policy, className: styles.text })] }));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/privacy-page/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,mDAAmD,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0GAA0G;AAC1G,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAyB;IAC3D,MAAM,MAAM,GAAG,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IAC9C,OAAO,CACL,MAAC,OAAO,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,aAC7B,KAAC,OAAO,cAAE,SAAS,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,GAAW,EAC5D,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,MAAM,CAAC,KAAK,GAAM,EAChD,KAAC,iBAAiB,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IACrD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.page{padding-top:clamp(140px,16vw,200px)}.title{margin:28px 0 0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-0.03em}.text{max-width:72ch;margin-top:12px;color:var(--foreground-2);line-height:1.7}.text small{font-family:var(--monospace);font-size:12px}.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 ul{margin:0 0 16px}.text ul{padding-left:22px}.text li{margin-bottom:8px}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.page {
|
|
4
|
+
padding-top: clamp(140px, 16vw, 200px);
|
|
5
|
+
}
|
|
6
|
+
.title {
|
|
7
|
+
margin: 28px 0 0;
|
|
8
|
+
font-size: clamp(36px, 6vw, 64px);
|
|
9
|
+
line-height: 1.05;
|
|
10
|
+
letter-spacing: -0.03em;
|
|
11
|
+
}
|
|
12
|
+
.text {
|
|
13
|
+
max-width: 72ch;
|
|
14
|
+
margin-top: 12px;
|
|
15
|
+
color: var(--foreground-2);
|
|
16
|
+
line-height: 1.7;
|
|
17
|
+
small {
|
|
18
|
+
font-family: var(--monospace);
|
|
19
|
+
font-size: 12px;
|
|
20
|
+
}
|
|
21
|
+
h2 {
|
|
22
|
+
margin: 56px 0 14px;
|
|
23
|
+
padding-top: 28px;
|
|
24
|
+
color: var(--foreground);
|
|
25
|
+
font-size: clamp(20px, 2.4vw, 26px);
|
|
26
|
+
letter-spacing: -0.01em;
|
|
27
|
+
@include dashed(horizontal);
|
|
28
|
+
}
|
|
29
|
+
p,
|
|
30
|
+
ul {
|
|
31
|
+
margin: 0 0 16px;
|
|
32
|
+
}
|
|
33
|
+
ul {
|
|
34
|
+
padding-left: 22px;
|
|
35
|
+
}
|
|
36
|
+
li {
|
|
37
|
+
margin-bottom: 8px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/privacy-page/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/privacy-page/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { PrivacyOptions } from "@sharadox/privacy-web-library/privacy-policy/type";
|
|
2
|
+
/** The privacy policy page: its path after the locale, title and description. */
|
|
3
|
+
export declare const PRIVACY_PAGE: {
|
|
4
|
+
readonly path: "/privacy";
|
|
5
|
+
readonly title: {
|
|
6
|
+
readonly en: "Privacy Policy";
|
|
7
|
+
readonly pt: "Política de Privacidade";
|
|
8
|
+
};
|
|
9
|
+
readonly eyebrow: {
|
|
10
|
+
readonly en: "Your data";
|
|
11
|
+
readonly pt: "Os seus dados";
|
|
12
|
+
};
|
|
13
|
+
readonly description: {
|
|
14
|
+
readonly en: "What sharadox.com collects, why, who handles it, and your rights.";
|
|
15
|
+
readonly pt: "O que o sharadox.com recolhe, porquê, quem o trata, e os seus direitos.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* What sharadox.com really collects and who handles it: the contact form, and the language and style it remembers.
|
|
20
|
+
* Change it whenever any of that changes, and move `updated` to that day. The registered name, tax number and full
|
|
21
|
+
* address of the business belong in `controller` once confirmed.
|
|
22
|
+
*/
|
|
23
|
+
export declare const PRIVACY: PrivacyOptions;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/privacy/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAGxF,iFAAiF;AACjF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;CAQf,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,cAyCrB,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
2
|
+
/** The privacy policy page: its path after the locale, title and description. */
|
|
3
|
+
export const PRIVACY_PAGE = {
|
|
4
|
+
path: "/privacy",
|
|
5
|
+
title: { en: "Privacy Policy", pt: "Política de Privacidade" },
|
|
6
|
+
eyebrow: { en: "Your data", pt: "Os seus dados" },
|
|
7
|
+
description: {
|
|
8
|
+
en: "What sharadox.com collects, why, who handles it, and your rights.",
|
|
9
|
+
pt: "O que o sharadox.com recolhe, porquê, quem o trata, e os seus direitos.",
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* What sharadox.com really collects and who handles it: the contact form, and the language and style it remembers.
|
|
14
|
+
* Change it whenever any of that changes, and move `updated` to that day. The registered name, tax number and full
|
|
15
|
+
* address of the business belong in `controller` once confirmed.
|
|
16
|
+
*/
|
|
17
|
+
export const PRIVACY = {
|
|
18
|
+
controller: {
|
|
19
|
+
name: SITE.name,
|
|
20
|
+
address: "Algarve, Portugal",
|
|
21
|
+
email: SITE.email,
|
|
22
|
+
website: SITE.url,
|
|
23
|
+
},
|
|
24
|
+
updated: "2026-11-13",
|
|
25
|
+
contactForm: {
|
|
26
|
+
fields: [
|
|
27
|
+
{ en: "your name", pt: "o seu nome" },
|
|
28
|
+
{ en: "company", pt: "empresa" },
|
|
29
|
+
{ en: "email", pt: "email" },
|
|
30
|
+
{ en: "what you need", pt: "o que precisa" },
|
|
31
|
+
{ en: "your message", pt: "a sua mensagem" },
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
remembered: [
|
|
35
|
+
{ en: "the language you chose", pt: "o idioma que escolheu" },
|
|
36
|
+
{ en: "the style you chose", pt: "o estilo que escolheu" },
|
|
37
|
+
],
|
|
38
|
+
recipients: [
|
|
39
|
+
{
|
|
40
|
+
name: "Vercel",
|
|
41
|
+
purpose: { en: "hosts the website", pt: "aloja o website" },
|
|
42
|
+
location: { en: "United States", pt: "Estados Unidos" },
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "Amazon Web Services",
|
|
46
|
+
purpose: { en: "sends the form's messages by email", pt: "envia as mensagens do formulário por email" },
|
|
47
|
+
location: { en: "United States", pt: "Estados Unidos" },
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: "Proton",
|
|
51
|
+
purpose: {
|
|
52
|
+
en: "hosts the mailbox the messages arrive in",
|
|
53
|
+
pt: "aloja a caixa de correio onde chegam as mensagens",
|
|
54
|
+
},
|
|
55
|
+
location: { en: "Switzerland", pt: "Suíça" },
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE,iBAAiB,EAAE;YAC3D,QAAQ,EAAE,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,gBAAgB,EAAE;SACxD;QACD;YACE,IAAI,EAAE,qBAAqB;YAC3B,OAAO,EAAE,EAAE,EAAE,EAAE,oCAAoC,EAAE,EAAE,EAAE,4CAA4C,EAAE;YACvG,QAAQ,EAAE,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,gBAAgB,EAAE;SACxD;QACD;YACE,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP,EAAE,EAAE,0CAA0C;gBAC9C,EAAE,EAAE,mDAAmD;aACxD;YACD,QAAQ,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,OAAO,EAAE;SAC7C;KACF;CACF,CAAC"}
|
package/llms.txt
CHANGED
|
@@ -16,3 +16,5 @@
|
|
|
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
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.
|
|
19
|
+
- content/privacy PRIVACY (privacy-web-library options) and PRIVACY_PAGE { path "/privacy", title, eyebrow, description }; component/privacy-page PrivacyPage({ locale }); the footer links it
|
|
20
|
+
- 0.16.0: chevron icons from @sharadox/icon-web-library replace every text arrow (button, footer Back to top, 404)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharadox/sharadox-web-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.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",
|
|
@@ -57,9 +57,11 @@
|
|
|
57
57
|
"@sharadox/animation-web-library": "^0.2.2",
|
|
58
58
|
"@sharadox/form-web-library": "^0.2.2",
|
|
59
59
|
"@sharadox/globe-web-library": "^0.2.1",
|
|
60
|
+
"@sharadox/icon-web-library": "^0.1.0",
|
|
60
61
|
"@sharadox/internationalization-web-library": "^0.2.3",
|
|
61
62
|
"@sharadox/metadata-web-library": "^0.2.0",
|
|
62
63
|
"@sharadox/pointer-web-library": "^0.1.0",
|
|
64
|
+
"@sharadox/privacy-web-library": "^0.1.1",
|
|
63
65
|
"@sharadox/scroll-web-library": "^0.2.0",
|
|
64
66
|
"@sharadox/style-web-library": "^0.2.0",
|
|
65
67
|
"@sharadox/time-web-library": "^0.2.0",
|