@sharadox/sharadox-web-library 0.26.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/distribution/component/service-card/index.d.ts +2 -3
- package/distribution/component/service-card/index.d.ts.map +1 -1
- package/distribution/component/service-card/index.js +3 -4
- package/distribution/component/service-card/index.js.map +1 -1
- package/distribution/component/service-card/index.module.css +1 -1
- package/distribution/component/service-card/index.module.scss +0 -54
- package/distribution/component/service-card/type.d.ts +0 -2
- package/distribution/component/service-card/type.d.ts.map +1 -1
- package/distribution/component/service-object/android-application/index.d.ts +3 -0
- package/distribution/component/service-object/android-application/index.d.ts.map +1 -0
- package/distribution/component/service-object/android-application/index.js +8 -0
- package/distribution/component/service-object/android-application/index.js.map +1 -0
- package/distribution/component/service-object/android-application/index.module.css +1 -0
- package/distribution/component/service-object/android-application/index.module.scss +90 -0
- package/distribution/component/service-object/brand-awareness/index.d.ts +5 -1
- package/distribution/component/service-object/brand-awareness/index.d.ts.map +1 -1
- package/distribution/component/service-object/brand-awareness/index.js +25 -3
- package/distribution/component/service-object/brand-awareness/index.js.map +1 -1
- package/distribution/component/service-object/brand-awareness/index.module.css +1 -1
- package/distribution/component/service-object/brand-awareness/index.module.scss +147 -68
- package/distribution/component/service-object/branding/index.d.ts.map +1 -1
- package/distribution/component/service-object/branding/index.js +2 -1
- package/distribution/component/service-object/branding/index.js.map +1 -1
- package/distribution/component/service-object/branding/index.module.css +1 -1
- package/distribution/component/service-object/branding/index.module.scss +1 -12
- package/distribution/component/service-object/hosting/index.d.ts +7 -0
- package/distribution/component/service-object/hosting/index.d.ts.map +1 -0
- package/distribution/component/service-object/hosting/index.js +16 -0
- package/distribution/component/service-object/hosting/index.js.map +1 -0
- package/distribution/component/service-object/hosting/index.module.css +1 -0
- package/distribution/component/service-object/hosting/index.module.scss +162 -0
- package/distribution/component/service-object/index.d.ts.map +1 -1
- package/distribution/component/service-object/index.js +6 -0
- package/distribution/component/service-object/index.js.map +1 -1
- package/distribution/component/service-object/ios-application/index.d.ts +3 -0
- package/distribution/component/service-object/ios-application/index.d.ts.map +1 -0
- package/distribution/component/service-object/ios-application/index.js +8 -0
- package/distribution/component/service-object/ios-application/index.js.map +1 -0
- package/distribution/component/service-object/ios-application/index.module.css +1 -0
- package/distribution/component/service-object/ios-application/index.module.scss +93 -0
- package/distribution/component/service-object/mark/index.d.ts +10 -0
- package/distribution/component/service-object/mark/index.d.ts.map +1 -0
- package/distribution/component/service-object/mark/index.js +14 -0
- package/distribution/component/service-object/mark/index.js.map +1 -0
- package/distribution/component/service-object/mark/index.module.css +1 -0
- package/distribution/component/service-object/mark/index.module.scss +23 -0
- package/distribution/component/service-object/mark/type.d.ts +5 -0
- package/distribution/component/service-object/mark/type.d.ts.map +1 -0
- package/distribution/component/service-object/mark/type.js +2 -0
- package/distribution/component/service-object/mark/type.js.map +1 -0
- package/distribution/component/service-object/person/index.d.ts +10 -0
- package/distribution/component/service-object/person/index.d.ts.map +1 -0
- package/distribution/component/service-object/person/index.js +14 -0
- package/distribution/component/service-object/person/index.js.map +1 -0
- package/distribution/component/service-object/person/index.module.css +1 -0
- package/distribution/component/service-object/person/index.module.scss +38 -0
- package/distribution/component/service-object/person/type.d.ts +5 -0
- package/distribution/component/service-object/person/type.d.ts.map +1 -0
- package/distribution/component/service-object/person/type.js +2 -0
- package/distribution/component/service-object/person/type.js.map +1 -0
- package/distribution/component/service-object/platform/index.d.ts +5 -1
- package/distribution/component/service-object/platform/index.d.ts.map +1 -1
- package/distribution/component/service-object/platform/index.js +36 -3
- package/distribution/component/service-object/platform/index.js.map +1 -1
- package/distribution/component/service-object/platform/index.module.css +1 -1
- package/distribution/component/service-object/platform/index.module.scss +139 -35
- package/distribution/component/service-object/product-launch/index.d.ts +5 -1
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -1
- package/distribution/component/service-object/product-launch/index.js +13 -3
- package/distribution/component/service-object/product-launch/index.js.map +1 -1
- package/distribution/component/service-object/product-launch/index.module.css +1 -1
- package/distribution/component/service-object/product-launch/index.module.scss +224 -78
- package/distribution/component/services/index.js +1 -1
- package/distribution/component/services/index.js.map +1 -1
- package/distribution/component/services/index.module.css +1 -1
- package/distribution/component/services/index.module.scss +1 -5
- package/distribution/content/contact/index.d.ts +27 -15
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/services/index.d.ts +70 -44
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +43 -34
- 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 +6 -2
- package/distribution/content/site/index.js.map +1 -1
- package/llms.txt +4 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:branding-sway 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(38deg) rotateZ(-14deg)}@keyframes branding-sway{0%,100%{transform:rotateX(38deg) rotateZ(-14deg)}50%{transform:rotateX(30deg) rotateZ(-4deg)}}.board{position:absolute;left:50%;top:50%;width:176px;height:136px;margin:-68px 0 0 -88px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 4%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 36%, transparent);display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;border-radius:8px}.piece{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 48%, transparent);display:grid;place-items:center;border-radius:5px;transform-style:preserve-3d;animation:branding-place 8s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.piece{animation:none}}@keyframes branding-place{0%{opacity:0;transform:translateZ(70px)}10%,78%{opacity:1;transform:translateZ(0)}90%,100%{opacity:0;transform:translateZ(40px)}}.audience{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle, var(--foreground) 0 3px, transparent 4px 7px, color-mix(in srgb, var(--foreground) 60%, transparent) 8px 9px, transparent 10px 13px, color-mix(in srgb, var(--foreground) 40%, transparent) 14px)}.voice{position:relative;width:36px;height:22px;border-radius:6px;border:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);background:repeating-linear-gradient(180deg, transparent 0 5px, color-mix(in srgb, var(--foreground) 40%, transparent) 5px 7px) 6px 2px/22px 14px no-repeat}.voice::after{content:"";position:absolute;left:6px;bottom:-6px;width:8px;height:8px;border-right:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);border-bottom:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);background:var(--background);transform:skewX(30deg) rotate(45deg) scale(0.7)}.colors{display:block;width:44px;height:14px;background:radial-gradient(circle, var(--foreground) 6px, transparent 7px) 0 0/15px 14px,radial-gradient(circle, color-mix(in srgb, var(--foreground) 55%, transparent) 6px, transparent 7px) 15px 0/15px 14px,radial-gradient(circle, color-mix(in srgb, var(--foreground) 25%, transparent) 6px, transparent 7px) 30px 0/15px 14px;background-repeat:no-repeat}.type{font-family:var(--font-display, inherit);font-size:22px;font-style:normal;font-weight:600;color:var(--foreground)}.mark{
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:branding-sway 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(38deg) rotateZ(-14deg)}@keyframes branding-sway{0%,100%{transform:rotateX(38deg) rotateZ(-14deg)}50%{transform:rotateX(30deg) rotateZ(-4deg)}}.board{position:absolute;left:50%;top:50%;width:176px;height:136px;margin:-68px 0 0 -88px;transform-style:preserve-3d;box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 4%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 36%, transparent);display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;border-radius:8px}.piece{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 9%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 48%, transparent);display:grid;place-items:center;border-radius:5px;transform-style:preserve-3d;animation:branding-place 8s cubic-bezier(0.22, 1, 0.36, 1) infinite backwards}@media(prefers-reduced-motion: reduce){.piece{animation:none}}@keyframes branding-place{0%{opacity:0;transform:translateZ(70px)}10%,78%{opacity:1;transform:translateZ(0)}90%,100%{opacity:0;transform:translateZ(40px)}}.audience{width:30px;height:30px;border-radius:50%;background:radial-gradient(circle, var(--foreground) 0 3px, transparent 4px 7px, color-mix(in srgb, var(--foreground) 60%, transparent) 8px 9px, transparent 10px 13px, color-mix(in srgb, var(--foreground) 40%, transparent) 14px)}.voice{position:relative;width:36px;height:22px;border-radius:6px;border:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);background:repeating-linear-gradient(180deg, transparent 0 5px, color-mix(in srgb, var(--foreground) 40%, transparent) 5px 7px) 6px 2px/22px 14px no-repeat}.voice::after{content:"";position:absolute;left:6px;bottom:-6px;width:8px;height:8px;border-right:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);border-bottom:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);background:var(--background);transform:skewX(30deg) rotate(45deg) scale(0.7)}.colors{display:block;width:44px;height:14px;background:radial-gradient(circle, var(--foreground) 6px, transparent 7px) 0 0/15px 14px,radial-gradient(circle, color-mix(in srgb, var(--foreground) 55%, transparent) 6px, transparent 7px) 15px 0/15px 14px,radial-gradient(circle, color-mix(in srgb, var(--foreground) 25%, transparent) 6px, transparent 7px) 30px 0/15px 14px;background-repeat:no-repeat}.type{font-family:var(--font-display, inherit);font-size:22px;font-style:normal;font-weight:600;color:var(--foreground)}.mark{--size: 36px;animation:branding-mark 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.mark{animation:none}}.mark{box-shadow:0 0 28px -4px color-mix(in srgb, var(--foreground) 40%, transparent);transform:translateZ(46px)}@keyframes branding-mark{0%,34%{opacity:0;transform:translateZ(0) scale(0.4)}44%,78%{opacity:1;transform:translateZ(46px) scale(1)}90%,100%{opacity:0;transform:translateZ(70px) scale(0.8)}}
|
|
@@ -106,21 +106,10 @@
|
|
|
106
106
|
}
|
|
107
107
|
/* Once every piece is in place, the brand's mark rises over the middle of the board. */
|
|
108
108
|
.mark {
|
|
109
|
-
|
|
109
|
+
--size: 36px;
|
|
110
110
|
@include loop(branding-mark 8s $ease infinite);
|
|
111
|
-
border-radius: 50%;
|
|
112
|
-
background: var(--background);
|
|
113
|
-
border: 1px solid tint(70%);
|
|
114
111
|
box-shadow: 0 0 28px -4px tint(40%);
|
|
115
112
|
transform: translateZ(46px);
|
|
116
|
-
&::before {
|
|
117
|
-
content: "";
|
|
118
|
-
position: absolute;
|
|
119
|
-
inset: 10px;
|
|
120
|
-
border: 4px solid var(--foreground);
|
|
121
|
-
border-radius: 2px;
|
|
122
|
-
transform: rotate(45deg);
|
|
123
|
-
}
|
|
124
113
|
}
|
|
125
114
|
@keyframes branding-mark {
|
|
126
115
|
0%,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hosting: what we build, kept running. A rack of servers, their lights blinking, watched by an uptime line that beats
|
|
3
|
+
* steadily. Then one server has an incident: its lights go out and the line dips. It is looked after at once: the
|
|
4
|
+
* server comes back with a ring of light and a tick, and the line beats steadily again.
|
|
5
|
+
*/
|
|
6
|
+
export declare function Hosting(): import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/hosting/index.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AACH,wBAAgB,OAAO,gCAwBtB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
|
+
/** The servers in the rack, top to bottom; the middle one is the one that has the incident. */
|
|
5
|
+
const SERVERS = 3;
|
|
6
|
+
/** The uptime line: steady beats, a dip where the incident happens, and steady again once it is fixed. */
|
|
7
|
+
const PULSE = "M0 30 L22 30 L28 18 L34 42 L40 30 L70 30 L76 18 L82 42 L88 30 L104 30 L110 52 L132 52 L138 30 L160 30 L166 18 L172 42 L178 30 L200 30";
|
|
8
|
+
/**
|
|
9
|
+
* Hosting: what we build, kept running. A rack of servers, their lights blinking, watched by an uptime line that beats
|
|
10
|
+
* steadily. Then one server has an incident: its lights go out and the line dips. It is looked after at once: the
|
|
11
|
+
* server comes back with a ring of light and a tick, and the line beats steadily again.
|
|
12
|
+
*/
|
|
13
|
+
export function Hosting() {
|
|
14
|
+
return (_jsxs("div", { className: styles.object, children: [_jsxs("svg", { className: styles.monitor, viewBox: "0 0 200 60", preserveAspectRatio: "none", children: [_jsx("path", { className: styles.track, d: PULSE }), _jsx("path", { className: styles.beat, d: PULSE, pathLength: 100 })] }), Array.from({ length: SERVERS }, (_, server) => (_jsx(Cuboid, { className: styles.server, front: _jsxs("span", { className: styles.panel, "data-incident": server === 1 || undefined, children: [[0, 1, 2].map((light) => (_jsx("i", { style: { animationDelay: `${(server * 3 + light) * -0.37}s` } }, light))), _jsx("b", {})] }) }, server))), _jsx("span", { className: styles.fixed })] }));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/hosting/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,+FAA+F;AAC/F,MAAM,OAAO,GAAG,CAAC,CAAC;AAClB,0GAA0G;AAC1G,MAAM,KAAK,GACT,uIAAuI,CAAC;AAE1I;;;;GAIG;AACH,MAAM,UAAU,OAAO;IACrB,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,OAAO,EAAC,YAAY,EAAC,mBAAmB,EAAC,MAAM,aAC7E,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,GAAI,EAC3C,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,GAAI,IACvD,EACL,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,CAC9C,KAAC,MAAM,IAEL,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,KAAK,EACH,gBAAM,SAAS,EAAE,MAAM,CAAC,KAAK,mBAAiB,MAAM,KAAK,CAAC,IAAI,SAAS,aACpE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACxB,YAAe,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,GAAG,EAAE,IAApE,KAAK,CAAmE,CACjF,CAAC,EACF,aAAK,IACA,IARJ,MAAM,CAUX,CACH,CAAC,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,IAC7B,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:hosting-sway 12s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(16px) rotateX(-12deg) rotateY(-24deg)}@keyframes hosting-sway{0%,100%{transform:translateY(16px) rotateX(-12deg) rotateY(-24deg)}50%{transform:translateY(16px) rotateX(-8deg) rotateY(14deg)}}.server{--width: 120px;--height: 30px;--depth: 84px;--radius: 3px;--fill-amount: 8%;--front-amount: 10%;--edge-amount: 60%}.server:nth-child(2){transform:translateY(-36px)}.server:nth-child(4){transform:translateY(36px)}.panel{position:absolute;inset:0;display:flex;align-items:center;gap:6px;padding:0 12px}.panel i{width:6px;height:6px;border-radius:50%;background:var(--foreground);box-shadow:0 0 6px color-mix(in srgb, var(--foreground) 70%, transparent);animation:hosting-blink 1.1s steps(2, jump-none) infinite}@media(prefers-reduced-motion: reduce){.panel i{animation:none}}.panel b{flex:1;height:12px;margin-left:10px;background:repeating-linear-gradient(90deg, color-mix(in srgb, var(--foreground) 35%, transparent) 0 2px, transparent 2px 6px)}@keyframes hosting-blink{0%{opacity:1}100%{opacity:.35}}.panel[data-incident]{animation:hosting-incident 8s linear infinite}@media(prefers-reduced-motion: reduce){.panel[data-incident]{animation:none}}@keyframes hosting-incident{0%,40%{opacity:1;filter:none}42%,56%{opacity:.15}60%{opacity:1;filter:drop-shadow(0 0 8px color-mix(in srgb, var(--foreground) 80%, transparent))}72%,100%{opacity:1;filter:none}}.fixed{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;transform-style:preserve-3d;border-radius:50%;border:1.5px solid var(--foreground);background:var(--background);transform:translateX(92px) translateZ(44px);opacity:0;animation:hosting-fixed 8s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.fixed{animation:none}}.fixed::after{content:"";position:absolute;left:9px;top:6px;width:7px;height:12px;border-right:2px solid var(--foreground);border-bottom:2px solid var(--foreground);transform:rotate(45deg)}@keyframes hosting-fixed{0%,57%{opacity:0;transform:translateX(92px) translateZ(44px) scale(0.4)}62%,84%{opacity:1;transform:translateX(92px) translateZ(44px) scale(1)}92%,100%{opacity:0;transform:translateX(92px) translateZ(44px) scale(1)}}.monitor{position:absolute;left:-110px;top:-122px;width:220px;height:56px;overflow:visible}.monitor path{fill:none;stroke-width:1.5;stroke-linejoin:round;vector-effect:non-scaling-stroke}.track{stroke:color-mix(in srgb, var(--foreground) 18%, transparent)}.beat{stroke:var(--foreground);filter:drop-shadow(0 0 4px color-mix(in srgb, var(--foreground) 60%, transparent));stroke-dasharray:100 100;stroke-dashoffset:0;animation:hosting-beat 8s linear infinite}@media(prefers-reduced-motion: reduce){.beat{animation:none}}@keyframes hosting-beat{0%{stroke-dashoffset:100}90%,100%{stroke-dashoffset:0}}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
/* One round: steady running, the incident (from 40%), the fix (from 58%), and steady running again. */
|
|
5
|
+
$round: 8s;
|
|
6
|
+
|
|
7
|
+
.object {
|
|
8
|
+
@include centered(0px, 0px);
|
|
9
|
+
@include loop(hosting-sway 12s ease-in-out infinite);
|
|
10
|
+
transform: translateY(16px) rotateX(-12deg) rotateY(-24deg);
|
|
11
|
+
}
|
|
12
|
+
@keyframes hosting-sway {
|
|
13
|
+
0%,
|
|
14
|
+
100% {
|
|
15
|
+
transform: translateY(16px) rotateX(-12deg) rotateY(-24deg);
|
|
16
|
+
}
|
|
17
|
+
50% {
|
|
18
|
+
transform: translateY(16px) rotateX(-8deg) rotateY(14deg);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.server {
|
|
22
|
+
--width: 120px;
|
|
23
|
+
--height: 30px;
|
|
24
|
+
--depth: 84px;
|
|
25
|
+
--radius: 3px;
|
|
26
|
+
--fill-amount: 8%;
|
|
27
|
+
--front-amount: 10%;
|
|
28
|
+
--edge-amount: 60%;
|
|
29
|
+
&:nth-child(2) {
|
|
30
|
+
transform: translateY(-36px);
|
|
31
|
+
}
|
|
32
|
+
&:nth-child(4) {
|
|
33
|
+
transform: translateY(36px);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/* A server's front: three status lights and a vent. */
|
|
37
|
+
.panel {
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 6px;
|
|
43
|
+
padding: 0 12px;
|
|
44
|
+
i {
|
|
45
|
+
width: 6px;
|
|
46
|
+
height: 6px;
|
|
47
|
+
border-radius: 50%;
|
|
48
|
+
background: var(--foreground);
|
|
49
|
+
box-shadow: 0 0 6px tint(70%);
|
|
50
|
+
@include loop(hosting-blink 1.1s steps(2, jump-none) infinite);
|
|
51
|
+
}
|
|
52
|
+
b {
|
|
53
|
+
flex: 1;
|
|
54
|
+
height: 12px;
|
|
55
|
+
margin-left: 10px;
|
|
56
|
+
background: repeating-linear-gradient(90deg, tint(35%) 0 2px, transparent 2px 6px);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
@keyframes hosting-blink {
|
|
60
|
+
0% {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
opacity: 0.35;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/* The server with the incident: its lights go out, then come back once it is fixed. */
|
|
68
|
+
.panel[data-incident] {
|
|
69
|
+
@include loop(hosting-incident $round linear infinite);
|
|
70
|
+
}
|
|
71
|
+
@keyframes hosting-incident {
|
|
72
|
+
0%,
|
|
73
|
+
40% {
|
|
74
|
+
opacity: 1;
|
|
75
|
+
filter: none;
|
|
76
|
+
}
|
|
77
|
+
42%,
|
|
78
|
+
56% {
|
|
79
|
+
opacity: 0.15;
|
|
80
|
+
}
|
|
81
|
+
60% {
|
|
82
|
+
opacity: 1;
|
|
83
|
+
filter: drop-shadow(0 0 8px tint(80%));
|
|
84
|
+
}
|
|
85
|
+
72%,
|
|
86
|
+
100% {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
filter: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
/* The ring of light and the tick when the server is back up. */
|
|
92
|
+
.fixed {
|
|
93
|
+
@include centered(30px, 30px);
|
|
94
|
+
border-radius: 50%;
|
|
95
|
+
border: 1.5px solid var(--foreground);
|
|
96
|
+
background: var(--background);
|
|
97
|
+
transform: translateX(92px) translateZ(44px);
|
|
98
|
+
opacity: 0;
|
|
99
|
+
@include loop(hosting-fixed $round $ease infinite);
|
|
100
|
+
&::after {
|
|
101
|
+
content: "";
|
|
102
|
+
position: absolute;
|
|
103
|
+
left: 9px;
|
|
104
|
+
top: 6px;
|
|
105
|
+
width: 7px;
|
|
106
|
+
height: 12px;
|
|
107
|
+
border-right: 2px solid var(--foreground);
|
|
108
|
+
border-bottom: 2px solid var(--foreground);
|
|
109
|
+
transform: rotate(45deg);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
@keyframes hosting-fixed {
|
|
113
|
+
0%,
|
|
114
|
+
57% {
|
|
115
|
+
opacity: 0;
|
|
116
|
+
transform: translateX(92px) translateZ(44px) scale(0.4);
|
|
117
|
+
}
|
|
118
|
+
62%,
|
|
119
|
+
84% {
|
|
120
|
+
opacity: 1;
|
|
121
|
+
transform: translateX(92px) translateZ(44px) scale(1);
|
|
122
|
+
}
|
|
123
|
+
92%,
|
|
124
|
+
100% {
|
|
125
|
+
opacity: 0;
|
|
126
|
+
transform: translateX(92px) translateZ(44px) scale(1);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/* The uptime monitor above the rack: a faint track, and the beat drawn along it, dipping at the incident. */
|
|
130
|
+
.monitor {
|
|
131
|
+
position: absolute;
|
|
132
|
+
left: -110px;
|
|
133
|
+
top: -122px;
|
|
134
|
+
width: 220px;
|
|
135
|
+
height: 56px;
|
|
136
|
+
overflow: visible;
|
|
137
|
+
path {
|
|
138
|
+
fill: none;
|
|
139
|
+
stroke-width: 1.5;
|
|
140
|
+
stroke-linejoin: round;
|
|
141
|
+
vector-effect: non-scaling-stroke;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.track {
|
|
145
|
+
stroke: tint(18%);
|
|
146
|
+
}
|
|
147
|
+
.beat {
|
|
148
|
+
stroke: var(--foreground);
|
|
149
|
+
filter: drop-shadow(0 0 4px tint(60%));
|
|
150
|
+
stroke-dasharray: 100 100;
|
|
151
|
+
stroke-dashoffset: 0;
|
|
152
|
+
@include loop(hosting-beat $round linear infinite);
|
|
153
|
+
}
|
|
154
|
+
@keyframes hosting-beat {
|
|
155
|
+
0% {
|
|
156
|
+
stroke-dashoffset: 100;
|
|
157
|
+
}
|
|
158
|
+
90%,
|
|
159
|
+
100% {
|
|
160
|
+
stroke-dashoffset: 0;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAwB5G;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,uBAAuB,+BAS9D"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AndroidApplication } from "@sharadox/sharadox-web-library/component/service-object/android-application";
|
|
2
3
|
import { BrandAwareness } from "@sharadox/sharadox-web-library/component/service-object/brand-awareness";
|
|
3
4
|
import { Branding } from "@sharadox/sharadox-web-library/component/service-object/branding";
|
|
4
5
|
import { BrandingDesign } from "@sharadox/sharadox-web-library/component/service-object/branding-design";
|
|
@@ -8,6 +9,8 @@ import { LeadGeneration } from "@sharadox/sharadox-web-library/component/service
|
|
|
8
9
|
import { Platform } from "@sharadox/sharadox-web-library/component/service-object/platform";
|
|
9
10
|
import { PrintDesign } from "@sharadox/sharadox-web-library/component/service-object/print-design";
|
|
10
11
|
import { ProfessionalEmail } from "@sharadox/sharadox-web-library/component/service-object/professional-email";
|
|
12
|
+
import { Hosting } from "@sharadox/sharadox-web-library/component/service-object/hosting";
|
|
13
|
+
import { IosApplication } from "@sharadox/sharadox-web-library/component/service-object/ios-application";
|
|
11
14
|
import { ProductLaunch } from "@sharadox/sharadox-web-library/component/service-object/product-launch";
|
|
12
15
|
import { ProgressiveWebApplication } from "@sharadox/sharadox-web-library/component/service-object/progressive-web-application";
|
|
13
16
|
import { Rebranding } from "@sharadox/sharadox-web-library/component/service-object/rebranding";
|
|
@@ -20,8 +23,11 @@ const OBJECTS = {
|
|
|
20
23
|
website: Website,
|
|
21
24
|
platform: Platform,
|
|
22
25
|
"e-commerce": ECommerce,
|
|
26
|
+
hosting: Hosting,
|
|
23
27
|
"professional-email": ProfessionalEmail,
|
|
24
28
|
"progressive-web-application": ProgressiveWebApplication,
|
|
29
|
+
"android-application": AndroidApplication,
|
|
30
|
+
"ios-application": IosApplication,
|
|
25
31
|
branding: Branding,
|
|
26
32
|
rebranding: Rebranding,
|
|
27
33
|
"branding-design": BrandingDesign,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,qEAAqE,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,sEAAsE,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4EAA4E,CAAC;AAC/G,OAAO,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,qFAAqF,CAAC;AAChI,OAAO,EAAE,UAAU,EAAE,MAAM,oEAAoE,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAC;AAC3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,+EAA+E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AAE1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,sCAAsC;AACtC,MAAM,OAAO,GAA0C;IACrD,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE,SAAS;IACvB,oBAAoB,EAAE,iBAAiB;IACvC,6BAA6B,EAAE,yBAAyB;IACxD,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,iBAAiB,EAAE,cAAc;IACjC,cAAc,EAAE,WAAW;IAC3B,WAAW,EAAE,WAAW;IACxB,gBAAgB,EAAE,aAAa;IAC/B,iBAAiB,EAAE,cAAc;IACjC,kBAAkB,EAAE,eAAe;IACnC,iBAAiB,EAAE,cAAc;IACjC,uBAAuB,EAAE,mBAAmB;CAC7C,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,EAAE,IAAI,EAA2B;IAC7D,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAC,KAAK,KAAG,GACL,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-object/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6EAA6E,CAAC;AACjH,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,qEAAqE,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,sEAAsE,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4EAA4E,CAAC;AAC/G,OAAO,EAAE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,aAAa,EAAE,MAAM,wEAAwE,CAAC;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,qFAAqF,CAAC;AAChI,OAAO,EAAE,UAAU,EAAE,MAAM,oEAAoE,CAAC;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,0EAA0E,CAAC;AAC3G,OAAO,EAAE,mBAAmB,EAAE,MAAM,+EAA+E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,iEAAiE,CAAC;AAE1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,sCAAsC;AACtC,MAAM,OAAO,GAA0C;IACrD,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE,SAAS;IACvB,OAAO,EAAE,OAAO;IAChB,oBAAoB,EAAE,iBAAiB;IACvC,6BAA6B,EAAE,yBAAyB;IACxD,qBAAqB,EAAE,kBAAkB;IACzC,iBAAiB,EAAE,cAAc;IACjC,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,iBAAiB,EAAE,cAAc;IACjC,cAAc,EAAE,WAAW;IAC3B,WAAW,EAAE,WAAW;IACxB,gBAAgB,EAAE,aAAa;IAC/B,iBAAiB,EAAE,cAAc;IACjC,kBAAkB,EAAE,eAAe;IACnC,iBAAiB,EAAE,cAAc;IACjC,uBAAuB,EAAE,mBAAmB;CAC7C,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,EAAE,IAAI,EAA2B;IAC7D,MAAM,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAC,KAAK,KAAG,GACL,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/ios-application/index.tsx"],"names":[],"mappings":"AAGA,6GAA6G;AAC7G,wBAAgB,cAAc,gCAmB7B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Cuboid } from "@sharadox/sharadox-web-library/component/service-object/cuboid";
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
|
+
/** iOS applications: a phone with its island opening up, and widgets floating off the screen towards you. */
|
|
5
|
+
export function IosApplication() {
|
|
6
|
+
return (_jsx("div", { className: styles.object, children: _jsx(Cuboid, { className: styles.phone, front: _jsxs(_Fragment, { children: [_jsx("span", { className: styles.island }), _jsxs("span", { className: styles.widgets, children: [_jsx("i", {}), _jsx("i", {}), _jsx("i", {})] }), _jsx("span", { className: styles.indicator })] }) }) }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/ios-application/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,6GAA6G;AAC7G,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,MAAM,IACL,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,KAAK,EACH,8BACE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,EAClC,gBAAM,SAAS,EAAE,MAAM,CAAC,OAAO,aAC7B,aAAK,EACL,aAAK,EACL,aAAK,IACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,SAAS,GAAI,IACpC,GAEL,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.object{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:ios-turn 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-6deg) rotateY(26deg)}@keyframes ios-turn{0%,100%{transform:rotateX(-6deg) rotateY(30deg)}50%{transform:rotateX(-2deg) rotateY(-22deg)}}.phone{--width: 88px;--height: 176px;--depth: 9px;--radius: 20px;--front-amount: 4%;--edge-amount: 55%}.island{position:absolute;left:50%;top:9px;width:28px;height:9px;border-radius:9px;background:color-mix(in srgb, var(--foreground) 70%, transparent);transform:translateX(-50%);animation:ios-island 4s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.island{animation:none}}@keyframes ios-island{0%,40%,100%{width:28px;height:9px}55%,80%{width:62px;height:16px}}.widgets{position:absolute;inset:34px 10px 26px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr 1.2fr;gap:8px;transform-style:preserve-3d}.widgets i{border-radius:9px;border:1px solid color-mix(in srgb, var(--foreground) 45%, transparent);background:color-mix(in srgb, var(--foreground) 12%, transparent);animation:ios-float 4.6s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.widgets i{animation:none}}.widgets i:nth-child(1){grid-column:span 2;background:linear-gradient(135deg, color-mix(in srgb, var(--foreground) 38%, transparent), color-mix(in srgb, var(--foreground) 8%, transparent))}.widgets i:nth-child(2){animation-delay:-1.5s}.widgets i:nth-child(3){animation-delay:-3s}@keyframes ios-float{0%,100%{transform:translateZ(4px)}50%{transform:translateZ(24px)}}.indicator{position:absolute;left:50%;bottom:8px;width:34px;height:3px;margin-left:-17px;border-radius:2px;background:color-mix(in srgb, var(--foreground) 55%, transparent)}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
.object {
|
|
5
|
+
@include centered(0px, 0px);
|
|
6
|
+
@include loop(ios-turn 10s ease-in-out infinite);
|
|
7
|
+
transform: rotateX(-6deg) rotateY(26deg);
|
|
8
|
+
}
|
|
9
|
+
@keyframes ios-turn {
|
|
10
|
+
0%,
|
|
11
|
+
100% {
|
|
12
|
+
transform: rotateX(-6deg) rotateY(30deg);
|
|
13
|
+
}
|
|
14
|
+
50% {
|
|
15
|
+
transform: rotateX(-2deg) rotateY(-22deg);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.phone {
|
|
19
|
+
--width: 88px;
|
|
20
|
+
--height: 176px;
|
|
21
|
+
--depth: 9px;
|
|
22
|
+
--radius: 20px;
|
|
23
|
+
--front-amount: 4%;
|
|
24
|
+
--edge-amount: 55%;
|
|
25
|
+
}
|
|
26
|
+
.island {
|
|
27
|
+
position: absolute;
|
|
28
|
+
left: 50%;
|
|
29
|
+
top: 9px;
|
|
30
|
+
width: 28px;
|
|
31
|
+
height: 9px;
|
|
32
|
+
border-radius: 9px;
|
|
33
|
+
background: tint(70%);
|
|
34
|
+
transform: translateX(-50%);
|
|
35
|
+
@include loop(ios-island 4s $ease infinite);
|
|
36
|
+
}
|
|
37
|
+
@keyframes ios-island {
|
|
38
|
+
0%,
|
|
39
|
+
40%,
|
|
40
|
+
100% {
|
|
41
|
+
width: 28px;
|
|
42
|
+
height: 9px;
|
|
43
|
+
}
|
|
44
|
+
55%,
|
|
45
|
+
80% {
|
|
46
|
+
width: 62px;
|
|
47
|
+
height: 16px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.widgets {
|
|
51
|
+
position: absolute;
|
|
52
|
+
inset: 34px 10px 26px;
|
|
53
|
+
display: grid;
|
|
54
|
+
grid-template-columns: 1fr 1fr;
|
|
55
|
+
grid-template-rows: 1fr 1fr 1.2fr;
|
|
56
|
+
gap: 8px;
|
|
57
|
+
transform-style: preserve-3d;
|
|
58
|
+
i {
|
|
59
|
+
border-radius: 9px;
|
|
60
|
+
border: 1px solid tint(45%);
|
|
61
|
+
background: tint(12%);
|
|
62
|
+
@include loop(ios-float 4.6s ease-in-out infinite);
|
|
63
|
+
&:nth-child(1) {
|
|
64
|
+
grid-column: span 2;
|
|
65
|
+
background: linear-gradient(135deg, tint(38%), tint(8%));
|
|
66
|
+
}
|
|
67
|
+
&:nth-child(2) {
|
|
68
|
+
animation-delay: -1.5s;
|
|
69
|
+
}
|
|
70
|
+
&:nth-child(3) {
|
|
71
|
+
animation-delay: -3s;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
@keyframes ios-float {
|
|
76
|
+
0%,
|
|
77
|
+
100% {
|
|
78
|
+
transform: translateZ(4px);
|
|
79
|
+
}
|
|
80
|
+
50% {
|
|
81
|
+
transform: translateZ(24px);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.indicator {
|
|
85
|
+
position: absolute;
|
|
86
|
+
left: 50%;
|
|
87
|
+
bottom: 8px;
|
|
88
|
+
width: 34px;
|
|
89
|
+
height: 3px;
|
|
90
|
+
margin-left: -17px;
|
|
91
|
+
border-radius: 2px;
|
|
92
|
+
background: tint(55%);
|
|
93
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MarkProperties } from "@sharadox/sharadox-web-library/component/service-object/mark/type";
|
|
2
|
+
/**
|
|
3
|
+
* A client's brand mark as the services draw it: a solid diamond in a ring, centered where it is placed. Size it with
|
|
4
|
+
* `--size` in `className`, which can also move and animate it.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Mark className={styles.mark} />
|
|
8
|
+
*/
|
|
9
|
+
export declare function Mark({ className }: MarkProperties): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/mark/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mEAAmE,CAAC;AAExG;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,EAAE,cAAc,+BAEjD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { classNames } from "@sharadox/web-library/class-name";
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
|
+
/**
|
|
5
|
+
* A client's brand mark as the services draw it: a solid diamond in a ring, centered where it is placed. Size it with
|
|
6
|
+
* `--size` in `className`, which can also move and animate it.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <Mark className={styles.mark} />
|
|
10
|
+
*/
|
|
11
|
+
export function Mark({ className }) {
|
|
12
|
+
return _jsx("span", { className: classNames(styles.mark, className) });
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/mark/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,SAAS,EAAkB;IAChD,OAAO,eAAM,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAI,CAAC;AACjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.mark{--size: 36px;position:absolute;left:50%;top:50%;width:var(--size);height:var(--size);margin:calc(var(--size)/-2) 0 0 calc(var(--size)/-2);transform-style:preserve-3d;border-radius:50%;background:var(--background);border:1px solid color-mix(in srgb, var(--foreground) 70%, transparent)}.mark::before{content:"";position:absolute;inset:28%;border:calc(var(--size)/9) solid var(--foreground);border-radius:2px;transform:rotate(45deg)}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.mark {
|
|
4
|
+
--size: 36px;
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: 50%;
|
|
7
|
+
top: 50%;
|
|
8
|
+
width: var(--size);
|
|
9
|
+
height: var(--size);
|
|
10
|
+
margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
|
|
11
|
+
transform-style: preserve-3d;
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
background: var(--background);
|
|
14
|
+
border: 1px solid tint(70%);
|
|
15
|
+
&::before {
|
|
16
|
+
content: "";
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset: 28%;
|
|
19
|
+
border: calc(var(--size) / 9) solid var(--foreground);
|
|
20
|
+
border-radius: 2px;
|
|
21
|
+
transform: rotate(45deg);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/mark/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/service-object/mark/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { PersonProperties } from "@sharadox/sharadox-web-library/component/service-object/person/type";
|
|
2
|
+
/**
|
|
3
|
+
* A person, flat and facing out: a head over a pair of shoulders, centered where it is placed, in the style's colors.
|
|
4
|
+
* Size it with `--size` (its width) and tint it with `--person` (a color) in `className`.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Person className={styles.client} />
|
|
8
|
+
*/
|
|
9
|
+
export declare function Person({ className }: PersonProperties): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/person/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qEAAqE,CAAC;AAE5G;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAErD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { classNames } from "@sharadox/web-library/class-name";
|
|
3
|
+
import styles from "./index.module.css";
|
|
4
|
+
/**
|
|
5
|
+
* A person, flat and facing out: a head over a pair of shoulders, centered where it is placed, in the style's colors.
|
|
6
|
+
* Size it with `--size` (its width) and tint it with `--person` (a color) in `className`.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <Person className={styles.client} />
|
|
10
|
+
*/
|
|
11
|
+
export function Person({ className }) {
|
|
12
|
+
return _jsx("span", { className: classNames(styles.person, className) });
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/person/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;GAMG;AACH,MAAM,UAAU,MAAM,CAAC,EAAE,SAAS,EAAoB;IACpD,OAAO,eAAM,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAI,CAAC;AACnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.person{--size: 22px;--person: color-mix(in srgb, var(--foreground) 55%, transparent);position:absolute;width:var(--size);height:var(--size);margin:calc(var(--size)/-2) 0 0 calc(var(--size)/-2)}.person::before{content:"";position:absolute;left:30%;top:0;width:40%;height:40%;border-radius:50%;background:var(--person)}.person::after{content:"";position:absolute;left:6%;bottom:0;width:88%;height:50%;border-radius:50% 50% 18% 18%/70% 70% 18% 18%;background:var(--person)}@property --person{syntax:"<color>";inherits:true;initial-value:rgba(0,0,0,0)}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.person {
|
|
4
|
+
--size: 22px;
|
|
5
|
+
--person: #{tint(55%)};
|
|
6
|
+
position: absolute;
|
|
7
|
+
width: var(--size);
|
|
8
|
+
height: var(--size);
|
|
9
|
+
margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
|
|
10
|
+
// The head.
|
|
11
|
+
&::before {
|
|
12
|
+
content: "";
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 30%;
|
|
15
|
+
top: 0;
|
|
16
|
+
width: 40%;
|
|
17
|
+
height: 40%;
|
|
18
|
+
border-radius: 50%;
|
|
19
|
+
background: var(--person);
|
|
20
|
+
}
|
|
21
|
+
// The shoulders.
|
|
22
|
+
&::after {
|
|
23
|
+
content: "";
|
|
24
|
+
position: absolute;
|
|
25
|
+
left: 6%;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
width: 88%;
|
|
28
|
+
height: 50%;
|
|
29
|
+
border-radius: 50% 50% 18% 18% / 70% 70% 18% 18%;
|
|
30
|
+
background: var(--person);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
/* Registered, so a change of color can be animated smoothly. */
|
|
34
|
+
@property --person {
|
|
35
|
+
syntax: "<color>";
|
|
36
|
+
inherits: true;
|
|
37
|
+
initial-value: transparent;
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/person/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/service-object/person/type.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* Platforms: a company's way of working, made digital. Its people sit around one system, joined to it by lines; a
|
|
3
|
+
* message leaves one person, goes through the system (whose gear keeps turning and whose tasks tick themselves off)
|
|
4
|
+
* and reaches the next person, who lights up, then that person sends the next one.
|
|
5
|
+
*/
|
|
2
6
|
export declare function Platform(): import("react").JSX.Element;
|
|
3
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/platform/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/platform/index.tsx"],"names":[],"mappings":"AAgCA;;;;GAIG;AACH,wBAAgB,QAAQ,gCAqCvB"}
|