@sharadox/sharadox-web-library 0.9.1 → 0.10.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 +5 -0
- package/distribution/component/capability/index.d.ts.map +1 -1
- package/distribution/component/capability/index.js +2 -1
- package/distribution/component/capability/index.js.map +1 -1
- package/distribution/component/contact/index.d.ts.map +1 -1
- package/distribution/component/contact/index.js +2 -1
- package/distribution/component/contact/index.js.map +1 -1
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +4 -3
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/hero/index.d.ts.map +1 -1
- package/distribution/component/hero/index.js +5 -2
- package/distribution/component/hero/index.js.map +1 -1
- package/distribution/component/language-switch/index.js +2 -2
- package/distribution/component/language-switch/index.js.map +1 -1
- package/distribution/component/navigation/index.d.ts.map +1 -1
- package/distribution/component/navigation/index.js +3 -2
- package/distribution/component/navigation/index.js.map +1 -1
- package/distribution/component/not-found/index.d.ts.map +1 -1
- package/distribution/component/not-found/index.js +3 -2
- package/distribution/component/not-found/index.js.map +1 -1
- package/distribution/component/process/index.d.ts.map +1 -1
- package/distribution/component/process/index.js +2 -1
- package/distribution/component/process/index.js.map +1 -1
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +2 -1
- package/distribution/component/services/index.js.map +1 -1
- package/distribution/component/share-image/index.d.ts.map +1 -1
- package/distribution/component/share-image/index.js +3 -3
- package/distribution/component/share-image/index.js.map +1 -1
- package/distribution/component/structured-data/index.d.ts.map +1 -1
- package/distribution/component/structured-data/index.js +2 -1
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/component/touchpoint/index.d.ts.map +1 -1
- package/distribution/component/touchpoint/index.js +2 -1
- package/distribution/component/touchpoint/index.js.map +1 -1
- package/distribution/content/action/index.d.ts +8 -0
- package/distribution/content/action/index.d.ts.map +1 -0
- package/distribution/content/action/index.js +5 -0
- package/distribution/content/action/index.js.map +1 -0
- package/distribution/content/capability/index.d.ts +0 -4
- package/distribution/content/capability/index.d.ts.map +1 -1
- package/distribution/content/capability/index.js +0 -1
- package/distribution/content/capability/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +0 -4
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +0 -1
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/footer/index.d.ts +0 -8
- package/distribution/content/footer/index.d.ts.map +1 -1
- package/distribution/content/footer/index.js +0 -2
- package/distribution/content/footer/index.js.map +1 -1
- package/distribution/content/hero/index.d.ts +0 -8
- package/distribution/content/hero/index.d.ts.map +1 -1
- package/distribution/content/hero/index.js +0 -5
- package/distribution/content/hero/index.js.map +1 -1
- package/distribution/content/language/index.d.ts +12 -0
- package/distribution/content/language/index.d.ts.map +1 -0
- package/distribution/content/language/index.js +6 -0
- package/distribution/content/language/index.js.map +1 -0
- package/distribution/content/navigation/index.d.ts +10 -17
- package/distribution/content/navigation/index.d.ts.map +1 -1
- package/distribution/content/navigation/index.js +3 -7
- package/distribution/content/navigation/index.js.map +1 -1
- package/distribution/content/section/index.d.ts +37 -0
- package/distribution/content/section/index.d.ts.map +1 -0
- package/distribution/content/section/index.js +13 -0
- package/distribution/content/section/index.js.map +1 -0
- package/distribution/content/section-indicator/index.d.ts +1 -1
- package/distribution/content/section-indicator/index.d.ts.map +1 -1
- package/distribution/content/section-indicator/index.js +8 -7
- package/distribution/content/section-indicator/index.js.map +1 -1
- package/distribution/content/site/index.d.ts +0 -4
- package/distribution/content/site/index.d.ts.map +1 -1
- package/distribution/content/site/index.js +0 -4
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/content/slogan/index.d.ts +17 -0
- package/distribution/content/slogan/index.d.ts.map +1 -0
- package/distribution/content/slogan/index.js +17 -0
- package/distribution/content/slogan/index.js.map +1 -0
- package/llms.txt +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,12 @@ Everything generic comes from the open-source Sharadox libraries, configured her
|
|
|
23
23
|
- `locale`: `LOCALES`, built with `defineLocales`.
|
|
24
24
|
- `style`: `STYLES`, with Black and White in the colour group; colours live only here.
|
|
25
25
|
- `separator`: the Sharadox separator •.
|
|
26
|
+
- `slogan`: `SLOGAN` (one sentence, always with its full stop) and `SLOGAN_LINES` (the hero's lines, the single source of its words).
|
|
27
|
+
- `section`: `SECTION`, each home-page section's id and name, used by navigation, footer, section indicator and headings.
|
|
28
|
+
- `action`: shared calls to action (`ACTION.startProject`).
|
|
29
|
+
- `language`: `LANGUAGE`, the switches' label and each language's own name.
|
|
26
30
|
- `consent`, `contact`, `services`, `site`, `globe`, and so on.
|
|
31
|
+
- **One source for shared copy:** text used in more than one place lives in its own content module and is imported, never retyped.
|
|
27
32
|
- **`component/`:** the page's branded parts:
|
|
28
33
|
- grid frame, `Cross` marks, navigation and footer
|
|
29
34
|
- hero and its guides, service index, statement, the five service cells and their live visuals
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAErG,0FAA0F;AAC1F,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA4B1D"}
|
|
@@ -5,10 +5,11 @@ import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
|
5
5
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
6
6
|
import { CAPABILITY } from "@sharadox/sharadox-web-library/content/capability";
|
|
7
7
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
8
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
8
9
|
import styles from "./index.module.css";
|
|
9
10
|
/** "Capabilities": every deliverable of every discipline, as columns of a ruled sheet. */
|
|
10
11
|
export function Capability({ locale }) {
|
|
11
12
|
const rows = 1 + Math.max(...SERVICES.items.map((service) => service.capabilities[locale].length));
|
|
12
|
-
return (_jsxs(Section, { id:
|
|
13
|
+
return (_jsxs(Section, { id: SECTION.capabilities.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SECTION.capabilities, locale), title: translate(CAPABILITY.title, locale) }) }), _jsx("div", { className: styles.sheet, style: { "--rows": rows }, children: SERVICES.items.map((service, column) => (_jsxs("div", { className: styles.column, children: [_jsxs("a", { href: `#${service.key}`, className: styles.title, children: [_jsx("span", { className: "monospace", children: service.number }), translate(service.title, locale)] }), _jsx("ul", { role: "list", children: service.capabilities[locale].map((capability, row) => (_jsx("li", { children: _jsx(Reveal, { delay: column * 0.05 + row * 0.04, y: 8, blur: 0, margin: "-5% 0px", children: capability }) }, capability))) })] }, service.key))) })] }));
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/capability/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0FAA0F;AAC1F,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAwB;IACzD,MAAM,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC,K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,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAmB,YACrE,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,CACvC,eAAuB,SAAS,EAAE,MAAM,CAAC,MAAM,aAC7C,aAAG,IAAI,EAAE,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aACjD,eAAM,SAAS,EAAC,WAAW,YAAE,OAAO,CAAC,MAAM,GAAQ,EAClD,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,IAC/B,EACJ,aAAI,IAAI,EAAC,MAAM,YACZ,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,GAAG,EAAE,EAAE,CAAC,CACrD,uBACE,KAAC,MAAM,IAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,GAAG,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAC,SAAS,YACvE,UAAU,GACJ,IAHF,UAAU,CAId,CACN,CAAC,GACC,KAbG,OAAO,CAAC,GAAG,CAcf,CACP,CAAC,GACE,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/contact/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/contact/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,uFAAuF;AACvF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BAkB5D"}
|
|
@@ -6,9 +6,10 @@ import { CONTACT } from "@sharadox/sharadox-web-library/content/contact";
|
|
|
6
6
|
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
7
7
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
8
8
|
import { ContactForm } from "@sharadox/sharadox-web-library/component/contact/form";
|
|
9
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
9
10
|
import styles from "./index.module.css";
|
|
10
11
|
/** Contact section: invitation and direct email on the left, the form on the right. */
|
|
11
12
|
export function Contact({ locale, action }) {
|
|
12
|
-
return (_jsxs(Section, { id:
|
|
13
|
+
return (_jsxs(Section, { id: SECTION.contact.id, className: styles.contact, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsxs(Reveal, { className: styles.heading, children: [_jsx(Eyebrow, { children: translate(SECTION.contact, locale) }), _jsx("h2", { children: translate(CONTACT.title, locale) }), _jsx("p", { className: styles.text, children: translate(CONTACT.text, locale) }), _jsxs("p", { className: styles.direct, children: [_jsx("span", { className: "monospace", children: translate(CONTACT.direct, locale) }), _jsx("a", { href: `mailto:${SITE.email}`, children: SITE.email })] })] }), _jsx(Reveal, { delay: 0.1, children: _jsx(ContactForm, { locale: locale, action: action }) })] }));
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/contact/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,MAA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EAAE,MAAM,CAAC,MAAM,aACzB,eAAM,SAAS,EAAC,WAAW,YAAE,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,GAAQ,EACtE,YAAG,IAAI,EAAE,UAAU,IAAI,CAAC,KAAK,EAAE,YAAG,IAAI,CAAC,KAAK,GAAK,IAC/C,IACG,EACT,KAAC,MAAM,IAAC,KAAK,EAAE,GAAG,YAChB,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAI,GACxC,IACD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -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":"AAkBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sDAAsD,CAAC;AAE7F,mHAAmH;AACnH,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,gBAAgB,+BAsD7D"}
|
|
@@ -9,16 +9,17 @@ import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-swit
|
|
|
9
9
|
import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
|
|
10
10
|
import { FOOTER } from "@sharadox/sharadox-web-library/content/footer";
|
|
11
11
|
import { LICENCE } from "@sharadox/sharadox-web-library/content/licence";
|
|
12
|
-
import {
|
|
12
|
+
import { LANGUAGE } from "@sharadox/sharadox-web-library/content/language";
|
|
13
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
14
|
+
import { SLOGAN } from "@sharadox/sharadox-web-library/content/slogan";
|
|
13
15
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
14
16
|
import { STYLE } from "@sharadox/sharadox-web-library/content/style";
|
|
15
17
|
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
16
18
|
import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
|
|
17
19
|
import styles from "./index.module.css";
|
|
18
|
-
const LANGUAGE_NAMES = { en: "English", pt: "Português" };
|
|
19
20
|
/** Columns of links in the grid, the style and language switches, the big gradient wordmark and the legal line. */
|
|
20
21
|
export function Footer({ locale, path = "" }) {
|
|
21
22
|
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}` }),
|
|
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}${LICENCE.path}`, "aria-current": path === LICENCE.path ? "page" : undefined, children: translate(LICENCE.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)) })] }));
|
|
23
24
|
}
|
|
24
25
|
//# 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,
|
|
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,MA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AAW,EAAE,SAAS,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GACnF,IACG,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/hero/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/hero/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AAQzF,wGAAwG;AACxG,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,+BA8D9C"}
|
|
@@ -9,6 +9,9 @@ import { GlobePlaceholder } from "@sharadox/sharadox-web-library/component/globe
|
|
|
9
9
|
import { HeroGuide } from "@sharadox/sharadox-web-library/component/hero/guide";
|
|
10
10
|
import { HERO } from "@sharadox/sharadox-web-library/content/hero";
|
|
11
11
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
12
|
+
import { ACTION } from "@sharadox/sharadox-web-library/content/action";
|
|
13
|
+
import { SLOGAN_LINES } from "@sharadox/sharadox-web-library/content/slogan";
|
|
14
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
12
15
|
import styles from "./index.module.css";
|
|
13
16
|
const Globe = dynamic(() => import("@sharadox/sharadox-web-library/component/globe"), {
|
|
14
17
|
ssr: false,
|
|
@@ -17,7 +20,7 @@ const Globe = dynamic(() => import("@sharadox/sharadox-web-library/component/glo
|
|
|
17
20
|
const EASE = [0.22, 1, 0.36, 1];
|
|
18
21
|
/** First screen, inside the grid frame: the slogan rising line by line beside the interactive globe. */
|
|
19
22
|
export function Hero({ locale }) {
|
|
20
|
-
const lines =
|
|
21
|
-
return (_jsxs("section", { id:
|
|
23
|
+
const lines = SLOGAN_LINES[locale];
|
|
24
|
+
return (_jsxs("section", { id: SECTION.home.id, className: styles.hero, children: [_jsx(HeroGuide, {}), _jsx(Cross, { corner: "bottom-left" }), _jsx(Cross, { corner: "bottom-right" }), _jsxs("div", { className: styles.copy, children: [_jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 1, delay: 0.1 }, children: _jsxs(Eyebrow, { className: styles.eyebrow, children: [_jsx("span", { className: styles.live, "aria-hidden": true }), " ", translate(HERO.eyebrow, locale)] }) }), _jsx("h1", { className: styles.title, children: lines.map((line, index) => (_jsx("span", { className: styles.line, children: _jsx(motion.span, { className: index === lines.length - 1 ? `${styles.lineInner} ${styles.dim}` : styles.lineInner, initial: { y: "110%" }, animate: { y: "0%" }, transition: { duration: 1.1, delay: 0.2 + index * 0.12, ease: EASE }, children: line }) }, index))) }), _jsx(motion.p, { className: styles.subtitle, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.75, ease: EASE }, children: translate(HERO.subtitle, locale) }), _jsxs(motion.div, { className: styles.actions, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.9, ease: EASE }, children: [_jsx(Button, { href: `#${SECTION.contact.id}`, arrow: true, children: translate(ACTION.startProject, locale) }), _jsx(Button, { href: `#${SECTION.services.id}`, variant: "ghost", children: translate(HERO.secondary, locale) })] })] }), _jsxs(motion.div, { className: styles.globe, initial: { opacity: 0, scale: 0.92 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 1.8, delay: 0.3, ease: EASE }, children: [_jsx(Globe, {}), _jsx("span", { className: `${styles.hint} monospace`, "aria-hidden": true, children: translate(HERO.drag, locale) })] })] }));
|
|
22
25
|
}
|
|
23
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/hero/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,OAAO,MAAM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AAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAC7B,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,aAErD,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,KAAK,kBAC1C,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAChC,EACT,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,OAAO,EAAC,OAAO,YACrD,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAC3B,IACE,IACT,EACN,MAAC,MAAM,CAAC,GAAG,IACT,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EACpC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EACjC,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,aAErD,KAAC,KAAK,KAAG,EACT,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,iCACxC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GACxB,IACI,IACL,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
3
3
|
import { LocaleLink } from "@sharadox/internationalization-web-library/locale-link";
|
|
4
|
-
import {
|
|
4
|
+
import { LANGUAGE } from "@sharadox/sharadox-web-library/content/language";
|
|
5
5
|
import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
|
|
6
6
|
import styles from "./index.module.css";
|
|
7
7
|
/** EN/PT pill toggle. A manual choice is remembered, so sharadox.com opens in that language next time. */
|
|
8
8
|
export function LanguageSwitch({ locale, path = "" }) {
|
|
9
|
-
return (_jsx("div", { className: styles.switch, role: "group", "aria-label": translate(
|
|
9
|
+
return (_jsx("div", { className: styles.switch, role: "group", "aria-label": translate(LANGUAGE.label, locale), children: LOCALES.locales.map((other) => (_jsx(LocaleLink, { locale: other, href: `/${other}${path}`, current: other === locale, children: other.toUpperCase() }, other))) }));
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/language-switch/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/language-switch/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,wDAAwD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,0GAA0G;AAC1G,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAA4B;IAC5E,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,gBAAa,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,YACtF,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9B,KAAC,UAAU,IAAa,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,KAAK,GAAG,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,KAAK,MAAM,YACvF,KAAK,CAAC,WAAW,EAAE,IADL,KAAK,CAET,CACd,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAErG,6FAA6F;AAC7F,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,oBAAoB,+BA8BrE"}
|
|
@@ -8,8 +8,9 @@ import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-swit
|
|
|
8
8
|
import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
|
|
9
9
|
import { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
|
|
10
10
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
11
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
12
|
+
import { ACTION } from "@sharadox/sharadox-web-library/content/action";
|
|
11
13
|
import styles from "./index.module.css";
|
|
12
|
-
const LINKS = ["services", "capabilities", "process", "contact"];
|
|
13
14
|
/** Fixed top bar that frosts once the page scrolls, with the style and language switches. */
|
|
14
15
|
export function Navigation({ locale, path = "" }) {
|
|
15
16
|
const home = path ? `/${locale}` : "";
|
|
@@ -20,6 +21,6 @@ export function Navigation({ locale, path = "" }) {
|
|
|
20
21
|
addEventListener("scroll", update, { passive: true });
|
|
21
22
|
return () => removeEventListener("scroll", update);
|
|
22
23
|
}, []);
|
|
23
|
-
return (_jsx("header", { className: classNames(styles.navigation, scrolled && styles.scrolled), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": "Main", children:
|
|
24
|
+
return (_jsx("header", { className: classNames(styles.navigation, scrolled && styles.scrolled), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": "Main", children: NAVIGATION.links.map((section) => (_jsx("a", { href: `${home}#${section.id}`, children: translate(section, locale) }, section.id))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale, path: path }), _jsx(Button, { href: `${home}#${SECTION.contact.id}`, size: "small", className: styles.callToAction, children: translate(ACTION.startProject, locale) })] })] }) }));
|
|
24
25
|
}
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,WAAW,EAAE,MAAM,uDAAuD,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,S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AAM,CAAC,KAAK,aAC1B,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,MAAM,EAAE,GAAI,EAChC,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAa,MAAM,YAC5C,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACjC,YAAoB,IAAI,EAAE,GAAG,IAAI,IAAI,OAAO,CAAC,EAAE,EAAE,YAC9C,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,IADrB,OAAO,CAAC,EAAE,CAEd,CACL,CAAC,GACE,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACxD,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAI,EAC9C,KAAC,MAAM,IAAC,IAAI,EAAE,GAAG,IAAI,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,YACvF,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,GAChC,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -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":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yDAAyD,CAAC;AAclG;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,kBAAkB,+BA2D5D"}
|
|
@@ -7,9 +7,10 @@ import { Button } from "@sharadox/sharadox-web-library/component/button";
|
|
|
7
7
|
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
8
8
|
import { GlobePlaceholder } from "@sharadox/sharadox-web-library/component/globe/placeholder";
|
|
9
9
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
10
|
-
import { HERO } from "@sharadox/sharadox-web-library/content/hero";
|
|
11
10
|
import { NOT_FOUND } from "@sharadox/sharadox-web-library/content/not-found";
|
|
12
11
|
import { separate } from "@sharadox/sharadox-web-library/utility/separate";
|
|
12
|
+
import { ACTION } from "@sharadox/sharadox-web-library/content/action";
|
|
13
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
13
14
|
import styles from "./index.module.css";
|
|
14
15
|
const Globe = dynamic(() => import("@sharadox/sharadox-web-library/component/globe"), {
|
|
15
16
|
ssr: false,
|
|
@@ -29,6 +30,6 @@ const rise = (delay) => ({
|
|
|
29
30
|
* <NotFound locale="en" path="/en/old-page" />
|
|
30
31
|
*/
|
|
31
32
|
export function NotFound({ locale, path }) {
|
|
32
|
-
return (_jsxs(Section, { className: styles.notFound, padded: false, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsx(motion.div, { ...rise(0.05), 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), children: "4" }), _jsx(motion.span, { className: styles.world, initial: { 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), children: "4" })] }), _jsx("h1", { className: styles.title, children: _jsx("span", { className: styles.line, children: _jsx(motion.span, { className: styles.lineInner, initial: { 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), children: translate(NOT_FOUND.text, locale) }), _jsxs(motion.p, { className: `${styles.request} monospace`, ...rise(0.8), children: [_jsx("span", { className: styles.method, children: "GET" }), _jsx("span", { className: styles.path, children: path }), _jsx("span", { className: styles.status, children: "\u2192 404" }), _jsx("span", { className: styles.caret, "aria-hidden": true })] }), _jsxs(motion.div, { className: styles.actions, ...rise(0.9), children: [_jsx(Button, { href: `/${locale}`, arrow: true, children: translate(NOT_FOUND.home, locale) }), _jsx(Button, { href: `/${locale}
|
|
33
|
+
return (_jsxs(Section, { className: styles.notFound, padded: false, children: [_jsx("div", { className: styles.glow, "aria-hidden": true }), _jsx(motion.div, { ...rise(0.05), 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), children: "4" }), _jsx(motion.span, { className: styles.world, initial: { 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), children: "4" })] }), _jsx("h1", { className: styles.title, children: _jsx("span", { className: styles.line, children: _jsx(motion.span, { className: styles.lineInner, initial: { 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), children: translate(NOT_FOUND.text, locale) }), _jsxs(motion.p, { className: `${styles.request} monospace`, ...rise(0.8), children: [_jsx("span", { className: styles.method, children: "GET" }), _jsx("span", { className: styles.path, children: path }), _jsx("span", { className: styles.status, children: "\u2192 404" }), _jsx("span", { className: styles.caret, "aria-hidden": true })] }), _jsxs(motion.div, { className: styles.actions, ...rise(0.9), 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), children: [translate(NOT_FOUND.explore, locale), " \u2193"] })] }));
|
|
33
34
|
}
|
|
34
35
|
//# 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,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,
|
|
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,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,kD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,EAAE,MAAM,CAAC,GACzB,EACX,MAAC,MAAM,CAAC,CAAC,IAAC,SAAS,EAAE,GAAG,MAAM,CAAC,OAAO,YAAY,KAAM,IAAI,CAAC,GAAG,CAAC,aAC/D,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,oBAAY,EAC1C,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAQ,EAC3C,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,2BAAc,EAC5C,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,wBAAgB,IACpC,EACX,MAAC,MAAM,CAAC,GAAG,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,KAAM,IAAI,CAAC,GAAG,CAAC,aAClD,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,CAAC,aAC5D,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAC,eAC5B,IACH,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA0BpD"}
|
|
@@ -6,6 +6,7 @@ import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
|
6
6
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
7
7
|
import { PROCESS } from "@sharadox/sharadox-web-library/content/process";
|
|
8
8
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
9
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
9
10
|
import styles from "./index.module.css";
|
|
10
11
|
import { Step } from "@sharadox/sharadox-web-library/component/process/step";
|
|
11
12
|
/** Four steps on a line that draws itself as you scroll through the section. */
|
|
@@ -14,6 +15,6 @@ export function Process({ locale }) {
|
|
|
14
15
|
const { scrollYProgress } = useScroll({ target: container, offset: ["start 75%", "end 55%"] });
|
|
15
16
|
const width = useTransform(scrollYProgress, [0, 1], ["0%", "100%"]);
|
|
16
17
|
const steps = PROCESS.steps;
|
|
17
|
-
return (_jsxs(Section, { id:
|
|
18
|
+
return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { width } }) }), steps.map((step, index) => (_jsx(Step, { index: index, count: steps.length, progress: scrollYProgress, number: step.number, title: translate(step.title, locale), text: translate(step.text, locale) }, step.number)))] })] }));
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,E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C,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IAN7B,IAAI,CAAC,MAAM,CAOhB,CACH,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/services/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/services/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAEjG,wFAAwF;AACxF,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAwCtD"}
|
|
@@ -12,6 +12,7 @@ import { PlatformVisual } from "@sharadox/sharadox-web-library/component/service
|
|
|
12
12
|
import { SocialVisual } from "@sharadox/sharadox-web-library/component/services/social-visual";
|
|
13
13
|
import { WebVisual } from "@sharadox/sharadox-web-library/component/services/web-visual";
|
|
14
14
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
15
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
15
16
|
import styles from "./index.module.css";
|
|
16
17
|
/** "What we do": the five disciplines as cells of one grid, each with a live visual. */
|
|
17
18
|
export function Services({ locale }) {
|
|
@@ -22,6 +23,6 @@ export function Services({ locale }) {
|
|
|
22
23
|
"social-media": _jsx(SocialVisual, { locale: locale }),
|
|
23
24
|
"marketing-campaign": _jsx(CampaignVisual, { locale: locale }),
|
|
24
25
|
};
|
|
25
|
-
return (_jsxs(Section, { id:
|
|
26
|
+
return (_jsxs(Section, { id: SECTION.services.id, padded: false, children: [_jsx("div", { className: styles.heading, children: _jsx(SectionHeading, { eyebrow: translate(SERVICES.eyebrow, locale), title: translate(SERVICES.title, locale) }) }), _jsxs("div", { className: styles.grid, children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" }), SERVICES.items.map((service, index) => (_jsx("div", { className: styles[service.key], children: _jsx(Reveal, { delay: (index % 3) * 0.08, className: styles.reveal, children: _jsx(Cell, { id: service.key, visual: visuals[service.key], number: service.number, kinds: service.kinds[locale], title: translate(service.title, locale), lead: translate(service.lead, locale), text: translate(service.text, locale) }) }) }, service.key)))] })] }));
|
|
26
27
|
}
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/services/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,mEAAmE,CAAC;AACnG,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,iEAAiE,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,iEAAiE,CAAC;AAC/F,OAAO,EAAE,cAAc,EAAE,MAAM,mEAAmE,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,iEAAiE,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAE3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,wFAAwF;AACxF,MAAM,UAAU,QAAQ,CAAC,EAAE,MAAM,EAAsB;IACrD,MAAM,OAAO,GAAkC;QAC7C,iBAAiB,EAAE,CACjB,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,KAAC,SAAS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AE,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,EAC5B,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,EACvC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,EACrC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,GACrC,GACK,IAXD,OAAO,CAAC,GAAG,CAYf,CACP,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAC;AAMnG,sHAAsH;AACtH,wBAAsB,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,4CAoFlF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { shareImage } from "@sharadox/metadata-web-library/share-image";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
|
-
import { SITE } from "@sharadox/sharadox-web-library/content/site";
|
|
5
4
|
import { horizonDots } from "@sharadox/sharadox-web-library/utility/horizon-dots";
|
|
6
5
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
6
|
+
import { SLOGAN } from "@sharadox/sharadox-web-library/content/slogan";
|
|
7
7
|
/** Fonts ship with the library (distribution/asset/font), found relative to this compiled file. */
|
|
8
8
|
const font = (file) => readFile(new URL(`../../asset/font/${file}`, import.meta.url));
|
|
9
9
|
/** Share card (Open Graph and Twitter): black canvas, a dotted planet rising from the bottom, the slogan in Geist. */
|
|
@@ -45,7 +45,7 @@ export async function renderShareImage({ locale, width, height }) {
|
|
|
45
45
|
fontFamily: "Geist",
|
|
46
46
|
fontSize: 30,
|
|
47
47
|
letterSpacing: -0.5,
|
|
48
|
-
}, children: [_jsx("div", { style: { width: 22, height: 22, borderRadius: 22, border: "2px solid #fff", display: "flex" } }), "Sharadox"] }),
|
|
48
|
+
}, children: [_jsx("div", { style: { width: 22, height: 22, borderRadius: 22, border: "2px solid #fff", display: "flex" } }), "Sharadox"] }), _jsx("div", { style: {
|
|
49
49
|
display: "flex",
|
|
50
50
|
flexDirection: "column",
|
|
51
51
|
marginTop: 70,
|
|
@@ -54,7 +54,7 @@ export async function renderShareImage({ locale, width, height }) {
|
|
|
54
54
|
lineHeight: 1.02,
|
|
55
55
|
letterSpacing: -2.6,
|
|
56
56
|
maxWidth: 980,
|
|
57
|
-
}, children:
|
|
57
|
+
}, children: translate(SLOGAN, locale) }), _jsx("div", { style: { display: "flex", marginTop: 26, fontFamily: "GeistMono", fontSize: 22, color: "#8f8f8f" }, children: "sharadox.com" })] }), {
|
|
58
58
|
width,
|
|
59
59
|
height,
|
|
60
60
|
fonts: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/share-image/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AAEjF,OAAO,EAAE,MAA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1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/structured-data/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/structured-data/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAG9G,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAkDlE"}
|
|
@@ -5,6 +5,7 @@ import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
|
|
|
5
5
|
import { StructuredData as JsonLinkedData } from "@sharadox/metadata-web-library/structured-data";
|
|
6
6
|
import { structuredDataGraph } from "@sharadox/metadata-web-library/structured-data-graph";
|
|
7
7
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
8
|
+
import { SLOGAN } from "@sharadox/sharadox-web-library/content/slogan";
|
|
8
9
|
/** JSON-LD for search engines: the Sharadox organization with its five services, and the website. */
|
|
9
10
|
export function StructuredData({ locale }) {
|
|
10
11
|
const data = structuredDataGraph({
|
|
@@ -13,7 +14,7 @@ export function StructuredData({ locale }) {
|
|
|
13
14
|
name: SITE.name,
|
|
14
15
|
url: SITE.url,
|
|
15
16
|
email: SITE.email,
|
|
16
|
-
slogan: translate(
|
|
17
|
+
slogan: translate(SLOGAN, locale),
|
|
17
18
|
description: translate(SITE.description, locale),
|
|
18
19
|
logo: `${SITE.url}/icon.svg`,
|
|
19
20
|
address: { "@type": "PostalAddress", addressRegion: "Algarve", addressCountry: "PT" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/structured-data/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MA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AI,EAAE,IAAI,GAAI,CAAC;AACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/touchpoint/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/touchpoint/index.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAErG;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BAmC1D"}
|
|
@@ -9,6 +9,7 @@ import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
|
9
9
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
10
10
|
import { Plate } from "@sharadox/sharadox-web-library/component/touchpoint/plate";
|
|
11
11
|
import { TOUCHPOINT } from "@sharadox/sharadox-web-library/content/touchpoint";
|
|
12
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
12
13
|
import styles from "./index.module.css";
|
|
13
14
|
/**
|
|
14
15
|
* "One brand. Every touchpoint.": the brand's layers stacked in 3D on one identity, separating as the section
|
|
@@ -20,6 +21,6 @@ export function Touchpoint({ locale }) {
|
|
|
20
21
|
const { scrollYProgress } = useScroll({ target: container, offset: ["start end", "center center"] });
|
|
21
22
|
const spread = useTransform(scrollYProgress, [0, 1], [10, 52]);
|
|
22
23
|
const turn = useTransform(scrollYProgress, [0, 1], [-52, -38]);
|
|
23
|
-
return (_jsxs(Section, { id:
|
|
24
|
+
return (_jsxs(Section, { id: SECTION.touchpoints.id, className: styles.touchpoint, children: [_jsxs("div", { className: styles.copy, children: [_jsx(SectionHeading, { eyebrow: translate(TOUCHPOINT.eyebrow, locale), title: translate(TOUCHPOINT.title, locale) }), _jsx(Reveal, { delay: 0.1, children: _jsx("p", { className: styles.text, children: translate(TOUCHPOINT.text, locale) }) }), _jsx("ol", { className: styles.layers, children: [...TOUCHPOINT.layers].reverse().map((layer, index) => (_jsx(Reveal, { delay: 0.15 + index * 0.06, y: 10, blur: 0, children: _jsxs("li", { children: [_jsx("span", { className: "monospace", children: String(TOUCHPOINT.layers.length - index).padStart(2, "0") }), layer[locale]] }) }, layer.key))) })] }), _jsx("div", { ref: container, className: styles.stage, "aria-hidden": true, children: _jsx("div", { ref: tilt, className: styles.tilt, children: _jsx(motion.div, { className: styles.stack, style: { "--spread": spread, "--turn": turn }, children: TOUCHPOINT.layers.map((layer, index) => (_jsx(Plate, { layer: layer.key, label: layer[locale], index: index }, layer.key))) }) }) })] }));
|
|
24
25
|
}
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/touchpoint/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,KAAK,EAAE,MAAM,2DAA2D,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAwB;IACzD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,IAAI,GAAG,OAAO,CAAiB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E,yBACE,eAAM,SAAS,EAAC,WAAW,YAAE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EAC7F,KAAK,CAAC,MAAM,CAAC,IACX,IAJM,KAAK,CAAC,GAAG,CAKb,CACV,CAAC,GACC,IACD,EACN,cAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,iCAC1C,cAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,YACpC,KAAC,MAAM,CAAC,GAAG,IAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAW,YACxF,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CACvC,KAAC,KAAK,IAAiB,KAAK,EAAE,KAAK,CAAC,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,KAAK,IAA/D,KAAK,CAAC,GAAG,CAA0D,CAChF,CAAC,GACS,GACT,GACF,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/action/index.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,eAAO,MAAM,MAAM;;;;;CAET,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/action/index.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,YAAY,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,iBAAiB,EAAE;CACtD,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/** "Capabilities": everything each discipline delivers, listed in full (from SERVICES). */
|
|
2
2
|
export declare const CAPABILITY: {
|
|
3
|
-
readonly eyebrow: {
|
|
4
|
-
readonly en: "Capabilities";
|
|
5
|
-
readonly pt: "Capacidades";
|
|
6
|
-
};
|
|
7
3
|
readonly title: {
|
|
8
4
|
readonly en: "Everything, in detail.";
|
|
9
5
|
readonly pt: "Tudo, em detalhe.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/capability/index.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/capability/index.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,eAAO,MAAM,UAAU;;;;;CAEb,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/** "Capabilities": everything each discipline delivers, listed in full (from SERVICES). */
|
|
2
2
|
export const CAPABILITY = {
|
|
3
|
-
eyebrow: { en: "Capabilities", pt: "Capacidades" },
|
|
4
3
|
title: { en: "Everything, in detail.", pt: "Tudo, em detalhe." },
|
|
5
4
|
};
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/capability/index.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/capability/index.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,EAAE,EAAE,EAAE,wBAAwB,EAAE,EAAE,EAAE,mBAAmB,EAAE;CACxD,CAAC"}
|
|
@@ -4,10 +4,6 @@ export declare const CONTACT: {
|
|
|
4
4
|
readonly senderName: "Sharadox Web Application";
|
|
5
5
|
/** First part of the email subject: "Contact • Name (Company)". */
|
|
6
6
|
readonly subject: "Contact";
|
|
7
|
-
readonly eyebrow: {
|
|
8
|
-
readonly en: "Contact";
|
|
9
|
-
readonly pt: "Contacto";
|
|
10
|
-
};
|
|
11
7
|
readonly title: {
|
|
12
8
|
readonly en: "Let's make it simple.";
|
|
13
9
|
readonly pt: "Vamos simplificar.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,eAAO,MAAM,OAAO;IAClB,sFAAsF;;IAEtF,mEAAmE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,eAAO,MAAM,OAAO;IAClB,sFAAsF;;IAEtF,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;QAYjE,+FAA+F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCzF,CAAC;AAEX,8CAA8C;AAC9C,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -4,7 +4,6 @@ export const CONTACT = {
|
|
|
4
4
|
senderName: "Sharadox Web Application",
|
|
5
5
|
/** First part of the email subject: "Contact • Name (Company)". */
|
|
6
6
|
subject: "Contact",
|
|
7
|
-
eyebrow: { en: "Contact", pt: "Contacto" },
|
|
8
7
|
title: { en: "Let's make it simple.", pt: "Vamos simplificar." },
|
|
9
8
|
text: {
|
|
10
9
|
en: "Tell us about your brand and what you need. We'll get back to you shortly.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,sFAAsF;IACtF,UAAU,EAAE,0BAA0B;IACtC,mEAAmE;IACnE,OAAO,EAAE,SAAS;IAClB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/contact/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,sFAAsF;IACtF,UAAU,EAAE,0BAA0B;IACtC,mEAAmE;IACnE,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,EAAE,EAAE,EAAE,uBAAuB,EAAE,EAAE,EAAE,oBAAoB,EAAE;IAChE,IAAI,EAAE;QACJ,EAAE,EAAE,4EAA4E;QAChF,EAAE,EAAE,+DAA+D;KACpE;IACD,IAAI,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE;IAChC,KAAK,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE;IACnC,OAAO,EAAE,EAAE,EAAE,EAAE,oBAAoB,EAAE,EAAE,EAAE,oBAAoB,EAAE;IAC/D,KAAK,EAAE;QACL,KAAK,EAAE,EAAE,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE,iBAAiB,EAAE;QACzD,+FAA+F;QAC/F,OAAO,EAAE;YACP,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE;YAChD,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,YAAY,EAAE;YACrD,EAAE,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,WAAW,EAAE;YACxD,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE;YAC3C,EAAE,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,eAAe,EAAE;YAChE,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,UAAU,EAAE;YACzC,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE;SAC7C;KACF;IACD,OAAO,EAAE,EAAE,EAAE,EAAE,4BAA4B,EAAE,EAAE,EAAE,yBAAyB,EAAE;IAC5E,IAAI,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE;IACnD,OAAO,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,WAAW,EAAE;IAC5C,IAAI,EAAE;QACJ,EAAE,EAAE,iEAAiE;QACrE,EAAE,EAAE,yEAAyE;KAC9E;IACD,MAAM,EAAE;QACN,OAAO,EAAE;YACP,EAAE,EAAE,wDAAwD;YAC5D,EAAE,EAAE,gDAAgD;SACrD;QACD,cAAc,EAAE;YACd,EAAE,EAAE,iEAAiE;YACrE,EAAE,EAAE,uDAAuD;SAC5D;QACD,MAAM,EAAE;YACN,EAAE,EAAE,iEAAiE;YACrE,EAAE,EAAE,yDAAyD;SAC9D;KACF;IACD,MAAM,EAAE,EAAE,EAAE,EAAE,yBAAyB,EAAE,EAAE,EAAE,4BAA4B,EAAE;CACnE,CAAC"}
|
|
@@ -8,17 +8,9 @@ export declare const FOOTER: {
|
|
|
8
8
|
readonly en: "Back to top";
|
|
9
9
|
readonly pt: "Voltar ao topo";
|
|
10
10
|
};
|
|
11
|
-
readonly services: {
|
|
12
|
-
readonly en: "Services";
|
|
13
|
-
readonly pt: "Serviços";
|
|
14
|
-
};
|
|
15
11
|
readonly studio: {
|
|
16
12
|
readonly en: "Studio";
|
|
17
13
|
readonly pt: "Estúdio";
|
|
18
14
|
};
|
|
19
|
-
readonly language: {
|
|
20
|
-
readonly en: "Language";
|
|
21
|
-
readonly pt: "Idioma";
|
|
22
|
-
};
|
|
23
15
|
};
|
|
24
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAIT,CAAC"}
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
export const FOOTER = {
|
|
3
3
|
rights: { en: "All rights reserved.", pt: "Todos os direitos reservados." },
|
|
4
4
|
top: { en: "Back to top", pt: "Voltar ao topo" },
|
|
5
|
-
services: { en: "Services", pt: "Serviços" },
|
|
6
5
|
studio: { en: "Studio", pt: "Estúdio" },
|
|
7
|
-
language: { en: "Language", pt: "Idioma" },
|
|
8
6
|
};
|
|
9
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,EAAE,EAAE,EAAE,sBAAsB,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC3E,GAAG,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,gBAAgB,EAAE;IAChD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/footer/index.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,EAAE,EAAE,EAAE,sBAAsB,EAAE,EAAE,EAAE,+BAA+B,EAAE;IAC3E,GAAG,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,gBAAgB,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE;CAC/B,CAAC"}
|
|
@@ -4,18 +4,10 @@ export declare const HERO: {
|
|
|
4
4
|
readonly en: string;
|
|
5
5
|
readonly pt: string;
|
|
6
6
|
};
|
|
7
|
-
readonly lines: {
|
|
8
|
-
readonly en: readonly ["Technologies", "that simplify", "the world."];
|
|
9
|
-
readonly pt: readonly ["Tecnologias", "que simplificam", "o mundo."];
|
|
10
|
-
};
|
|
11
7
|
readonly subtitle: {
|
|
12
8
|
readonly en: "One studio for your whole brand — identity, websites, platforms, apps, social media and campaigns, designed, built and grown as one.";
|
|
13
9
|
readonly pt: "Um só estúdio para toda a sua marca — identidade, websites, plataformas, aplicações, redes sociais e campanhas, desenhados, construídos e geridos como um todo.";
|
|
14
10
|
};
|
|
15
|
-
readonly primary: {
|
|
16
|
-
readonly en: "Start a Project";
|
|
17
|
-
readonly pt: "Iniciar Projeto";
|
|
18
|
-
};
|
|
19
11
|
readonly secondary: {
|
|
20
12
|
readonly en: "Explore Services";
|
|
21
13
|
readonly pt: "Ver Serviços";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/hero/index.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/hero/index.ts"],"names":[],"mappings":"AAEA,yFAAyF;AACzF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;CAWP,CAAC"}
|
|
@@ -5,15 +5,10 @@ export const HERO = {
|
|
|
5
5
|
en: separate("Algarve, Portugal", "working worldwide"),
|
|
6
6
|
pt: separate("Algarve, Portugal", "para o mundo inteiro"),
|
|
7
7
|
},
|
|
8
|
-
lines: {
|
|
9
|
-
en: ["Technologies", "that simplify", "the world."],
|
|
10
|
-
pt: ["Tecnologias", "que simplificam", "o mundo."],
|
|
11
|
-
},
|
|
12
8
|
subtitle: {
|
|
13
9
|
en: "One studio for your whole brand — identity, websites, platforms, apps, social media and campaigns, designed, built and grown as one.",
|
|
14
10
|
pt: "Um só estúdio para toda a sua marca — identidade, websites, plataformas, aplicações, redes sociais e campanhas, desenhados, construídos e geridos como um todo.",
|
|
15
11
|
},
|
|
16
|
-
primary: { en: "Start a Project", pt: "Iniciar Projeto" },
|
|
17
12
|
secondary: { en: "Explore Services", pt: "Ver Serviços" },
|
|
18
13
|
drag: { en: "Drag to explore", pt: "Arraste para explorar" },
|
|
19
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/hero/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAE3E,yFAAyF;AACzF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE;QACP,EAAE,EAAE,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;QACtD,EAAE,EAAE,QAAQ,CAAC,mBAAmB,EAAE,sBAAsB,CAAC;KAC1D;IACD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/hero/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAE3E,yFAAyF;AACzF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE;QACP,EAAE,EAAE,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;QACtD,EAAE,EAAE,QAAQ,CAAC,mBAAmB,EAAE,sBAAsB,CAAC;KAC1D;IACD,QAAQ,EAAE;QACR,EAAE,EAAE,sIAAsI;QAC1I,EAAE,EAAE,iKAAiK;KACtK;IACD,SAAS,EAAE,EAAE,EAAE,EAAE,kBAAkB,EAAE,EAAE,EAAE,cAAc,EAAE;IACzD,IAAI,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,EAAE,uBAAuB,EAAE;CACpD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** How languages are named on the site: the switches' label, and each language in its own words. */
|
|
2
|
+
export declare const LANGUAGE: {
|
|
3
|
+
readonly label: {
|
|
4
|
+
readonly en: "Language";
|
|
5
|
+
readonly pt: "Idioma";
|
|
6
|
+
};
|
|
7
|
+
readonly names: {
|
|
8
|
+
en: string;
|
|
9
|
+
pt: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/language/index.ts"],"names":[],"mappings":"AAEA,oGAAoG;AACpG,eAAO,MAAM,QAAQ;;;;;;;;;CAGX,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/language/index.ts"],"names":[],"mappings":"AAEA,oGAAoG;AACpG,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE;IACvC,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAmC;CAClE,CAAC"}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** The sections the top navigation links to, in order. */
|
|
2
2
|
export declare const NAVIGATION: {
|
|
3
|
-
readonly
|
|
3
|
+
readonly links: readonly [{
|
|
4
|
+
readonly id: "services";
|
|
4
5
|
readonly en: "Services";
|
|
5
6
|
readonly pt: "Serviços";
|
|
6
|
-
}
|
|
7
|
-
|
|
7
|
+
}, {
|
|
8
|
+
readonly id: "capabilities";
|
|
8
9
|
readonly en: "Capabilities";
|
|
9
10
|
readonly pt: "Capacidades";
|
|
10
|
-
}
|
|
11
|
-
|
|
11
|
+
}, {
|
|
12
|
+
readonly id: "process";
|
|
12
13
|
readonly en: "Process";
|
|
13
14
|
readonly pt: "Processo";
|
|
14
|
-
}
|
|
15
|
-
|
|
15
|
+
}, {
|
|
16
|
+
readonly id: "contact";
|
|
16
17
|
readonly en: "Contact";
|
|
17
18
|
readonly pt: "Contacto";
|
|
18
|
-
};
|
|
19
|
-
readonly callToAction: {
|
|
20
|
-
readonly en: "Start a Project";
|
|
21
|
-
readonly pt: "Iniciar Projeto";
|
|
22
|
-
};
|
|
23
|
-
readonly language: {
|
|
24
|
-
readonly en: "Language";
|
|
25
|
-
readonly pt: "Idioma";
|
|
26
|
-
};
|
|
19
|
+
}];
|
|
27
20
|
};
|
|
28
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAEA,0DAA0D;AAC1D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;CAEb,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
2
|
+
/** The sections the top navigation links to, in order. */
|
|
2
3
|
export const NAVIGATION = {
|
|
3
|
-
|
|
4
|
-
capabilities: { en: "Capabilities", pt: "Capacidades" },
|
|
5
|
-
process: { en: "Process", pt: "Processo" },
|
|
6
|
-
contact: { en: "Contact", pt: "Contacto" },
|
|
7
|
-
callToAction: { en: "Start a Project", pt: "Iniciar Projeto" },
|
|
8
|
-
language: { en: "Language", pt: "Idioma" },
|
|
4
|
+
links: [SECTION.services, SECTION.capabilities, SECTION.process, SECTION.contact],
|
|
9
5
|
};
|
|
10
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/navigation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,0DAA0D;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,YAAY,EAAE,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;CACzE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The home page's sections: element id and name. Navigation, footer, section indicator and section headings all
|
|
3
|
+
* use these names, so a section is renamed in one place.
|
|
4
|
+
*/
|
|
5
|
+
export declare const SECTION: {
|
|
6
|
+
readonly home: {
|
|
7
|
+
readonly id: "home";
|
|
8
|
+
readonly en: "Home";
|
|
9
|
+
readonly pt: "Início";
|
|
10
|
+
};
|
|
11
|
+
readonly services: {
|
|
12
|
+
readonly id: "services";
|
|
13
|
+
readonly en: "Services";
|
|
14
|
+
readonly pt: "Serviços";
|
|
15
|
+
};
|
|
16
|
+
readonly touchpoints: {
|
|
17
|
+
readonly id: "touchpoints";
|
|
18
|
+
readonly en: "One System";
|
|
19
|
+
readonly pt: "Um Só Sistema";
|
|
20
|
+
};
|
|
21
|
+
readonly capabilities: {
|
|
22
|
+
readonly id: "capabilities";
|
|
23
|
+
readonly en: "Capabilities";
|
|
24
|
+
readonly pt: "Capacidades";
|
|
25
|
+
};
|
|
26
|
+
readonly process: {
|
|
27
|
+
readonly id: "process";
|
|
28
|
+
readonly en: "Process";
|
|
29
|
+
readonly pt: "Processo";
|
|
30
|
+
};
|
|
31
|
+
readonly contact: {
|
|
32
|
+
readonly id: "contact";
|
|
33
|
+
readonly en: "Contact";
|
|
34
|
+
readonly pt: "Contacto";
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOV,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The home page's sections: element id and name. Navigation, footer, section indicator and section headings all
|
|
3
|
+
* use these names, so a section is renamed in one place.
|
|
4
|
+
*/
|
|
5
|
+
export const SECTION = {
|
|
6
|
+
home: { id: "home", en: "Home", pt: "Início" },
|
|
7
|
+
services: { id: "services", en: "Services", pt: "Serviços" },
|
|
8
|
+
touchpoints: { id: "touchpoints", en: "One System", pt: "Um Só Sistema" },
|
|
9
|
+
capabilities: { id: "capabilities", en: "Capabilities", pt: "Capacidades" },
|
|
10
|
+
process: { id: "process", en: "Process", pt: "Processo" },
|
|
11
|
+
contact: { id: "contact", en: "Contact", pt: "Contacto" },
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/section/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,IAAI,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE;IAC9C,QAAQ,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;IAC5D,WAAW,EAAE,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,EAAE,eAAe,EAAE;IACzE,YAAY,EAAE,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,aAAa,EAAE;IAC3E,OAAO,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE;IACzD,OAAO,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE;CACjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAEA,4DAA4D;AAC5D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUpB,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
2
|
+
/** The sections the side indicator lists, in page order. */
|
|
2
3
|
export const SECTION_INDICATOR = {
|
|
3
4
|
label: { en: "Sections", pt: "Secções" },
|
|
4
5
|
sections: [
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
SECTION.home,
|
|
7
|
+
SECTION.services,
|
|
8
|
+
SECTION.touchpoints,
|
|
9
|
+
SECTION.capabilities,
|
|
10
|
+
SECTION.process,
|
|
11
|
+
SECTION.contact,
|
|
11
12
|
],
|
|
12
13
|
};
|
|
13
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/section-indicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AAEzE,4DAA4D;AAC5D,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,SAAS,EAAE;IACxC,QAAQ,EAAE;QACR,OAAO,CAAC,IAAI;QACZ,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,WAAW;QACnB,OAAO,CAAC,YAAY;QACpB,OAAO,CAAC,OAAO;QACf,OAAO,CAAC,OAAO;KAChB;CACO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,eAAO,MAAM,IAAI;;;;;;;;;;;;CAoChB,CAAC"}
|
|
@@ -3,10 +3,6 @@ export const SITE = {
|
|
|
3
3
|
name: "Sharadox",
|
|
4
4
|
url: "https://sharadox.com",
|
|
5
5
|
email: "contact@sharadox.com",
|
|
6
|
-
slogan: {
|
|
7
|
-
en: "Technologies that simplify the world",
|
|
8
|
-
pt: "Tecnologias que simplificam o mundo",
|
|
9
|
-
},
|
|
10
6
|
description: {
|
|
11
7
|
en: "Sharadox is a brand studio: graphic design, websites and platforms, mobile apps, social media and marketing campaigns, made simple. Based in the Algarve, Portugal, working worldwide.",
|
|
12
8
|
pt: "A Sharadox é um estúdio de marca: design gráfico, websites e plataformas, aplicações móveis, redes sociais e campanhas de marketing, tornados simples. No Algarve, Portugal, para o mundo.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,IAAI,EAAE,UAAU;IAChB,GAAG,EAAE,sBAAsB;IAC3B,KAAK,EAAE,sBAAsB;IAC7B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/site/index.ts"],"names":[],"mappings":"AAEA,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,17 @@
|
|
|
1
|
+
/** The Sharadox slogan in the lines the hero sets it on; the single source of its words. */
|
|
2
|
+
export declare const SLOGAN_LINES: {
|
|
3
|
+
readonly en: readonly ["Technologies", "that simplify", "the world."];
|
|
4
|
+
readonly pt: readonly ["Tecnologias", "que simplificam", "o mundo."];
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* The Sharadox slogan as one sentence, always with its full stop: page titles, footer, share card, structured
|
|
8
|
+
* data and the app manifest all use it.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* translate(SLOGAN, "en"); // "Technologies that simplify the world."
|
|
12
|
+
*/
|
|
13
|
+
export declare const SLOGAN: {
|
|
14
|
+
en: string;
|
|
15
|
+
pt: string;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/content/slogan/index.ts"],"names":[],"mappings":"AAEA,4FAA4F;AAC5F,eAAO,MAAM,YAAY;;;CAG6B,CAAC;AAEvD;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;;;CAGG,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** The Sharadox slogan in the lines the hero sets it on; the single source of its words. */
|
|
2
|
+
export const SLOGAN_LINES = {
|
|
3
|
+
en: ["Technologies", "that simplify", "the world."],
|
|
4
|
+
pt: ["Tecnologias", "que simplificam", "o mundo."],
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* The Sharadox slogan as one sentence, always with its full stop: page titles, footer, share card, structured
|
|
8
|
+
* data and the app manifest all use it.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* translate(SLOGAN, "en"); // "Technologies that simplify the world."
|
|
12
|
+
*/
|
|
13
|
+
export const SLOGAN = {
|
|
14
|
+
en: SLOGAN_LINES.en.join(" "),
|
|
15
|
+
pt: SLOGAN_LINES.pt.join(" "),
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/content/slogan/index.ts"],"names":[],"mappings":"AAEA,4FAA4F;AAC5F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE,CAAC,cAAc,EAAE,eAAe,EAAE,YAAY,CAAC;IACnD,EAAE,EAAE,CAAC,aAAa,EAAE,iBAAiB,EAAE,UAAU,CAAC;CACE,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,EAAE,EAAE,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;IAC7B,EAAE,EAAE,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC;CACT,CAAC"}
|
package/llms.txt
CHANGED
|
@@ -11,3 +11,4 @@
|
|
|
11
11
|
- component/licence Licence({ locale, markdown }) renders the licence page body (marked); content/licence LICENCE { path "/licence", title, eyebrow, description }
|
|
12
12
|
- Navigation, Footer and LanguageSwitch take path? (e.g. "/licence"): section links go to /<locale>#section, language links stay on the page; the footer links to the licence 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 favour 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.10.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",
|