@sharadox/sharadox-web-library 0.18.0 → 0.20.1
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 +3 -2
- package/distribution/component/capability/index.d.ts +1 -1
- package/distribution/component/capability/index.d.ts.map +1 -1
- package/distribution/component/capability/index.js +1 -1
- package/distribution/component/capability/index.js.map +1 -1
- package/distribution/component/capability/index.module.css +1 -1
- package/distribution/component/capability/index.module.scss +1 -1
- package/distribution/component/contact/form/chip/index.d.ts +4 -0
- package/distribution/component/contact/form/chip/index.d.ts.map +1 -0
- package/distribution/component/contact/form/chip/index.js +7 -0
- package/distribution/component/contact/form/chip/index.js.map +1 -0
- package/distribution/component/contact/form/chip/index.module.css +1 -0
- package/distribution/component/contact/form/chip/index.module.scss +59 -0
- package/distribution/component/contact/form/chip/type.d.ts +7 -0
- package/distribution/component/contact/form/chip/type.d.ts.map +1 -0
- package/distribution/component/contact/form/chip/type.js.map +1 -0
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +2 -1
- package/distribution/component/contact/form/index.js.map +1 -1
- package/distribution/component/contact/form/index.module.css +1 -1
- package/distribution/component/contact/form/index.module.scss +17 -60
- package/distribution/component/footer/index.d.ts +3 -3
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +6 -4
- package/distribution/component/footer/index.js.map +1 -1
- package/distribution/component/footer/index.module.css +1 -1
- package/distribution/component/footer/index.module.scss +128 -35
- package/distribution/component/globe/index.module.css +1 -1
- package/distribution/component/globe/index.module.scss +22 -1
- 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 -19
- package/distribution/component/navigation/index.js.map +1 -1
- package/distribution/component/process/index.d.ts.map +1 -1
- package/distribution/component/process/index.js +3 -2
- package/distribution/component/process/index.js.map +1 -1
- package/distribution/component/process/index.module.css +1 -1
- package/distribution/component/process/index.module.scss +4 -2
- package/distribution/component/service-card/index.d.ts +10 -0
- package/distribution/component/service-card/index.d.ts.map +1 -0
- package/distribution/component/service-card/index.js +23 -0
- package/distribution/component/service-card/index.js.map +1 -0
- package/distribution/component/service-card/index.module.css +1 -0
- package/distribution/component/service-card/index.module.scss +59 -0
- package/distribution/component/service-card/type.d.ts +8 -0
- package/distribution/component/service-card/type.d.ts.map +1 -0
- package/distribution/component/service-card/type.js.map +1 -0
- package/distribution/component/service-index/index.d.ts +1 -1
- package/distribution/component/service-index/index.d.ts.map +1 -1
- package/distribution/component/service-index/index.js +3 -2
- package/distribution/component/service-index/index.js.map +1 -1
- package/distribution/component/service-index/index.module.css +1 -1
- package/distribution/component/service-index/index.module.scss +4 -5
- 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 +3 -0
- package/distribution/component/service-object/brand-awareness/index.d.ts.map +1 -0
- package/distribution/component/service-object/brand-awareness/index.js +8 -0
- package/distribution/component/service-object/brand-awareness/index.js.map +1 -0
- package/distribution/component/service-object/brand-awareness/index.module.css +1 -0
- package/distribution/component/service-object/brand-awareness/index.module.scss +89 -0
- package/distribution/component/service-object/branding/index.d.ts +3 -0
- package/distribution/component/service-object/branding/index.d.ts.map +1 -0
- package/distribution/component/service-object/branding/index.js +7 -0
- package/distribution/component/service-object/branding/index.js.map +1 -0
- package/distribution/component/service-object/branding/index.module.css +1 -0
- package/distribution/component/service-object/branding/index.module.scss +63 -0
- package/distribution/component/service-object/branding-design/index.d.ts +3 -0
- package/distribution/component/service-object/branding-design/index.d.ts.map +1 -0
- package/distribution/component/service-object/branding-design/index.js +7 -0
- package/distribution/component/service-object/branding-design/index.js.map +1 -0
- package/distribution/component/service-object/branding-design/index.module.css +1 -0
- package/distribution/component/service-object/branding-design/index.module.scss +61 -0
- package/distribution/component/service-object/cuboid/index.d.ts +11 -0
- package/distribution/component/service-object/cuboid/index.d.ts.map +1 -0
- package/distribution/component/service-object/cuboid/index.js +15 -0
- package/distribution/component/service-object/cuboid/index.js.map +1 -0
- package/distribution/component/service-object/cuboid/index.module.css +1 -0
- package/distribution/component/service-object/cuboid/index.module.scss +61 -0
- package/distribution/component/service-object/cuboid/type.d.ts +10 -0
- package/distribution/component/service-object/cuboid/type.d.ts.map +1 -0
- package/distribution/component/service-object/cuboid/type.js.map +1 -0
- package/distribution/component/service-object/e-commerce/index.d.ts +3 -0
- package/distribution/component/service-object/e-commerce/index.d.ts.map +1 -0
- package/distribution/component/service-object/e-commerce/index.js +8 -0
- package/distribution/component/service-object/e-commerce/index.js.map +1 -0
- package/distribution/component/service-object/e-commerce/index.module.css +1 -0
- package/distribution/component/service-object/e-commerce/index.module.scss +78 -0
- package/distribution/component/service-object/index.d.ts +10 -0
- package/distribution/component/service-object/index.d.ts.map +1 -0
- package/distribution/component/service-object/index.js +45 -0
- package/distribution/component/service-object/index.js.map +1 -0
- package/distribution/component/service-object/index.module.css +1 -0
- package/distribution/component/service-object/index.module.scss +16 -0
- 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/lead-generation/index.d.ts +3 -0
- package/distribution/component/service-object/lead-generation/index.d.ts.map +1 -0
- package/distribution/component/service-object/lead-generation/index.js +7 -0
- package/distribution/component/service-object/lead-generation/index.js.map +1 -0
- package/distribution/component/service-object/lead-generation/index.module.css +1 -0
- package/distribution/component/service-object/lead-generation/index.module.scss +82 -0
- package/distribution/component/service-object/platform/index.d.ts +3 -0
- package/distribution/component/service-object/platform/index.d.ts.map +1 -0
- package/distribution/component/service-object/platform/index.js +8 -0
- package/distribution/component/service-object/platform/index.js.map +1 -0
- package/distribution/component/service-object/platform/index.module.css +1 -0
- package/distribution/component/service-object/platform/index.module.scss +54 -0
- package/distribution/component/service-object/product-launch/index.d.ts +3 -0
- package/distribution/component/service-object/product-launch/index.d.ts.map +1 -0
- package/distribution/component/service-object/product-launch/index.js +8 -0
- package/distribution/component/service-object/product-launch/index.js.map +1 -0
- package/distribution/component/service-object/product-launch/index.module.css +1 -0
- package/distribution/component/service-object/product-launch/index.module.scss +110 -0
- package/distribution/component/service-object/progressive-web-application/index.d.ts +3 -0
- package/distribution/component/service-object/progressive-web-application/index.d.ts.map +1 -0
- package/distribution/component/service-object/progressive-web-application/index.js +8 -0
- package/distribution/component/service-object/progressive-web-application/index.js.map +1 -0
- package/distribution/component/service-object/progressive-web-application/index.module.css +1 -0
- package/distribution/component/service-object/progressive-web-application/index.module.scss +91 -0
- package/distribution/component/service-object/rebranding/index.d.ts +3 -0
- package/distribution/component/service-object/rebranding/index.d.ts.map +1 -0
- package/distribution/component/service-object/rebranding/index.js +8 -0
- package/distribution/component/service-object/rebranding/index.js.map +1 -0
- package/distribution/component/service-object/rebranding/index.module.css +1 -0
- package/distribution/component/service-object/rebranding/index.module.scss +76 -0
- package/distribution/component/service-object/sales-generation/index.d.ts +3 -0
- package/distribution/component/service-object/sales-generation/index.d.ts.map +1 -0
- package/distribution/component/service-object/sales-generation/index.js +8 -0
- package/distribution/component/service-object/sales-generation/index.js.map +1 -0
- package/distribution/component/service-object/sales-generation/index.module.css +1 -0
- package/distribution/component/service-object/sales-generation/index.module.scss +65 -0
- package/distribution/component/service-object/social-media-strategy/index.d.ts +3 -0
- package/distribution/component/service-object/social-media-strategy/index.d.ts.map +1 -0
- package/distribution/component/service-object/social-media-strategy/index.js +7 -0
- package/distribution/component/service-object/social-media-strategy/index.js.map +1 -0
- package/distribution/component/service-object/social-media-strategy/index.module.css +1 -0
- package/distribution/component/service-object/social-media-strategy/index.module.scss +77 -0
- package/distribution/component/service-object/type.d.ts +6 -0
- package/distribution/component/service-object/type.d.ts.map +1 -0
- package/distribution/component/service-object/type.js.map +1 -0
- package/distribution/component/service-object/website/index.d.ts +3 -0
- package/distribution/component/service-object/website/index.d.ts.map +1 -0
- package/distribution/component/service-object/website/index.js +7 -0
- package/distribution/component/service-object/website/index.js.map +1 -0
- package/distribution/component/service-object/website/index.module.css +1 -0
- package/distribution/component/service-object/website/index.module.scss +73 -0
- package/distribution/component/services/index.d.ts +4 -1
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +6 -17
- 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 +49 -43
- 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 +13 -10
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +85 -29
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +10 -7
- package/distribution/content/contact/index.js.map +1 -1
- package/distribution/content/footer/index.d.ts +5 -0
- package/distribution/content/footer/index.d.ts.map +1 -1
- package/distribution/content/footer/index.js +2 -0
- package/distribution/content/footer/index.js.map +1 -1
- package/distribution/content/hero/index.d.ts +1 -1
- package/distribution/content/hero/index.js +1 -1
- package/distribution/content/hero/index.js.map +1 -1
- package/distribution/content/services/index.d.ts +286 -132
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +172 -105
- 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 +12 -8
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/style/object/index.scss +28 -0
- package/distribution/utility/llms-text/index.js +1 -1
- package/distribution/utility/llms-text/index.js.map +1 -1
- package/llms.txt +5 -2
- package/package.json +2 -1
- package/distribution/component/service-action/index.d.ts +0 -10
- package/distribution/component/service-action/index.d.ts.map +0 -1
- package/distribution/component/service-action/index.js +0 -18
- package/distribution/component/service-action/index.js.map +0 -1
- package/distribution/component/service-action/index.module.css +0 -1
- package/distribution/component/service-action/index.module.scss +0 -6
- package/distribution/component/service-action/type.d.ts +0 -7
- package/distribution/component/service-action/type.d.ts.map +0 -1
- package/distribution/component/service-action/type.js.map +0 -1
- package/distribution/component/services/campaign-visual/index.d.ts +0 -4
- package/distribution/component/services/campaign-visual/index.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/index.js +0 -19
- package/distribution/component/services/campaign-visual/index.js.map +0 -1
- package/distribution/component/services/campaign-visual/index.module.css +0 -1
- package/distribution/component/services/campaign-visual/index.module.scss +0 -125
- package/distribution/component/services/campaign-visual/stage/index.d.ts +0 -4
- package/distribution/component/services/campaign-visual/stage/index.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/stage/index.js +0 -11
- package/distribution/component/services/campaign-visual/stage/index.js.map +0 -1
- package/distribution/component/services/campaign-visual/stage/type.d.ts +0 -10
- package/distribution/component/services/campaign-visual/stage/type.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/stage/type.js.map +0 -1
- package/distribution/component/services/campaign-visual/type.d.ts +0 -5
- package/distribution/component/services/campaign-visual/type.d.ts.map +0 -1
- package/distribution/component/services/campaign-visual/type.js.map +0 -1
- package/distribution/component/services/cell/index.d.ts +0 -7
- package/distribution/component/services/cell/index.d.ts.map +0 -1
- package/distribution/component/services/cell/index.js +0 -16
- package/distribution/component/services/cell/index.js.map +0 -1
- package/distribution/component/services/cell/index.module.css +0 -1
- package/distribution/component/services/cell/index.module.scss +0 -81
- package/distribution/component/services/cell/type.d.ts +0 -16
- package/distribution/component/services/cell/type.d.ts.map +0 -1
- package/distribution/component/services/cell/type.js.map +0 -1
- package/distribution/component/services/design-visual/index.d.ts +0 -5
- package/distribution/component/services/design-visual/index.d.ts.map +0 -1
- package/distribution/component/services/design-visual/index.js +0 -21
- package/distribution/component/services/design-visual/index.js.map +0 -1
- package/distribution/component/services/design-visual/index.module.css +0 -1
- package/distribution/component/services/design-visual/index.module.scss +0 -119
- package/distribution/component/services/mobile-visual/index.d.ts +0 -4
- package/distribution/component/services/mobile-visual/index.d.ts.map +0 -1
- package/distribution/component/services/mobile-visual/index.js +0 -18
- package/distribution/component/services/mobile-visual/index.js.map +0 -1
- package/distribution/component/services/mobile-visual/index.module.css +0 -1
- package/distribution/component/services/mobile-visual/index.module.scss +0 -93
- package/distribution/component/services/mobile-visual/type.d.ts +0 -5
- package/distribution/component/services/mobile-visual/type.d.ts.map +0 -1
- package/distribution/component/services/mobile-visual/type.js +0 -2
- package/distribution/component/services/mobile-visual/type.js.map +0 -1
- package/distribution/component/services/platform-visual/index.d.ts +0 -3
- package/distribution/component/services/platform-visual/index.d.ts.map +0 -1
- package/distribution/component/services/platform-visual/index.js +0 -16
- package/distribution/component/services/platform-visual/index.js.map +0 -1
- package/distribution/component/services/platform-visual/index.module.css +0 -1
- package/distribution/component/services/platform-visual/index.module.scss +0 -39
- package/distribution/component/services/social-visual/index.d.ts +0 -4
- package/distribution/component/services/social-visual/index.d.ts.map +0 -1
- package/distribution/component/services/social-visual/index.js +0 -18
- package/distribution/component/services/social-visual/index.js.map +0 -1
- package/distribution/component/services/social-visual/index.module.css +0 -1
- package/distribution/component/services/social-visual/index.module.scss +0 -123
- package/distribution/component/services/social-visual/type.d.ts +0 -5
- package/distribution/component/services/social-visual/type.d.ts.map +0 -1
- package/distribution/component/services/social-visual/type.js +0 -2
- package/distribution/component/services/social-visual/type.js.map +0 -1
- package/distribution/component/services/web-visual/index.d.ts +0 -3
- package/distribution/component/services/web-visual/index.d.ts.map +0 -1
- package/distribution/component/services/web-visual/index.js +0 -26
- package/distribution/component/services/web-visual/index.js.map +0 -1
- package/distribution/component/services/web-visual/index.module.css +0 -1
- package/distribution/component/services/web-visual/index.module.scss +0 -133
- package/distribution/content/services/type.d.ts +0 -8
- package/distribution/content/services/type.d.ts.map +0 -1
- package/distribution/content/services/type.js +0 -2
- package/distribution/content/services/type.js.map +0 -1
- /package/distribution/component/{service-action → contact/form/chip}/type.js +0 -0
- /package/distribution/component/{services/campaign-visual/stage → service-card}/type.js +0 -0
- /package/distribution/component/{services/campaign-visual → service-object/cuboid}/type.js +0 -0
- /package/distribution/component/{services/cell → service-object}/type.js +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AndroidApplication } from "@sharadox/sharadox-web-library/component/service-object/android-application";
|
|
3
|
+
import { BrandAwareness } from "@sharadox/sharadox-web-library/component/service-object/brand-awareness";
|
|
4
|
+
import { Branding } from "@sharadox/sharadox-web-library/component/service-object/branding";
|
|
5
|
+
import { BrandingDesign } from "@sharadox/sharadox-web-library/component/service-object/branding-design";
|
|
6
|
+
import { ECommerce } from "@sharadox/sharadox-web-library/component/service-object/e-commerce";
|
|
7
|
+
import { IosApplication } from "@sharadox/sharadox-web-library/component/service-object/ios-application";
|
|
8
|
+
import { LeadGeneration } from "@sharadox/sharadox-web-library/component/service-object/lead-generation";
|
|
9
|
+
import { Platform } from "@sharadox/sharadox-web-library/component/service-object/platform";
|
|
10
|
+
import { ProductLaunch } from "@sharadox/sharadox-web-library/component/service-object/product-launch";
|
|
11
|
+
import { ProgressiveWebApplication } from "@sharadox/sharadox-web-library/component/service-object/progressive-web-application";
|
|
12
|
+
import { Rebranding } from "@sharadox/sharadox-web-library/component/service-object/rebranding";
|
|
13
|
+
import { SalesGeneration } from "@sharadox/sharadox-web-library/component/service-object/sales-generation";
|
|
14
|
+
import { SocialMediaStrategy } from "@sharadox/sharadox-web-library/component/service-object/social-media-strategy";
|
|
15
|
+
import { Website } from "@sharadox/sharadox-web-library/component/service-object/website";
|
|
16
|
+
import styles from "./index.module.css";
|
|
17
|
+
/** Each service card's own object. */
|
|
18
|
+
const OBJECTS = {
|
|
19
|
+
website: Website,
|
|
20
|
+
platform: Platform,
|
|
21
|
+
"e-commerce": ECommerce,
|
|
22
|
+
"android-application": AndroidApplication,
|
|
23
|
+
"ios-application": IosApplication,
|
|
24
|
+
"progressive-web-application": ProgressiveWebApplication,
|
|
25
|
+
branding: Branding,
|
|
26
|
+
rebranding: Rebranding,
|
|
27
|
+
"branding-design": BrandingDesign,
|
|
28
|
+
"product-launch": ProductLaunch,
|
|
29
|
+
"lead-generation": LeadGeneration,
|
|
30
|
+
"sales-generation": SalesGeneration,
|
|
31
|
+
"brand-awareness": BrandAwareness,
|
|
32
|
+
"social-media-strategy": SocialMediaStrategy,
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* A service card's animated 3D object, in CSS 3D and the style's colors. It turns towards the pointer through the
|
|
36
|
+
* `--tilt-x` and `--tilt-y` its card sets (`useTilt`), on top of its own animation, which holds still with reduced motion.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* <ServiceObject kind="website" />
|
|
40
|
+
*/
|
|
41
|
+
export function ServiceObject({ kind }) {
|
|
42
|
+
const Shape = OBJECTS[kind];
|
|
43
|
+
return (_jsx("div", { className: styles.stage, "aria-hidden": true, children: _jsx("div", { className: styles.view, children: _jsx(Shape, {}) }) }));
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,cAAc,EAAE,MAAM,yEAAyE,CAAC;AACzG,OAAO,EAAE,QAAQ,EAAE,MAAM,kEAAkE,CAAC;AAC5F,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,qBAAqB,EAAE,kBAAkB;IACzC,iBAAiB,EAAE,cAAc;IACjC,6BAA6B,EAAE,yBAAyB;IACxD,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,UAAU;IACtB,iBAAiB,EAAE,cAAc;IACjC,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
|
+
.stage{position:absolute;inset:0;perspective:900px;overflow:hidden}.view{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));transition:transform .7s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.stage {
|
|
4
|
+
position: absolute;
|
|
5
|
+
inset: 0;
|
|
6
|
+
perspective: 900px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
}
|
|
9
|
+
/* Turns towards the pointer (from the card's tilt), easing there and back. */
|
|
10
|
+
.view {
|
|
11
|
+
position: absolute;
|
|
12
|
+
inset: 0;
|
|
13
|
+
transform-style: preserve-3d;
|
|
14
|
+
transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
|
|
15
|
+
transition: transform 0.7s $ease;
|
|
16
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/lead-generation/index.tsx"],"names":[],"mappings":"AAEA,qHAAqH;AACrH,wBAAgB,cAAc,gCAc7B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import styles from "./index.module.css";
|
|
3
|
+
/** Lead generation: a funnel of rings turning slowly, with people dropping in at the top and coming out as leads. */
|
|
4
|
+
export function LeadGeneration() {
|
|
5
|
+
return (_jsxs("div", { className: styles.object, children: [[0, 1, 2, 3, 4].map((ring) => (_jsx("span", { className: styles.ring, "data-ring": ring }, ring))), [0, 1, 2, 3, 4, 5].map((dot) => (_jsx("span", { className: styles.path, style: { transform: `rotateY(${dot * 60}deg)` }, children: _jsx("i", { style: { animationDelay: `${dot * 0.5}s` } }) }, dot))), _jsx("span", { className: styles.lead })] }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/lead-generation/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,qHAAqH;AACrH,MAAM,UAAU,cAAc;IAC5B,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC1B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC7B,eAAiB,SAAS,EAAE,MAAM,CAAC,IAAI,eAAa,IAAI,IAA7C,IAAI,CAA6C,CAC7D,CAAC,EACD,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAC/B,eAAgB,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,WAAW,GAAG,GAAG,EAAE,MAAM,EAAE,YACrF,YAAG,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,GAAI,IADxC,GAAG,CAEP,CACR,CAAC,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC5B,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:lead-turn 18s linear infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(10px) rotateX(-22deg) rotateY(0deg)}@keyframes lead-turn{to{transform:translateY(10px) rotateX(-22deg) rotateY(360deg)}}.ring{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 55%, transparent);background:color-mix(in srgb, var(--foreground) 3%, transparent)}.ring[data-ring="0"]{width:160px;height:160px;margin:-80px 0 0 -80px;transform:translateY(-62px) rotateX(90deg)}.ring[data-ring="1"]{width:124px;height:124px;margin:-62px 0 0 -62px;transform:translateY(-34px) rotateX(90deg)}.ring[data-ring="2"]{width:88px;height:88px;margin:-44px 0 0 -44px;transform:translateY(-6px) rotateX(90deg)}.ring[data-ring="3"]{width:52px;height:52px;margin:-26px 0 0 -26px;transform:translateY(22px) rotateX(90deg)}.ring[data-ring="4"]{width:26px;height:26px;margin:-13px 0 0 -13px;transform:translateY(50px) rotateX(90deg)}.path{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d}.path i{position:absolute;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:50%;background:var(--foreground);box-shadow:0 0 8px color-mix(in srgb, var(--foreground) 60%, transparent);opacity:0;animation:lead-fall 3s cubic-bezier(0.45, 0, 0.7, 1) infinite}@media(prefers-reduced-motion: reduce){.path i{animation:none}}@keyframes lead-fall{0%{transform:translate3d(0, -110px, 70px);opacity:0}15%{opacity:1}40%{transform:translate3d(0, -62px, 74px)}85%{transform:translate3d(0, 50px, 0);opacity:1}100%{transform:translate3d(0, 82px, 0);opacity:0}}.lead{position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;transform-style:preserve-3d;border-radius:50%;background:var(--foreground);transform:translateY(82px);box-shadow:0 0 16px color-mix(in srgb, var(--foreground) 60%, transparent);animation:lead-pulse .5s ease-in-out infinite alternate}@media(prefers-reduced-motion: reduce){.lead{animation:none}}@keyframes lead-pulse{to{box-shadow:0 0 26px 4px color-mix(in srgb, var(--foreground) 70%, transparent)}}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "style/token" as *;
|
|
3
|
+
@use "style/object" as *;
|
|
4
|
+
|
|
5
|
+
.object {
|
|
6
|
+
@include centered(0px, 0px);
|
|
7
|
+
@include loop(lead-turn 18s linear infinite);
|
|
8
|
+
transform: translateY(10px) rotateX(-22deg) rotateY(0deg);
|
|
9
|
+
}
|
|
10
|
+
@keyframes lead-turn {
|
|
11
|
+
to {
|
|
12
|
+
transform: translateY(10px) rotateX(-22deg) rotateY(360deg);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
$sizes: 160px, 124px, 88px, 52px, 26px;
|
|
16
|
+
$heights:
|
|
17
|
+
-62px,
|
|
18
|
+
-34px,
|
|
19
|
+
-6px,
|
|
20
|
+
22px,
|
|
21
|
+
50px;
|
|
22
|
+
.ring {
|
|
23
|
+
@include centered(0px, 0px);
|
|
24
|
+
border-radius: 50%;
|
|
25
|
+
border: 1px solid tint(55%);
|
|
26
|
+
background: tint(3%);
|
|
27
|
+
@for $index from 0 through 4 {
|
|
28
|
+
&[data-ring="#{$index}"] {
|
|
29
|
+
width: list.nth($sizes, $index + 1);
|
|
30
|
+
height: list.nth($sizes, $index + 1);
|
|
31
|
+
margin: (-0.5 * list.nth($sizes, $index + 1)) 0 0 (-0.5 * list.nth($sizes, $index + 1));
|
|
32
|
+
transform: translateY(list.nth($heights, $index + 1)) rotateX(90deg);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.path {
|
|
37
|
+
@include centered(0px, 0px);
|
|
38
|
+
i {
|
|
39
|
+
position: absolute;
|
|
40
|
+
width: 8px;
|
|
41
|
+
height: 8px;
|
|
42
|
+
margin: -4px 0 0 -4px;
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
background: var(--foreground);
|
|
45
|
+
box-shadow: 0 0 8px tint(60%);
|
|
46
|
+
opacity: 0;
|
|
47
|
+
@include loop(lead-fall 3s cubic-bezier(0.45, 0, 0.7, 1) infinite);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@keyframes lead-fall {
|
|
51
|
+
0% {
|
|
52
|
+
transform: translate3d(0, -110px, 70px);
|
|
53
|
+
opacity: 0;
|
|
54
|
+
}
|
|
55
|
+
15% {
|
|
56
|
+
opacity: 1;
|
|
57
|
+
}
|
|
58
|
+
40% {
|
|
59
|
+
transform: translate3d(0, -62px, 74px);
|
|
60
|
+
}
|
|
61
|
+
85% {
|
|
62
|
+
transform: translate3d(0, 50px, 0);
|
|
63
|
+
opacity: 1;
|
|
64
|
+
}
|
|
65
|
+
100% {
|
|
66
|
+
transform: translate3d(0, 82px, 0);
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.lead {
|
|
71
|
+
@include centered(14px, 14px);
|
|
72
|
+
border-radius: 50%;
|
|
73
|
+
background: var(--foreground);
|
|
74
|
+
transform: translateY(82px);
|
|
75
|
+
box-shadow: 0 0 16px tint(60%);
|
|
76
|
+
@include loop(lead-pulse 0.5s ease-in-out infinite alternate);
|
|
77
|
+
}
|
|
78
|
+
@keyframes lead-pulse {
|
|
79
|
+
to {
|
|
80
|
+
box-shadow: 0 0 26px 4px tint(70%);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/platform/index.tsx"],"names":[],"mappings":"AAGA,yHAAyH;AACzH,wBAAgB,QAAQ,gCAavB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
/** Platforms: four layers of one system, turning slowly, with a signal lighting them in turn and a core through them. */
|
|
5
|
+
export function Platform() {
|
|
6
|
+
return (_jsxs("div", { className: styles.object, children: [_jsx("div", { className: styles.core }), [0, 1, 2, 3].map((layer) => (_jsx(Cuboid, { className: styles.slab, top: _jsx("span", { className: styles.signal, style: { animationDelay: `${layer * -0.45}s` } }) }, layer)))] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/platform/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,yHAAyH;AACzH,MAAM,UAAU,QAAQ;IACtB,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAC9B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3B,KAAC,MAAM,IAEL,SAAS,EAAE,MAAM,CAAC,IAAI,EACtB,GAAG,EAAE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,KAAK,GAAG,CAAC,IAAI,GAAG,EAAE,GAAI,IAFlF,KAAK,CAGV,CACH,CAAC,IACE,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:platform-turn 26s linear infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-28deg) rotateY(45deg)}@keyframes platform-turn{to{transform:rotateX(-28deg) rotateY(405deg)}}.slab{--width: 112px;--height: 10px;--depth: 112px}.slab:nth-child(2){transform:translateY(-54px)}.slab:nth-child(3){transform:translateY(-18px)}.slab:nth-child(4){transform:translateY(18px)}.slab:nth-child(5){transform:translateY(54px)}.signal{position:absolute;inset:10px;border-radius:4px;background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 60%, transparent) 1px, transparent 1.5px) 0 0/10px 10px;border:1px solid color-mix(in srgb, var(--foreground) 70%, transparent);opacity:.15;animation:platform-signal 1.8s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.signal{animation:none}}@keyframes platform-signal{0%,60%,100%{opacity:.15}20%{opacity:1}}.core{position:absolute;left:50%;top:50%;width:2px;height:140px;margin:-70px 0 0 -1px;transform-style:preserve-3d;background:linear-gradient(180deg, transparent, color-mix(in srgb, var(--foreground) 70%, transparent), transparent);box-shadow:0 0 10px color-mix(in srgb, var(--foreground) 50%, transparent)}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
.object {
|
|
5
|
+
@include centered(0px, 0px);
|
|
6
|
+
@include loop(platform-turn 26s linear infinite);
|
|
7
|
+
transform: rotateX(-28deg) rotateY(45deg);
|
|
8
|
+
}
|
|
9
|
+
@keyframes platform-turn {
|
|
10
|
+
to {
|
|
11
|
+
transform: rotateX(-28deg) rotateY(405deg);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.slab {
|
|
15
|
+
--width: 112px;
|
|
16
|
+
--height: 10px;
|
|
17
|
+
--depth: 112px;
|
|
18
|
+
&:nth-child(2) {
|
|
19
|
+
transform: translateY(-54px);
|
|
20
|
+
}
|
|
21
|
+
&:nth-child(3) {
|
|
22
|
+
transform: translateY(-18px);
|
|
23
|
+
}
|
|
24
|
+
&:nth-child(4) {
|
|
25
|
+
transform: translateY(18px);
|
|
26
|
+
}
|
|
27
|
+
&:nth-child(5) {
|
|
28
|
+
transform: translateY(54px);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.signal {
|
|
32
|
+
position: absolute;
|
|
33
|
+
inset: 10px;
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
background: radial-gradient(circle, tint(60%) 1px, transparent 1.5px) 0 0 / 10px 10px;
|
|
36
|
+
border: 1px solid tint(70%);
|
|
37
|
+
opacity: 0.15;
|
|
38
|
+
@include loop(platform-signal 1.8s ease-in-out infinite);
|
|
39
|
+
}
|
|
40
|
+
@keyframes platform-signal {
|
|
41
|
+
0%,
|
|
42
|
+
60%,
|
|
43
|
+
100% {
|
|
44
|
+
opacity: 0.15;
|
|
45
|
+
}
|
|
46
|
+
20% {
|
|
47
|
+
opacity: 1;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
.core {
|
|
51
|
+
@include centered(2px, 140px);
|
|
52
|
+
background: linear-gradient(180deg, transparent, tint(70%), transparent);
|
|
53
|
+
box-shadow: 0 0 10px tint(50%);
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":"AAGA,yHAAyH;AACzH,wBAAgB,aAAa,gCAc5B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
/** Product launches: a product lifting off its pad with a trail, shock rings spreading over the pad, again and again. */
|
|
5
|
+
export function ProductLaunch() {
|
|
6
|
+
return (_jsxs("div", { className: styles.object, children: [_jsxs("div", { className: styles.pad, children: [_jsx("i", {}), _jsx("i", {})] }), _jsxs("div", { className: styles.flight, children: [_jsx("span", { className: styles.trail }), _jsx(Cuboid, { className: styles.body }), _jsx(Cuboid, { className: styles.nose })] })] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/product-launch/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,yHAAyH;AACzH,MAAM,UAAU,aAAa;IAC3B,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,aAAK,EACL,aAAK,IACD,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACjC,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAClC,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC9B,IACF,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:launch-turn 20s linear infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:translateY(40px) rotateX(-20deg) rotateY(30deg)}@keyframes launch-turn{to{transform:translateY(40px) rotateX(-20deg) rotateY(390deg)}}.pad{position:absolute;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;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) 35%, transparent);border-radius:50%;transform:translateY(26px) rotateX(90deg);background:radial-gradient(circle, color-mix(in srgb, var(--foreground) 22%, transparent) 1px, transparent 1.5px) 0 0/12px 12px}.pad i{position:absolute;inset:40%;border-radius:50%;border:1.5px solid color-mix(in srgb, var(--foreground) 70%, transparent);opacity:0;animation:launch-ring 3.4s ease-out infinite}@media(prefers-reduced-motion: reduce){.pad i{animation:none}}.pad i:nth-child(2){animation-delay:.3s}@keyframes launch-ring{0%,8%{inset:40%;opacity:0}12%{opacity:1}60%,100%{inset:-4%;opacity:0}}.flight{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;animation:launch-flight 3.4s cubic-bezier(0.55, 0, 0.8, 0.4) infinite}@media(prefers-reduced-motion: reduce){.flight{animation:none}}@keyframes launch-flight{0%,10%{transform:translateY(0) scale(1)}70%{transform:translateY(-190px) scale(1)}71%{transform:translateY(-190px) scale(0)}72%{transform:translateY(60px) scale(0)}80%{transform:translateY(60px) scale(1)}100%{transform:translateY(0) scale(1)}}.body{--width: 26px;--height: 54px;--depth: 26px;--fill-amount: 10%;--edge-amount: 70%;transform:translateY(-2px)}.nose{--width: 14px;--height: 14px;--depth: 14px;--fill-amount: 30%;--edge-amount: 80%;transform:translateY(-38px)}.trail{position:absolute;left:50%;top:50%;width:3px;height:90px;margin:-45px 0 0 -1.5px;transform-style:preserve-3d;transform:translateY(70px);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 70%, transparent), transparent);box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 40%, transparent);opacity:0;animation:launch-trail 3.4s linear infinite}@media(prefers-reduced-motion: reduce){.trail{animation:none}}@keyframes launch-trail{0%,10%{opacity:0}20%,66%{opacity:1}70%,100%{opacity:0}}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
.object {
|
|
5
|
+
@include centered(0px, 0px);
|
|
6
|
+
@include loop(launch-turn 20s linear infinite);
|
|
7
|
+
transform: translateY(40px) rotateX(-20deg) rotateY(30deg);
|
|
8
|
+
}
|
|
9
|
+
@keyframes launch-turn {
|
|
10
|
+
to {
|
|
11
|
+
transform: translateY(40px) rotateX(-20deg) rotateY(390deg);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.pad {
|
|
15
|
+
@include centered(150px, 150px);
|
|
16
|
+
@include face(4%, 35%);
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
transform: translateY(26px) rotateX(90deg);
|
|
19
|
+
background: radial-gradient(circle, tint(22%) 1px, transparent 1.5px) 0 0 / 12px 12px;
|
|
20
|
+
i {
|
|
21
|
+
position: absolute;
|
|
22
|
+
inset: 40%;
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
border: 1.5px solid tint(70%);
|
|
25
|
+
opacity: 0;
|
|
26
|
+
@include loop(launch-ring 3.4s ease-out infinite);
|
|
27
|
+
&:nth-child(2) {
|
|
28
|
+
animation-delay: 0.3s;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@keyframes launch-ring {
|
|
33
|
+
0%,
|
|
34
|
+
8% {
|
|
35
|
+
inset: 40%;
|
|
36
|
+
opacity: 0;
|
|
37
|
+
}
|
|
38
|
+
12% {
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
60%,
|
|
42
|
+
100% {
|
|
43
|
+
inset: -4%;
|
|
44
|
+
opacity: 0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
.flight {
|
|
48
|
+
@include centered(0px, 0px);
|
|
49
|
+
@include loop(launch-flight 3.4s cubic-bezier(0.55, 0, 0.8, 0.4) infinite);
|
|
50
|
+
}
|
|
51
|
+
@keyframes launch-flight {
|
|
52
|
+
0%,
|
|
53
|
+
10% {
|
|
54
|
+
transform: translateY(0) scale(1);
|
|
55
|
+
}
|
|
56
|
+
70% {
|
|
57
|
+
transform: translateY(-190px) scale(1);
|
|
58
|
+
}
|
|
59
|
+
71% {
|
|
60
|
+
transform: translateY(-190px) scale(0);
|
|
61
|
+
}
|
|
62
|
+
72% {
|
|
63
|
+
transform: translateY(60px) scale(0);
|
|
64
|
+
}
|
|
65
|
+
80% {
|
|
66
|
+
transform: translateY(60px) scale(1);
|
|
67
|
+
}
|
|
68
|
+
100% {
|
|
69
|
+
transform: translateY(0) scale(1);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.body {
|
|
73
|
+
--width: 26px;
|
|
74
|
+
--height: 54px;
|
|
75
|
+
--depth: 26px;
|
|
76
|
+
--fill-amount: 10%;
|
|
77
|
+
--edge-amount: 70%;
|
|
78
|
+
transform: translateY(-2px);
|
|
79
|
+
}
|
|
80
|
+
.nose {
|
|
81
|
+
--width: 14px;
|
|
82
|
+
--height: 14px;
|
|
83
|
+
--depth: 14px;
|
|
84
|
+
--fill-amount: 30%;
|
|
85
|
+
--edge-amount: 80%;
|
|
86
|
+
transform: translateY(-38px);
|
|
87
|
+
}
|
|
88
|
+
.trail {
|
|
89
|
+
@include centered(3px, 90px);
|
|
90
|
+
transform: translateY(70px);
|
|
91
|
+
background: linear-gradient(180deg, tint(70%), transparent);
|
|
92
|
+
box-shadow: 0 0 12px tint(40%);
|
|
93
|
+
opacity: 0;
|
|
94
|
+
@include loop(launch-trail 3.4s linear infinite);
|
|
95
|
+
}
|
|
96
|
+
/* The trail only shows in flight, not standing on the pad. */
|
|
97
|
+
@keyframes launch-trail {
|
|
98
|
+
0%,
|
|
99
|
+
10% {
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
20%,
|
|
103
|
+
66% {
|
|
104
|
+
opacity: 1;
|
|
105
|
+
}
|
|
106
|
+
70%,
|
|
107
|
+
100% {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/progressive-web-application/index.tsx"],"names":[],"mappings":"AAGA,oHAAoH;AACpH,wBAAgB,yBAAyB,gCAcxC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
+
/** Progressive web applications: a website whose app icon lifts out of the page and turns, installed in one tap. */
|
|
5
|
+
export function ProgressiveWebApplication() {
|
|
6
|
+
return (_jsxs("div", { className: styles.object, children: [_jsxs("div", { className: styles.window, children: [_jsx("span", { className: styles.bar, children: _jsx("i", {}) }), _jsx("span", { className: styles.slot })] }), _jsx("div", { className: styles.lift, children: _jsx(Cuboid, { className: styles.icon, front: _jsx("span", { className: styles.plus }) }) })] }));
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/progressive-web-application/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,oHAAoH;AACpH,MAAM,UAAU,yBAAyB;IACvC,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,YACzB,aAAK,GACA,EACP,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC5B,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,YACzB,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,GAAI,GACvE,IACF,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:pwa-sway 9s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-18deg) rotateY(28deg)}@keyframes pwa-sway{0%,100%{transform:rotateX(-18deg) rotateY(32deg)}50%{transform:rotateX(-12deg) rotateY(8deg)}}.window{position:absolute;left:50%;top:50%;width:168px;height:116px;margin:-58px 0 0 -84px;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) 42%, transparent);border-radius:8px;transform:translateZ(-20px)}.bar{display:block;padding:7px 10px;border-bottom:1px solid color-mix(in srgb, var(--foreground) 18%, transparent)}.bar i{display:block;height:6px;width:60%;margin:0 auto;border-radius:3px;background:color-mix(in srgb, var(--foreground) 25%, transparent)}.slot{position:absolute;left:50%;top:50%;width:40px;height:40px;margin:-14px 0 0 -20px;border-radius:10px;border:1px dashed color-mix(in srgb, var(--foreground) 45%, transparent)}.lift{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translate3d(0, 6px, -20px);animation:pwa-install 4.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.lift{animation:none}}@keyframes pwa-install{0%,15%{transform:translate3d(0, 6px, -14px) rotateY(0deg)}55%,75%{transform:translate3d(0, -26px, 56px) rotateY(360deg)}100%{transform:translate3d(0, 6px, -14px) rotateY(360deg)}}.icon{--width: 40px;--height: 40px;--depth: 10px;--radius: 10px;--front-amount: 28%;--edge-amount: 75%}.plus{position:absolute;inset:0}.plus::before,.plus::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;margin:-1px 0 0 -8px;border-radius:1px;background:var(--foreground)}.plus::after{transform:rotate(90deg)}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
@use "style/object" as *;
|
|
3
|
+
|
|
4
|
+
.object {
|
|
5
|
+
@include centered(0px, 0px);
|
|
6
|
+
@include loop(pwa-sway 9s ease-in-out infinite);
|
|
7
|
+
transform: rotateX(-18deg) rotateY(28deg);
|
|
8
|
+
}
|
|
9
|
+
@keyframes pwa-sway {
|
|
10
|
+
0%,
|
|
11
|
+
100% {
|
|
12
|
+
transform: rotateX(-18deg) rotateY(32deg);
|
|
13
|
+
}
|
|
14
|
+
50% {
|
|
15
|
+
transform: rotateX(-12deg) rotateY(8deg);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.window {
|
|
19
|
+
@include centered(168px, 116px);
|
|
20
|
+
@include face(4%, 42%);
|
|
21
|
+
border-radius: 8px;
|
|
22
|
+
transform: translateZ(-20px);
|
|
23
|
+
}
|
|
24
|
+
.bar {
|
|
25
|
+
display: block;
|
|
26
|
+
padding: 7px 10px;
|
|
27
|
+
border-bottom: 1px solid tint(18%);
|
|
28
|
+
i {
|
|
29
|
+
display: block;
|
|
30
|
+
height: 6px;
|
|
31
|
+
width: 60%;
|
|
32
|
+
margin: 0 auto;
|
|
33
|
+
border-radius: 3px;
|
|
34
|
+
background: tint(25%);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.slot {
|
|
38
|
+
position: absolute;
|
|
39
|
+
left: 50%;
|
|
40
|
+
top: 50%;
|
|
41
|
+
width: 40px;
|
|
42
|
+
height: 40px;
|
|
43
|
+
margin: -14px 0 0 -20px;
|
|
44
|
+
border-radius: 10px;
|
|
45
|
+
border: 1px dashed tint(45%);
|
|
46
|
+
}
|
|
47
|
+
.lift {
|
|
48
|
+
@include centered(0px, 0px);
|
|
49
|
+
transform: translate3d(0, 6px, -20px);
|
|
50
|
+
@include loop(pwa-install 4.2s $ease infinite);
|
|
51
|
+
}
|
|
52
|
+
@keyframes pwa-install {
|
|
53
|
+
0%,
|
|
54
|
+
15% {
|
|
55
|
+
transform: translate3d(0, 6px, -14px) rotateY(0deg);
|
|
56
|
+
}
|
|
57
|
+
55%,
|
|
58
|
+
75% {
|
|
59
|
+
transform: translate3d(0, -26px, 56px) rotateY(360deg);
|
|
60
|
+
}
|
|
61
|
+
100% {
|
|
62
|
+
transform: translate3d(0, 6px, -14px) rotateY(360deg);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.icon {
|
|
66
|
+
--width: 40px;
|
|
67
|
+
--height: 40px;
|
|
68
|
+
--depth: 10px;
|
|
69
|
+
--radius: 10px;
|
|
70
|
+
--front-amount: 28%;
|
|
71
|
+
--edge-amount: 75%;
|
|
72
|
+
}
|
|
73
|
+
.plus {
|
|
74
|
+
position: absolute;
|
|
75
|
+
inset: 0;
|
|
76
|
+
&::before,
|
|
77
|
+
&::after {
|
|
78
|
+
content: "";
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: 50%;
|
|
81
|
+
top: 50%;
|
|
82
|
+
width: 16px;
|
|
83
|
+
height: 2px;
|
|
84
|
+
margin: -1px 0 0 -8px;
|
|
85
|
+
border-radius: 1px;
|
|
86
|
+
background: var(--foreground);
|
|
87
|
+
}
|
|
88
|
+
&::after {
|
|
89
|
+
transform: rotate(90deg);
|
|
90
|
+
}
|
|
91
|
+
}
|