@sharadox/sharadox-web-library 0.3.0 → 0.5.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 +4 -2
- package/distribution/action/send-contact/index.d.ts.map +1 -1
- package/distribution/action/send-contact/index.js +5 -3
- package/distribution/action/send-contact/index.js.map +1 -1
- package/distribution/component/button/index.d.ts +1 -1
- package/distribution/component/button/index.d.ts.map +1 -1
- package/distribution/component/button/index.js +2 -2
- package/distribution/component/button/index.js.map +1 -1
- package/distribution/component/button/index.module.css +11 -8
- package/distribution/component/button/type.d.ts +1 -1
- package/distribution/component/capability/index.d.ts +4 -0
- package/distribution/component/capability/index.d.ts.map +1 -0
- package/distribution/component/capability/index.js +14 -0
- package/distribution/component/capability/index.js.map +1 -0
- package/distribution/component/capability/index.module.css +94 -0
- package/distribution/component/{services/application-visual → capability}/type.d.ts +1 -1
- package/distribution/component/capability/type.d.ts.map +1 -0
- package/distribution/component/capability/type.js.map +1 -0
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +1 -1
- package/distribution/component/contact/form/index.js.map +1 -1
- package/distribution/component/contact/form/index.module.css +67 -7
- package/distribution/component/contact/index.module.css +2 -2
- package/distribution/component/cross/index.d.ts +4 -0
- package/distribution/component/cross/index.d.ts.map +1 -0
- package/distribution/component/cross/index.js +7 -0
- package/distribution/component/cross/index.js.map +1 -0
- package/distribution/component/cross/index.module.css +53 -0
- package/distribution/component/cross/type.d.ts +6 -0
- package/distribution/component/cross/type.d.ts.map +1 -0
- package/distribution/component/cross/type.js.map +1 -0
- package/distribution/component/cursor/index.js +1 -1
- package/distribution/component/cursor/index.js.map +1 -1
- package/distribution/component/cursor/index.module.css +3 -1
- package/distribution/component/footer/index.d.ts +1 -1
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +12 -5
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +88 -22
- package/distribution/component/globe/arc/index.d.ts +1 -1
- package/distribution/component/globe/arc/index.d.ts.map +1 -1
- package/distribution/component/globe/arc/index.js +4 -4
- package/distribution/component/globe/arc/index.js.map +1 -1
- package/distribution/component/globe/arc/type.d.ts +2 -0
- package/distribution/component/globe/arc/type.d.ts.map +1 -1
- package/distribution/component/globe/color/index.d.ts +4 -0
- package/distribution/component/globe/color/index.d.ts.map +1 -0
- package/distribution/component/globe/color/index.js +16 -0
- package/distribution/component/globe/color/index.js.map +1 -0
- package/distribution/component/globe/color/type.d.ts +13 -0
- package/distribution/component/globe/color/type.d.ts.map +1 -0
- package/distribution/component/globe/color/type.js +2 -0
- package/distribution/component/globe/color/type.js.map +1 -0
- package/distribution/component/globe/dots/index.d.ts +1 -1
- package/distribution/component/globe/dots/index.d.ts.map +1 -1
- package/distribution/component/globe/dots/index.js +6 -2
- package/distribution/component/globe/dots/index.js.map +1 -1
- package/distribution/component/globe/dots/type.d.ts +2 -0
- package/distribution/component/globe/dots/type.d.ts.map +1 -1
- package/distribution/component/globe/index.d.ts +1 -1
- package/distribution/component/globe/index.d.ts.map +1 -1
- package/distribution/component/globe/index.js +8 -3
- package/distribution/component/globe/index.js.map +1 -1
- package/distribution/component/globe/index.module.css +3 -3
- package/distribution/component/globe/marker/index.d.ts +1 -1
- package/distribution/component/globe/marker/index.d.ts.map +1 -1
- package/distribution/component/globe/marker/index.js +2 -2
- package/distribution/component/globe/marker/index.js.map +1 -1
- package/distribution/component/globe/marker/type.d.ts +2 -0
- package/distribution/component/globe/marker/type.d.ts.map +1 -1
- package/distribution/component/globe/shader/arc/index.d.ts.map +1 -1
- package/distribution/component/globe/shader/arc/index.js +2 -1
- package/distribution/component/globe/shader/arc/index.js.map +1 -1
- package/distribution/component/globe/shader/atmosphere/index.d.ts.map +1 -1
- package/distribution/component/globe/shader/atmosphere/index.js +2 -1
- package/distribution/component/globe/shader/atmosphere/index.js.map +1 -1
- package/distribution/component/globe/shader/body/index.d.ts +1 -1
- package/distribution/component/globe/shader/body/index.d.ts.map +1 -1
- package/distribution/component/globe/shader/body/index.js +4 -2
- package/distribution/component/globe/shader/body/index.js.map +1 -1
- package/distribution/component/globe/shader/dot/index.d.ts.map +1 -1
- package/distribution/component/globe/shader/dot/index.js +2 -1
- package/distribution/component/globe/shader/dot/index.js.map +1 -1
- package/distribution/component/globe/world/index.d.ts +1 -1
- package/distribution/component/globe/world/index.d.ts.map +1 -1
- package/distribution/component/globe/world/index.js +11 -7
- package/distribution/component/globe/world/index.js.map +1 -1
- package/distribution/component/globe/world/type.d.ts +2 -0
- package/distribution/component/globe/world/type.d.ts.map +1 -1
- package/distribution/component/hero/guide/index.d.ts +6 -0
- package/distribution/component/hero/guide/index.d.ts.map +1 -0
- package/distribution/component/hero/guide/index.js +12 -0
- package/distribution/component/hero/guide/index.js.map +1 -0
- package/distribution/component/hero/guide/index.module.css +97 -0
- package/distribution/component/hero/index.d.ts +1 -1
- package/distribution/component/hero/index.d.ts.map +1 -1
- package/distribution/component/hero/index.js +4 -2
- package/distribution/component/hero/index.js.map +1 -1
- package/distribution/component/hero/index.module.css +23 -29
- package/distribution/component/language-switch/index.d.ts +1 -1
- package/distribution/component/language-switch/index.d.ts.map +1 -1
- package/distribution/component/language-switch/index.js +5 -3
- package/distribution/component/language-switch/index.js.map +1 -1
- package/distribution/component/language-switch/index.module.css +6 -3
- package/distribution/component/locale-link/index.d.ts +4 -0
- package/distribution/component/locale-link/index.d.ts.map +1 -0
- package/distribution/component/locale-link/index.js +9 -0
- package/distribution/component/locale-link/index.js.map +1 -0
- package/distribution/component/locale-link/type.d.ts +10 -0
- package/distribution/component/locale-link/type.d.ts.map +1 -0
- package/distribution/component/locale-link/type.js +2 -0
- package/distribution/component/locale-link/type.js.map +1 -0
- package/distribution/component/marquee/index.d.ts +2 -2
- package/distribution/component/marquee/index.d.ts.map +1 -1
- package/distribution/component/marquee/index.js +6 -3
- package/distribution/component/marquee/index.js.map +1 -1
- package/distribution/component/marquee/index.module.css +17 -14
- package/distribution/component/navigation/index.d.ts +1 -1
- package/distribution/component/navigation/index.d.ts.map +1 -1
- package/distribution/component/navigation/index.js +4 -2
- package/distribution/component/navigation/index.js.map +1 -1
- package/distribution/component/navigation/index.module.css +32 -7
- package/distribution/component/process/index.module.css +3 -3
- package/distribution/component/process/step/index.module.css +2 -2
- package/distribution/component/section/index.d.ts +5 -2
- package/distribution/component/section/index.d.ts.map +1 -1
- package/distribution/component/section/index.js +8 -4
- package/distribution/component/section/index.js.map +1 -1
- package/distribution/component/section/index.module.css +32 -3
- package/distribution/component/section/type.d.ts +5 -1
- package/distribution/component/section/type.d.ts.map +1 -1
- package/distribution/component/service-index/index.d.ts +4 -0
- package/distribution/component/service-index/index.d.ts.map +1 -0
- package/distribution/component/service-index/index.js +11 -0
- package/distribution/component/service-index/index.js.map +1 -0
- package/distribution/component/service-index/index.module.css +88 -0
- package/distribution/component/service-index/type.d.ts +5 -0
- package/distribution/component/service-index/type.d.ts.map +1 -0
- package/distribution/component/service-index/type.js +2 -0
- package/distribution/component/service-index/type.js.map +1 -0
- package/distribution/component/services/campaign-visual/index.d.ts +4 -0
- package/distribution/component/services/campaign-visual/index.d.ts.map +1 -0
- package/distribution/component/services/campaign-visual/index.js +18 -0
- package/distribution/component/services/campaign-visual/index.js.map +1 -0
- package/distribution/component/services/campaign-visual/index.module.css +128 -0
- package/distribution/component/services/campaign-visual/stage/index.d.ts +4 -0
- package/distribution/component/services/campaign-visual/stage/index.d.ts.map +1 -0
- package/distribution/component/services/campaign-visual/stage/index.js +11 -0
- package/distribution/component/services/campaign-visual/stage/index.js.map +1 -0
- package/distribution/component/services/campaign-visual/stage/type.d.ts +10 -0
- package/distribution/component/services/campaign-visual/stage/type.d.ts.map +1 -0
- package/distribution/component/services/campaign-visual/stage/type.js +2 -0
- package/distribution/component/services/campaign-visual/stage/type.js.map +1 -0
- package/distribution/component/services/campaign-visual/type.d.ts +5 -0
- package/distribution/component/services/campaign-visual/type.d.ts.map +1 -0
- package/distribution/component/services/campaign-visual/type.js +2 -0
- package/distribution/component/services/campaign-visual/type.js.map +1 -0
- package/distribution/component/services/cell/index.d.ts +7 -0
- package/distribution/component/services/cell/index.d.ts.map +1 -0
- package/distribution/component/services/cell/index.js +15 -0
- package/distribution/component/services/cell/index.js.map +1 -0
- package/distribution/component/services/cell/index.module.css +86 -0
- package/distribution/component/services/cell/type.d.ts +14 -0
- package/distribution/component/services/cell/type.d.ts.map +1 -0
- package/distribution/component/services/cell/type.js +2 -0
- package/distribution/component/services/cell/type.js.map +1 -0
- package/distribution/component/services/design-visual/index.d.ts +5 -0
- package/distribution/component/services/design-visual/index.d.ts.map +1 -0
- package/distribution/component/services/design-visual/index.js +20 -0
- package/distribution/component/services/design-visual/index.js.map +1 -0
- package/distribution/component/services/design-visual/index.module.css +130 -0
- package/distribution/component/services/index.d.ts +1 -1
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +16 -10
- package/distribution/component/services/index.js.map +1 -1
- package/distribution/component/services/index.module.css +73 -8
- package/distribution/component/services/mobile-visual/index.d.ts +4 -0
- package/distribution/component/services/mobile-visual/index.d.ts.map +1 -0
- package/distribution/component/services/{application-visual → mobile-visual}/index.js +1 -1
- package/distribution/component/services/mobile-visual/index.js.map +1 -0
- package/distribution/component/services/{application-visual → mobile-visual}/index.module.css +15 -6
- package/distribution/component/services/mobile-visual/type.d.ts +5 -0
- package/distribution/component/services/mobile-visual/type.d.ts.map +1 -0
- package/distribution/component/services/mobile-visual/type.js +2 -0
- package/distribution/component/services/mobile-visual/type.js.map +1 -0
- package/distribution/component/services/platform-visual/index.js +1 -1
- package/distribution/component/services/platform-visual/index.js.map +1 -1
- package/distribution/component/services/platform-visual/index.module.css +8 -8
- package/distribution/component/services/social-visual/index.d.ts +4 -0
- package/distribution/component/services/social-visual/index.d.ts.map +1 -0
- package/distribution/component/services/social-visual/index.js +17 -0
- package/distribution/component/services/social-visual/index.js.map +1 -0
- package/distribution/component/services/social-visual/index.module.css +131 -0
- package/distribution/component/services/social-visual/type.d.ts +5 -0
- package/distribution/component/services/social-visual/type.d.ts.map +1 -0
- package/distribution/component/services/social-visual/type.js +2 -0
- package/distribution/component/services/social-visual/type.js.map +1 -0
- package/distribution/component/services/web-visual/index.module.css +19 -11
- package/distribution/component/statement/index.d.ts.map +1 -1
- package/distribution/component/statement/index.js +2 -1
- package/distribution/component/statement/index.js.map +1 -1
- package/distribution/component/statement/index.module.css +1 -3
- package/distribution/component/structured-data/index.d.ts +1 -1
- package/distribution/component/structured-data/index.d.ts.map +1 -1
- package/distribution/component/structured-data/index.js +28 -2
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/component/style-switch/index.d.ts +7 -0
- package/distribution/component/style-switch/index.d.ts.map +1 -0
- package/distribution/component/style-switch/index.js +34 -0
- package/distribution/component/style-switch/index.js.map +1 -0
- package/distribution/component/style-switch/index.module.css +36 -0
- package/distribution/component/style-switch/type.d.ts +6 -0
- package/distribution/component/style-switch/type.d.ts.map +1 -0
- package/distribution/component/style-switch/type.js +2 -0
- package/distribution/component/style-switch/type.js.map +1 -0
- package/distribution/component/touchpoint/index.d.ts +7 -0
- package/distribution/component/touchpoint/index.d.ts.map +1 -0
- package/distribution/component/touchpoint/index.js +25 -0
- package/distribution/component/touchpoint/index.js.map +1 -0
- package/distribution/component/touchpoint/index.module.css +85 -0
- package/distribution/component/touchpoint/plate/index.d.ts +4 -0
- package/distribution/component/touchpoint/plate/index.d.ts.map +1 -0
- package/distribution/component/touchpoint/plate/index.js +9 -0
- package/distribution/component/touchpoint/plate/index.js.map +1 -0
- package/distribution/component/touchpoint/plate/index.module.css +136 -0
- package/distribution/component/touchpoint/plate/type.d.ts +8 -0
- package/distribution/component/touchpoint/plate/type.d.ts.map +1 -0
- package/distribution/component/touchpoint/plate/type.js +2 -0
- package/distribution/component/touchpoint/plate/type.js.map +1 -0
- package/distribution/component/touchpoint/type.d.ts +5 -0
- package/distribution/component/touchpoint/type.d.ts.map +1 -0
- package/distribution/component/touchpoint/type.js +2 -0
- package/distribution/component/touchpoint/type.js.map +1 -0
- package/distribution/component/wordmark/index.module.css +2 -2
- package/distribution/content/capability/index.d.ts +12 -0
- package/distribution/content/capability/index.d.ts.map +1 -0
- package/distribution/content/capability/index.js +6 -0
- package/distribution/content/capability/index.js.map +1 -0
- package/distribution/content/contact/index.d.ts +46 -6
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +19 -4
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/footer/index.d.ts +12 -0
- package/distribution/content/footer/index.d.ts.map +1 -1
- package/distribution/content/footer/index.js +3 -0
- package/distribution/content/footer/index.js.map +1 -1
- package/distribution/content/hero/index.d.ts +6 -6
- package/distribution/content/hero/index.js +4 -4
- package/distribution/content/hero/index.js.map +1 -1
- package/distribution/content/navigation/index.d.ts +10 -2
- package/distribution/content/navigation/index.d.ts.map +1 -1
- package/distribution/content/navigation/index.js +3 -1
- package/distribution/content/navigation/index.js.map +1 -1
- package/distribution/content/process/index.d.ts +7 -7
- package/distribution/content/process/index.d.ts.map +1 -1
- package/distribution/content/process/index.js +8 -5
- package/distribution/content/process/index.js.map +1 -1
- package/distribution/content/separator/index.d.ts +2 -5
- package/distribution/content/separator/index.d.ts.map +1 -1
- package/distribution/content/separator/index.js +2 -5
- package/distribution/content/separator/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +120 -29
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +146 -21
- package/distribution/content/services/index.js.map +1 -1
- package/distribution/content/site/index.d.ts.map +1 -1
- package/distribution/content/site/index.js +28 -4
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/content/stack/index.d.ts +2 -2
- package/distribution/content/stack/index.d.ts.map +1 -1
- package/distribution/content/stack/index.js +8 -1
- package/distribution/content/stack/index.js.map +1 -1
- package/distribution/content/statement/index.d.ts +2 -2
- package/distribution/content/statement/index.js +2 -2
- package/distribution/content/statement/index.js.map +1 -1
- package/distribution/content/style/index.d.ts +59 -0
- package/distribution/content/style/index.d.ts.map +1 -0
- package/distribution/content/style/index.js +48 -0
- package/distribution/content/style/index.js.map +1 -0
- package/distribution/content/touchpoint/index.d.ts +37 -0
- package/distribution/content/touchpoint/index.d.ts.map +1 -0
- package/distribution/content/touchpoint/index.js +17 -0
- package/distribution/content/touchpoint/index.js.map +1 -0
- package/distribution/style/token/index.scss +33 -2
- package/distribution/utility/hex-channel/index.d.ts +3 -0
- package/distribution/utility/hex-channel/index.d.ts.map +1 -0
- package/distribution/utility/hex-channel/index.js +8 -0
- package/distribution/utility/hex-channel/index.js.map +1 -0
- package/distribution/utility/parse-contact/index.d.ts.map +1 -1
- package/distribution/utility/parse-contact/index.js +4 -0
- package/distribution/utility/parse-contact/index.js.map +1 -1
- package/distribution/utility/parse-contact/type.d.ts +3 -0
- package/distribution/utility/parse-contact/type.d.ts.map +1 -1
- package/package.json +2 -2
- package/distribution/component/services/application-visual/index.d.ts +0 -4
- package/distribution/component/services/application-visual/index.d.ts.map +0 -1
- package/distribution/component/services/application-visual/index.js.map +0 -1
- package/distribution/component/services/application-visual/type.d.ts.map +0 -1
- package/distribution/component/services/application-visual/type.js.map +0 -1
- package/distribution/component/services/card/index.d.ts +0 -4
- package/distribution/component/services/card/index.d.ts.map +0 -1
- package/distribution/component/services/card/index.js +0 -10
- package/distribution/component/services/card/index.js.map +0 -1
- package/distribution/component/services/card/index.module.css +0 -92
- package/distribution/component/services/card/type.d.ts +0 -12
- package/distribution/component/services/card/type.d.ts.map +0 -1
- package/distribution/component/services/card/type.js.map +0 -1
- /package/distribution/component/{services/application-visual → capability}/type.js +0 -0
- /package/distribution/component/{services/card → cross}/type.js +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useSpotlight } from "@sharadox/web-library/pointer/spotlight";
|
|
4
|
+
import { useTilt } from "@sharadox/web-library/pointer/tilt";
|
|
5
|
+
import styles from "./index.module.css";
|
|
6
|
+
/**
|
|
7
|
+
* One discipline in the services grid: its live visual (which tilts in 3D towards the pointer), number, kinds and
|
|
8
|
+
* copy, with a light that follows the pointer.
|
|
9
|
+
*/
|
|
10
|
+
export function Cell({ id, visual, number, kinds, title, lead, text, className }) {
|
|
11
|
+
const spotlight = useSpotlight();
|
|
12
|
+
const tilt = useTilt(5);
|
|
13
|
+
return (_jsxs("article", { id: id, ref: spotlight, className: [styles.cell, className].filter(Boolean).join(" "), children: [_jsx("div", { ref: tilt, className: styles.visual, children: _jsx("div", { className: styles.stage, children: visual }) }), _jsxs("div", { className: styles.copy, children: [_jsxs("div", { className: styles.meta, children: [_jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("ul", { className: styles.kinds, children: kinds.map((kind) => (_jsx("li", { className: "monospace", children: kind }, kind))) })] }), _jsx("h3", { children: title }), _jsx("p", { className: styles.lead, children: lead }), _jsx("p", { children: text })] })] }));
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAkB;IAC9F,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,CAAC,CAAC,CAAC;IACxC,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAC5F,cAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,YACtC,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,MAAM,GAAO,GACxC,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,GAAQ,EAC9D,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YACxB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,aAAe,SAAS,EAAC,WAAW,YACjC,IAAI,IADE,IAAI,CAER,CACN,CAAC,GACC,IACD,EACN,uBAAK,KAAK,GAAM,EAChB,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAK,EACrC,sBAAI,IAAI,GAAK,IACT,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
.cell {
|
|
2
|
+
--pointer-x: -500px;
|
|
3
|
+
--pointer-y: -500px;
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background: var(--background);
|
|
8
|
+
isolation: isolate;
|
|
9
|
+
scroll-margin-top: 80px;
|
|
10
|
+
}
|
|
11
|
+
.cell::before {
|
|
12
|
+
content: "";
|
|
13
|
+
position: absolute;
|
|
14
|
+
inset: 0;
|
|
15
|
+
z-index: -1;
|
|
16
|
+
background: radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 6%, transparent), transparent 60%);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.visual {
|
|
20
|
+
--tilt-x: 0deg;
|
|
21
|
+
--tilt-y: 0deg;
|
|
22
|
+
position: relative;
|
|
23
|
+
height: 320px;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
perspective: 1100px;
|
|
26
|
+
border-bottom: 1px dashed var(--line-2);
|
|
27
|
+
background: radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--foreground) 5%, transparent), transparent 70%), radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px;
|
|
28
|
+
}
|
|
29
|
+
@media (max-width: 600px) {
|
|
30
|
+
.visual {
|
|
31
|
+
height: 280px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.stage {
|
|
36
|
+
position: absolute;
|
|
37
|
+
inset: 0;
|
|
38
|
+
transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
|
|
39
|
+
transform-style: preserve-3d;
|
|
40
|
+
transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.copy {
|
|
44
|
+
padding: 26px 28px 32px;
|
|
45
|
+
display: grid;
|
|
46
|
+
gap: 10px;
|
|
47
|
+
align-content: start;
|
|
48
|
+
}
|
|
49
|
+
.copy p:not(.lead) {
|
|
50
|
+
color: var(--foreground-2);
|
|
51
|
+
max-width: 48ch;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.meta {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
gap: 12px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.number {
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
color: var(--foreground-3);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.kinds {
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-wrap: wrap;
|
|
69
|
+
justify-content: flex-end;
|
|
70
|
+
gap: 6px;
|
|
71
|
+
margin: 0;
|
|
72
|
+
padding: 0;
|
|
73
|
+
list-style: none;
|
|
74
|
+
}
|
|
75
|
+
.kinds li {
|
|
76
|
+
font-size: 11px;
|
|
77
|
+
padding: 4px 9px;
|
|
78
|
+
border-radius: 99px;
|
|
79
|
+
border: 1px solid var(--line-2);
|
|
80
|
+
color: var(--foreground-2);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.lead {
|
|
84
|
+
color: var(--foreground);
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
export interface CellProperties {
|
|
3
|
+
/** Anchor id, so the service index can jump here. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** The live visual on top. */
|
|
6
|
+
visual: ReactNode;
|
|
7
|
+
number: string;
|
|
8
|
+
kinds: readonly string[];
|
|
9
|
+
title: string;
|
|
10
|
+
lead: string;
|
|
11
|
+
text: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/services/cell/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/services/cell/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"AAMA;;GAEG;AACH,wBAAgB,YAAY,gCA0C3B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useInView } from "@sharadox/web-library/animation/in-view";
|
|
4
|
+
import styles from "./index.module.css";
|
|
5
|
+
const SWATCHES = ["var(--foreground)", "var(--foreground-2)", "var(--foreground-3)", "var(--surface)"];
|
|
6
|
+
/**
|
|
7
|
+
* Brand assets floating in 3D: a logo being constructed on its guides, the colour palette and a type specimen.
|
|
8
|
+
*/
|
|
9
|
+
export function DesignVisual() {
|
|
10
|
+
const [container, on] = useInView();
|
|
11
|
+
return (_jsx("div", { ref: container, className: [styles.visual, on && styles.on].filter(Boolean).join(" "), "aria-hidden": true, children: _jsxs("div", { className: styles.scene, children: [_jsx("div", { className: `${styles.card} ${styles.palette}`, children: SWATCHES.map((color, index) => (_jsx("span", { style: { background: color, animationDelay: `${0.3 + index * 0.1}s` } }, color))) }), _jsxs("div", { className: `${styles.card} ${styles.type}`, children: [_jsx("span", { className: styles.specimen, children: "Aa" }), _jsx("span", { className: `${styles.caption} monospace`, children: "Geist" }), _jsx("span", { className: `${styles.glyphs} monospace`, children: "Rr Gg 01" })] }), _jsx("div", { className: `${styles.card} ${styles.mark}`, children: _jsxs("svg", { viewBox: "0 0 120 120", children: [_jsxs("g", { className: styles.guides, children: [_jsx("line", { x1: "0", y1: "60", x2: "120", y2: "60" }), _jsx("line", { x1: "60", y1: "0", x2: "60", y2: "120" }), _jsx("circle", { cx: "60", cy: "60", r: "46" }), _jsx("circle", { cx: "60", cy: "60", r: "28" }), _jsx("line", { x1: "14", y1: "14", x2: "106", y2: "106" }), _jsx("line", { x1: "106", y1: "14", x2: "14", y2: "106" })] }), _jsx("circle", { cx: "60", cy: "60", r: "34", className: styles.outer, pathLength: 1 }), _jsx("ellipse", { cx: "60", cy: "60", rx: "18", ry: "34", className: styles.inner, pathLength: 1 }), [
|
|
12
|
+
[60, 26],
|
|
13
|
+
[94, 60],
|
|
14
|
+
[60, 94],
|
|
15
|
+
[26, 60],
|
|
16
|
+
[42, 60],
|
|
17
|
+
[78, 60],
|
|
18
|
+
].map(([x, y]) => (_jsx("rect", { x: x - 2.5, y: y - 2.5, width: "5", height: "5", className: styles.anchor }, `${x}-${y}`)))] }) })] }) }));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,MAAM,QAAQ,GAAG,CAAC,mBAAmB,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC,CAAC;AAEvG;;GAEG;AACH,MAAM,UAAU,YAAY;IAC1B,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,EAAkB,CAAC;IACpD,OAAO,CACL,cAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,iCACxF,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,EAAE,YAC/C,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,eAAkB,KAAK,EAAE,EAAE,UAA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SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,GAAI,EACzE,kBAAS,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,GAAI,EAClF;gCACC,CAAC,EAAE,EAAE,EAAE,CAAC;gCACR,CAAC,EAAE,EAAE,EAAE,CAAC;gCACR,CAAC,EAAE,EAAE,EAAE,CAAC;gCACR,CAAC,EAAE,EAAE,EAAE,CAAC;gCACR,CAAC,EAAE,EAAE,EAAE,CAAC;gCACR,CAAC,EAAE,EAAE,EAAE,CAAC;6BACT,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAChB,eAAwB,CAAC,EAAE,CAAE,GAAG,GAAG,EAAE,CAAC,EAAE,CAAE,GAAG,GAAG,EAAE,KAAK,EAAC,GAAG,EAAC,MAAM,EAAC,GAAG,EAAC,SAAS,EAAE,MAAM,CAAC,MAAM,IAApF,GAAG,CAAC,IAAI,CAAC,EAAE,CAA6E,CACpG,CAAC,IACE,GACF,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
.visual {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
4
|
+
display: grid;
|
|
5
|
+
place-items: center;
|
|
6
|
+
perspective: 900px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.scene {
|
|
10
|
+
position: relative;
|
|
11
|
+
width: 150px;
|
|
12
|
+
height: 190px;
|
|
13
|
+
transform-style: preserve-3d;
|
|
14
|
+
animation: sway 10s ease-in-out infinite;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@keyframes sway {
|
|
18
|
+
0%, 100% {
|
|
19
|
+
transform: rotateX(12deg) rotateY(-16deg);
|
|
20
|
+
}
|
|
21
|
+
50% {
|
|
22
|
+
transform: rotateX(6deg) rotateY(14deg);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.card {
|
|
26
|
+
position: absolute;
|
|
27
|
+
inset: 0;
|
|
28
|
+
border-radius: 14px;
|
|
29
|
+
border: 1px solid var(--line-2);
|
|
30
|
+
background: var(--card);
|
|
31
|
+
box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--background) 90%, transparent);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.palette {
|
|
35
|
+
transform: translate3d(-110px, 6px, -70px) rotateY(24deg);
|
|
36
|
+
display: grid;
|
|
37
|
+
grid-template-rows: repeat(4, 1fr);
|
|
38
|
+
padding: 10px;
|
|
39
|
+
gap: 6px;
|
|
40
|
+
}
|
|
41
|
+
.palette span {
|
|
42
|
+
border-radius: 6px;
|
|
43
|
+
border: 1px solid var(--line);
|
|
44
|
+
transform-origin: left;
|
|
45
|
+
}
|
|
46
|
+
.on .palette span {
|
|
47
|
+
animation: fill-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@keyframes fill-in {
|
|
51
|
+
from {
|
|
52
|
+
transform: scaleX(0);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.type {
|
|
56
|
+
transform: translate3d(110px, -6px, -50px) rotateY(-24deg);
|
|
57
|
+
display: grid;
|
|
58
|
+
align-content: center;
|
|
59
|
+
justify-items: center;
|
|
60
|
+
gap: 4px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.specimen {
|
|
64
|
+
font-size: 64px;
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
letter-spacing: -0.06em;
|
|
67
|
+
line-height: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.caption {
|
|
71
|
+
font-size: 10px;
|
|
72
|
+
color: var(--foreground-2);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.glyphs {
|
|
76
|
+
margin-top: 8px;
|
|
77
|
+
font-size: 10px;
|
|
78
|
+
color: var(--foreground-3);
|
|
79
|
+
letter-spacing: 0.2em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.mark {
|
|
83
|
+
transform: translateZ(40px);
|
|
84
|
+
display: grid;
|
|
85
|
+
place-items: center;
|
|
86
|
+
background: var(--background);
|
|
87
|
+
}
|
|
88
|
+
.mark svg {
|
|
89
|
+
width: 120px;
|
|
90
|
+
height: 120px;
|
|
91
|
+
overflow: visible;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.guides {
|
|
95
|
+
fill: none;
|
|
96
|
+
stroke: var(--line-2);
|
|
97
|
+
stroke-width: 0.6;
|
|
98
|
+
stroke-dasharray: 2 2;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.outer,
|
|
102
|
+
.inner {
|
|
103
|
+
fill: none;
|
|
104
|
+
stroke: var(--foreground);
|
|
105
|
+
stroke-width: 2.4;
|
|
106
|
+
stroke-dasharray: 1;
|
|
107
|
+
stroke-dashoffset: 0;
|
|
108
|
+
}
|
|
109
|
+
.on .outer,
|
|
110
|
+
.on .inner {
|
|
111
|
+
animation: draw-line 1.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.inner {
|
|
115
|
+
stroke-width: 1.8;
|
|
116
|
+
}
|
|
117
|
+
.on .inner {
|
|
118
|
+
animation-delay: 0.6s;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@keyframes draw-line {
|
|
122
|
+
from {
|
|
123
|
+
stroke-dashoffset: 1;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
.anchor {
|
|
127
|
+
fill: var(--background);
|
|
128
|
+
stroke: var(--foreground-2);
|
|
129
|
+
stroke-width: 0.8;
|
|
130
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ServicesProperties } from "@sharadox/sharadox-web-library/component/services/type";
|
|
2
|
-
/** "What we
|
|
2
|
+
/** "What we do": the five disciplines as cells of one grid, each with a live visual. */
|
|
3
3
|
export declare function Services({ locale }: ServicesProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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":"AAgBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAEjG,wFAAwF;AACxF,wBAAgB,QAAQ,CAAC,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAwCtD"}
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Reveal } from "@sharadox/web-library/animation/reveal";
|
|
3
|
+
import { translate } from "@sharadox/web-library/internationalization/translate";
|
|
4
|
+
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
3
5
|
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
4
6
|
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import styles from "./index.module.css";
|
|
7
|
+
import { CampaignVisual } from "@sharadox/sharadox-web-library/component/services/campaign-visual";
|
|
8
|
+
import { Cell } from "@sharadox/sharadox-web-library/component/services/cell";
|
|
9
|
+
import { DesignVisual } from "@sharadox/sharadox-web-library/component/services/design-visual";
|
|
10
|
+
import { MobileVisual } from "@sharadox/sharadox-web-library/component/services/mobile-visual";
|
|
10
11
|
import { PlatformVisual } from "@sharadox/sharadox-web-library/component/services/platform-visual";
|
|
12
|
+
import { SocialVisual } from "@sharadox/sharadox-web-library/component/services/social-visual";
|
|
11
13
|
import { WebVisual } from "@sharadox/sharadox-web-library/component/services/web-visual";
|
|
12
|
-
|
|
14
|
+
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
15
|
+
import styles from "./index.module.css";
|
|
16
|
+
/** "What we do": the five disciplines as cells of one grid, each with a live visual. */
|
|
13
17
|
export function Services({ locale }) {
|
|
14
18
|
const visuals = {
|
|
15
|
-
web: _jsx(WebVisual, {}),
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
"web-application": (_jsxs("div", { className: styles.split, children: [_jsx(WebVisual, {}), _jsx(PlatformVisual, {})] })),
|
|
20
|
+
"mobile-application": _jsx(MobileVisual, { locale: locale }),
|
|
21
|
+
"graphic-design": _jsx(DesignVisual, {}),
|
|
22
|
+
"social-media": _jsx(SocialVisual, { locale: locale }),
|
|
23
|
+
"marketing-campaign": _jsx(CampaignVisual, { locale: locale }),
|
|
18
24
|
};
|
|
19
|
-
return (_jsxs(Section, { id: "services", children: [_jsx(SectionHeading, { eyebrow: translate(SERVICES.eyebrow, locale), title: translate(SERVICES.title, locale) }),
|
|
25
|
+
return (_jsxs(Section, { id: "services", 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)))] })] }));
|
|
20
26
|
}
|
|
21
27
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/services/index.tsx"],"names":[],"mappings":";
|
|
1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ding: clamp(72px, 10vw, 128px) var(--padding) 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
/* Cells share hairlines: the grid's background shows through 1px gaps. */
|
|
6
|
+
.grid {
|
|
7
|
+
position: relative;
|
|
2
8
|
display: grid;
|
|
3
|
-
grid-template-columns:
|
|
4
|
-
gap:
|
|
9
|
+
grid-template-columns: repeat(6, 1fr);
|
|
10
|
+
gap: 1px;
|
|
11
|
+
background: var(--line);
|
|
12
|
+
border-top: 1px solid var(--line);
|
|
13
|
+
}
|
|
14
|
+
.grid > div {
|
|
15
|
+
background: var(--background);
|
|
5
16
|
}
|
|
6
|
-
@media (max-width:
|
|
7
|
-
.
|
|
17
|
+
@media (max-width: 960px) {
|
|
18
|
+
.grid {
|
|
19
|
+
grid-template-columns: 1fr 1fr;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
@media (max-width: 640px) {
|
|
23
|
+
.grid {
|
|
8
24
|
grid-template-columns: 1fr;
|
|
9
25
|
}
|
|
10
26
|
}
|
|
11
27
|
|
|
12
|
-
.
|
|
28
|
+
.reveal {
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
.reveal > article {
|
|
32
|
+
height: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.web-application {
|
|
36
|
+
grid-column: span 4;
|
|
37
|
+
}
|
|
38
|
+
@media (max-width: 960px) {
|
|
39
|
+
.web-application {
|
|
40
|
+
grid-column: span 2;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
@media (max-width: 640px) {
|
|
44
|
+
.web-application {
|
|
45
|
+
grid-column: auto;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.mobile-application,
|
|
50
|
+
.graphic-design,
|
|
51
|
+
.social-media,
|
|
52
|
+
.marketing-campaign {
|
|
13
53
|
grid-column: span 2;
|
|
14
54
|
}
|
|
15
|
-
@media (max-width:
|
|
16
|
-
.
|
|
55
|
+
@media (max-width: 960px) {
|
|
56
|
+
.mobile-application,
|
|
57
|
+
.graphic-design,
|
|
58
|
+
.social-media,
|
|
59
|
+
.marketing-campaign {
|
|
17
60
|
grid-column: auto;
|
|
18
61
|
}
|
|
19
62
|
}
|
|
63
|
+
|
|
64
|
+
.split {
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset: 0;
|
|
67
|
+
display: grid;
|
|
68
|
+
grid-template-columns: 1.25fr 1fr;
|
|
69
|
+
}
|
|
70
|
+
.split > * {
|
|
71
|
+
position: relative !important;
|
|
72
|
+
inset: auto !important;
|
|
73
|
+
}
|
|
74
|
+
.split > *:last-child {
|
|
75
|
+
border-left: 1px dashed var(--line-2);
|
|
76
|
+
}
|
|
77
|
+
@media (max-width: 640px) {
|
|
78
|
+
.split {
|
|
79
|
+
grid-template-columns: 1fr;
|
|
80
|
+
}
|
|
81
|
+
.split > *:last-child {
|
|
82
|
+
display: none !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { MobileVisualProperties } from "@sharadox/sharadox-web-library/component/services/mobile-visual/type";
|
|
2
|
+
/** A phone with business notifications sliding in. */
|
|
3
|
+
export declare function MobileVisual({ locale }: MobileVisualProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sEAAsE,CAAC;AAEnH,sDAAsD;AACtD,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB,+BA2B9D"}
|
|
@@ -4,7 +4,7 @@ import { useEffect, useState } from "react";
|
|
|
4
4
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
5
5
|
import styles from "./index.module.css";
|
|
6
6
|
/** A phone with business notifications sliding in. */
|
|
7
|
-
export function
|
|
7
|
+
export function MobileVisual({ locale }) {
|
|
8
8
|
const items = SERVICES.notifications[locale];
|
|
9
9
|
const [tick, setTick] = useState(0);
|
|
10
10
|
useEffect(() => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,sDAAsD;AACtD,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAA0B;IAC7D,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7C,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACpC,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;QACzE,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,MAAM,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,CAAE,CAAC,CAAC;IAC5E,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,iCAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EAChC,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,qBAAY,EACtD,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YACzB,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CACpC,eAA6B,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,aACrF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAChC,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,sBAAI,KAAK,GAAK,EACd,uBAAK,MAAM,GAAM,IACZ,KALC,GAAG,IAAI,IAAI,IAAI,EAAE,CAMrB,CACP,CAAC,GACE,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
package/distribution/component/services/{application-visual → mobile-visual}/index.module.css
RENAMED
|
@@ -12,8 +12,11 @@
|
|
|
12
12
|
margin-top: 70px;
|
|
13
13
|
border-radius: 30px;
|
|
14
14
|
border: 1px solid var(--line-2);
|
|
15
|
-
background: linear-gradient(180deg,
|
|
16
|
-
box-shadow: 0 40px 80px -20px
|
|
15
|
+
background: linear-gradient(180deg, var(--surface), var(--card));
|
|
16
|
+
box-shadow: 0 40px 80px -20px color-mix(in srgb, var(--background) 90%, transparent);
|
|
17
|
+
transform: rotateY(-14deg) rotateX(8deg) rotateZ(2deg);
|
|
18
|
+
transform-style: preserve-3d;
|
|
19
|
+
animation: hover 8s ease-in-out infinite;
|
|
17
20
|
padding: 34px 10px 0;
|
|
18
21
|
}
|
|
19
22
|
|
|
@@ -25,8 +28,8 @@
|
|
|
25
28
|
height: 16px;
|
|
26
29
|
margin-left: -28px;
|
|
27
30
|
border-radius: 10px;
|
|
28
|
-
background:
|
|
29
|
-
border: 1px solid
|
|
31
|
+
background: var(--background);
|
|
32
|
+
border: 1px solid var(--line-2);
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
.time {
|
|
@@ -48,7 +51,8 @@
|
|
|
48
51
|
align-items: center;
|
|
49
52
|
padding: 8px 9px;
|
|
50
53
|
border-radius: 12px;
|
|
51
|
-
background:
|
|
54
|
+
background: color-mix(in srgb, var(--foreground) 7%, transparent);
|
|
55
|
+
backdrop-filter: blur(4px);
|
|
52
56
|
border: 1px solid var(--line);
|
|
53
57
|
animation: note-in 0.6s var(--ease) both;
|
|
54
58
|
}
|
|
@@ -65,7 +69,7 @@
|
|
|
65
69
|
width: 20px;
|
|
66
70
|
height: 20px;
|
|
67
71
|
border-radius: 6px;
|
|
68
|
-
background:
|
|
72
|
+
background: var(--foreground);
|
|
69
73
|
flex: none;
|
|
70
74
|
}
|
|
71
75
|
|
|
@@ -93,3 +97,8 @@
|
|
|
93
97
|
transform: translateY(-12px) scale(0.96);
|
|
94
98
|
}
|
|
95
99
|
}
|
|
100
|
+
@keyframes hover {
|
|
101
|
+
50% {
|
|
102
|
+
transform: rotateY(-8deg) rotateX(4deg) rotateZ(1deg) translateY(-8px);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/type.ts"],"names":[],"mappings":""}
|
|
@@ -11,6 +11,6 @@ const CENTER_X = 170;
|
|
|
11
11
|
const CENTER_Y = 132;
|
|
12
12
|
/** Systems connected to one core, with data packets flowing between them. */
|
|
13
13
|
export function PlatformVisual() {
|
|
14
|
-
return (_jsx("div", { className: styles.visual, "aria-hidden": true, children: _jsxs("svg", { viewBox: "0 0 340 270", children: [_jsx("defs", { children: _jsxs("radialGradient", { id: "
|
|
14
|
+
return (_jsx("div", { className: styles.visual, "aria-hidden": true, children: _jsxs("svg", { viewBox: "0 0 340 270", children: [_jsx("defs", { children: _jsxs("radialGradient", { id: "platform-core-glow", children: [_jsx("stop", { offset: "0", stopColor: "var(--foreground)", stopOpacity: ".3" }), _jsx("stop", { offset: "1", stopColor: "var(--foreground)", stopOpacity: "0" })] }) }), _jsx("circle", { cx: CENTER_X, cy: CENTER_Y, r: "70", fill: "url(#platform-core-glow)" }), NODES.map((node, index) => (_jsx("path", { id: `platform-edge-${index}`, d: `M${node.x},${node.y} Q${(node.x + CENTER_X) / 2 + (index % 2 ? 26 : -26)},${(node.y + CENTER_Y) / 2} ${CENTER_X},${CENTER_Y}`, className: styles.edge }, `path${index}`))), NODES.map((_, index) => (_jsx("circle", { r: "2.6", className: styles.packet, children: _jsx("animateMotion", { dur: `${2.2 + index * 0.35}s`, repeatCount: "indefinite", keyPoints: index % 2 ? "0;1" : "1;0", keyTimes: "0;1", calcMode: "linear", children: _jsx("mpath", { href: `#platform-edge-${index}` }) }) }, `packet${index}`))), _jsx("rect", { x: CENTER_X - 30, y: CENTER_Y - 16, width: "60", height: "32", rx: "9", className: styles.core }), _jsx("text", { x: CENTER_X, y: CENTER_Y + 4, className: styles.coreLabel, children: "core" }), NODES.map((node, index) => (_jsxs("g", { children: [_jsx("circle", { cx: node.x, cy: node.y, r: "5", className: styles.node }), _jsx("text", { x: node.x, y: node.y - 12, className: styles.nodeLabel, children: node.label })] }, `node${index}`)))] }) }));
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/platform-visual/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,MAAM,KAAK,GAAG;IACZ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;IACnC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;IACpC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;IACtC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;IACtC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;CACtC,CAAC;AACF,MAAM,QAAQ,GAAG,GAAG,CAAC;AACrB,MAAM,QAAQ,GAAG,GAAG,CAAC;AAErB,6EAA6E;AAC7E,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,iCAC3B,eAAK,OAAO,EAAC,aAAa,aACxB,yBACE,0BAAgB,EAAE,EAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/platform-visual/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,MAAM,KAAK,GAAG;IACZ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;IACnC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE;IACpC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;IACtC,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;IACtC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE;CACtC,CAAC;AACF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}
|
|
19
19
|
|
|
20
20
|
.packet {
|
|
21
|
-
fill:
|
|
22
|
-
filter: drop-shadow(0 0 4px
|
|
21
|
+
fill: var(--foreground);
|
|
22
|
+
filter: drop-shadow(0 0 4px var(--foreground));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.core {
|
|
26
|
-
fill:
|
|
27
|
-
stroke:
|
|
26
|
+
fill: var(--surface);
|
|
27
|
+
stroke: var(--foreground-3);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.coreLabel {
|
|
31
|
-
fill:
|
|
31
|
+
fill: var(--foreground);
|
|
32
32
|
font: 500 11px var(--monospace);
|
|
33
33
|
text-anchor: middle;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.node {
|
|
37
|
-
fill:
|
|
38
|
-
stroke:
|
|
37
|
+
fill: var(--background);
|
|
38
|
+
stroke: var(--foreground);
|
|
39
39
|
stroke-width: 1.4;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SocialVisualProperties } from "@sharadox/sharadox-web-library/component/services/social-visual/type";
|
|
2
|
+
/** A growth chart drawing itself as the follower count climbs, beside a feed of posts filling in, in 3D. */
|
|
3
|
+
export declare function SocialVisual({ locale }: SocialVisualProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/social-visual/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sEAAsE,CAAC;AAKnH,4GAA4G;AAC5G,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB,+BAiC9D"}
|