@sharadox/sharadox-web-library 0.0.0-stage → 0.2.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/LICENCA.md +89 -0
- package/LICENSE.md +89 -0
- package/NOTICE.md +3 -0
- package/README.md +14 -2
- package/distribution/action/send-contact/index.d.ts +9 -0
- package/distribution/action/send-contact/index.d.ts.map +1 -0
- package/distribution/action/send-contact/index.js +50 -0
- package/distribution/action/send-contact/index.js.map +1 -0
- package/distribution/action/send-contact/type.d.ts +5 -0
- package/distribution/action/send-contact/type.d.ts.map +1 -0
- package/distribution/action/send-contact/type.js +2 -0
- package/distribution/action/send-contact/type.js.map +1 -0
- package/distribution/asset/font/Geist-Regular.ttf +0 -0
- package/distribution/asset/font/Geist-SemiBold.ttf +0 -0
- package/distribution/asset/font/GeistMono-Regular.ttf +0 -0
- package/distribution/component/button/index.d.ts +4 -0
- package/distribution/component/button/index.d.ts.map +1 -0
- package/distribution/component/button/index.js +11 -0
- package/distribution/component/button/index.js.map +1 -0
- package/distribution/component/button/index.module.css +55 -0
- package/distribution/component/button/type.d.ts +13 -0
- package/distribution/component/button/type.d.ts.map +1 -0
- package/distribution/component/button/type.js +2 -0
- package/distribution/component/button/type.js.map +1 -0
- package/distribution/component/contact/form/index.d.ts +4 -0
- package/distribution/component/contact/form/index.d.ts.map +1 -0
- package/distribution/component/contact/form/index.js +23 -0
- package/distribution/component/contact/form/index.js.map +1 -0
- package/distribution/component/contact/form/index.module.css +108 -0
- package/distribution/component/contact/form/type.d.ts +8 -0
- package/distribution/component/contact/form/type.d.ts.map +1 -0
- package/distribution/component/contact/form/type.js +2 -0
- package/distribution/component/contact/form/type.js.map +1 -0
- package/distribution/component/contact/index.d.ts +4 -0
- package/distribution/component/contact/index.d.ts.map +1 -0
- package/distribution/component/contact/index.js +14 -0
- package/distribution/component/contact/index.js.map +1 -0
- package/distribution/component/contact/index.module.css +56 -0
- package/distribution/component/contact/type.d.ts +8 -0
- package/distribution/component/contact/type.d.ts.map +1 -0
- package/distribution/component/contact/type.js +2 -0
- package/distribution/component/contact/type.js.map +1 -0
- package/distribution/component/cursor/index.d.ts +3 -0
- package/distribution/component/cursor/index.d.ts.map +1 -0
- package/distribution/component/cursor/index.js +45 -0
- package/distribution/component/cursor/index.js.map +1 -0
- package/distribution/component/cursor/index.module.css +53 -0
- package/distribution/component/eyebrow/index.d.ts +4 -0
- package/distribution/component/eyebrow/index.d.ts.map +1 -0
- package/distribution/component/eyebrow/index.js +7 -0
- package/distribution/component/eyebrow/index.js.map +1 -0
- package/distribution/component/eyebrow/index.module.css +9 -0
- package/distribution/component/eyebrow/type.d.ts +6 -0
- package/distribution/component/eyebrow/type.d.ts.map +1 -0
- package/distribution/component/eyebrow/type.js +2 -0
- package/distribution/component/eyebrow/type.js.map +1 -0
- package/distribution/component/footer/index.d.ts +4 -0
- package/distribution/component/footer/index.d.ts.map +1 -0
- package/distribution/component/footer/index.js +13 -0
- package/distribution/component/footer/index.js.map +1 -0
- package/distribution/component/footer/index.module.css +59 -0
- package/distribution/component/footer/type.d.ts +5 -0
- package/distribution/component/footer/type.d.ts.map +1 -0
- package/distribution/component/footer/type.js +2 -0
- package/distribution/component/footer/type.js.map +1 -0
- package/distribution/component/globe/arc/index.d.ts +4 -0
- package/distribution/component/globe/arc/index.d.ts.map +1 -0
- package/distribution/component/globe/arc/index.js +29 -0
- package/distribution/component/globe/arc/index.js.map +1 -0
- package/distribution/component/globe/arc/type.d.ts +10 -0
- package/distribution/component/globe/arc/type.d.ts.map +1 -0
- package/distribution/component/globe/arc/type.js +2 -0
- package/distribution/component/globe/arc/type.js.map +1 -0
- package/distribution/component/globe/dots/index.d.ts +4 -0
- package/distribution/component/globe/dots/index.d.ts.map +1 -0
- package/distribution/component/globe/dots/index.js +34 -0
- package/distribution/component/globe/dots/index.js.map +1 -0
- package/distribution/component/globe/dots/type.d.ts +5 -0
- package/distribution/component/globe/dots/type.d.ts.map +1 -0
- package/distribution/component/globe/dots/type.js +2 -0
- package/distribution/component/globe/dots/type.js.map +1 -0
- package/distribution/component/globe/index.d.ts +6 -0
- package/distribution/component/globe/index.d.ts.map +1 -0
- package/distribution/component/globe/index.js +34 -0
- package/distribution/component/globe/index.js.map +1 -0
- package/distribution/component/globe/index.module.css +25 -0
- package/distribution/component/globe/marker/index.d.ts +4 -0
- package/distribution/component/globe/marker/index.d.ts.map +1 -0
- package/distribution/component/globe/marker/index.js +21 -0
- package/distribution/component/globe/marker/index.js.map +1 -0
- package/distribution/component/globe/marker/type.d.ts +7 -0
- package/distribution/component/globe/marker/type.d.ts.map +1 -0
- package/distribution/component/globe/marker/type.js +2 -0
- package/distribution/component/globe/marker/type.js.map +1 -0
- package/distribution/component/globe/placeholder/index.d.ts +3 -0
- package/distribution/component/globe/placeholder/index.d.ts.map +1 -0
- package/distribution/component/globe/placeholder/index.js +7 -0
- package/distribution/component/globe/placeholder/index.js.map +1 -0
- package/distribution/component/globe/shader/arc/index.d.ts +6 -0
- package/distribution/component/globe/shader/arc/index.d.ts.map +1 -0
- package/distribution/component/globe/shader/arc/index.js +23 -0
- package/distribution/component/globe/shader/arc/index.js.map +1 -0
- package/distribution/component/globe/shader/atmosphere/index.d.ts +6 -0
- package/distribution/component/globe/shader/atmosphere/index.d.ts.map +1 -0
- package/distribution/component/globe/shader/atmosphere/index.js +14 -0
- package/distribution/component/globe/shader/atmosphere/index.js.map +1 -0
- package/distribution/component/globe/shader/body/index.d.ts +6 -0
- package/distribution/component/globe/shader/body/index.d.ts.map +1 -0
- package/distribution/component/globe/shader/body/index.js +13 -0
- package/distribution/component/globe/shader/body/index.js.map +1 -0
- package/distribution/component/globe/shader/dot/index.d.ts +6 -0
- package/distribution/component/globe/shader/dot/index.d.ts.map +1 -0
- package/distribution/component/globe/shader/dot/index.js +28 -0
- package/distribution/component/globe/shader/dot/index.js.map +1 -0
- package/distribution/component/globe/shader/glow-vertex/index.d.ts +3 -0
- package/distribution/component/globe/shader/glow-vertex/index.d.ts.map +1 -0
- package/distribution/component/globe/shader/glow-vertex/index.js +9 -0
- package/distribution/component/globe/shader/glow-vertex/index.js.map +1 -0
- package/distribution/component/globe/world/index.d.ts +4 -0
- package/distribution/component/globe/world/index.d.ts.map +1 -0
- package/distribution/component/globe/world/index.js +35 -0
- package/distribution/component/globe/world/index.js.map +1 -0
- package/distribution/component/globe/world/type.d.ts +8 -0
- package/distribution/component/globe/world/type.d.ts.map +1 -0
- package/distribution/component/globe/world/type.js +2 -0
- package/distribution/component/globe/world/type.js.map +1 -0
- package/distribution/component/hero/index.d.ts +4 -0
- package/distribution/component/hero/index.d.ts.map +1 -0
- package/distribution/component/hero/index.js +21 -0
- package/distribution/component/hero/index.js.map +1 -0
- package/distribution/component/hero/index.module.css +127 -0
- package/distribution/component/hero/type.d.ts +5 -0
- package/distribution/component/hero/type.d.ts.map +1 -0
- package/distribution/component/hero/type.js +2 -0
- package/distribution/component/hero/type.js.map +1 -0
- package/distribution/component/language-switch/index.d.ts +4 -0
- package/distribution/component/language-switch/index.d.ts.map +1 -0
- package/distribution/component/language-switch/index.js +9 -0
- package/distribution/component/language-switch/index.js.map +1 -0
- package/distribution/component/language-switch/index.module.css +17 -0
- package/distribution/component/language-switch/type.d.ts +5 -0
- package/distribution/component/language-switch/type.d.ts.map +1 -0
- package/distribution/component/language-switch/type.js +2 -0
- package/distribution/component/language-switch/type.js.map +1 -0
- package/distribution/component/marquee/index.d.ts +3 -0
- package/distribution/component/marquee/index.d.ts.map +1 -0
- package/distribution/component/marquee/index.js +9 -0
- package/distribution/component/marquee/index.js.map +1 -0
- package/distribution/component/marquee/index.module.css +28 -0
- package/distribution/component/navigation/index.d.ts +4 -0
- package/distribution/component/navigation/index.d.ts.map +1 -0
- package/distribution/component/navigation/index.js +21 -0
- package/distribution/component/navigation/index.js.map +1 -0
- package/distribution/component/navigation/index.module.css +53 -0
- package/distribution/component/navigation/type.d.ts +5 -0
- package/distribution/component/navigation/type.d.ts.map +1 -0
- package/distribution/component/navigation/type.js +2 -0
- package/distribution/component/navigation/type.js.map +1 -0
- package/distribution/component/process/index.d.ts +4 -0
- package/distribution/component/process/index.d.ts.map +1 -0
- package/distribution/component/process/index.js +19 -0
- package/distribution/component/process/index.js.map +1 -0
- package/distribution/component/process/index.module.css +43 -0
- package/distribution/component/process/step/index.d.ts +4 -0
- package/distribution/component/process/step/index.d.ts.map +1 -0
- package/distribution/component/process/step/index.js +12 -0
- package/distribution/component/process/step/index.js.map +1 -0
- package/distribution/component/process/step/index.module.css +33 -0
- package/distribution/component/process/step/type.d.ts +10 -0
- package/distribution/component/process/step/type.d.ts.map +1 -0
- package/distribution/component/process/step/type.js +2 -0
- package/distribution/component/process/step/type.js.map +1 -0
- package/distribution/component/process/type.d.ts +5 -0
- package/distribution/component/process/type.d.ts.map +1 -0
- package/distribution/component/process/type.js +2 -0
- package/distribution/component/process/type.js.map +1 -0
- package/distribution/component/section/index.d.ts +4 -0
- package/distribution/component/section/index.d.ts.map +1 -0
- package/distribution/component/section/index.js +7 -0
- package/distribution/component/section/index.js.map +1 -0
- package/distribution/component/section/index.module.css +6 -0
- package/distribution/component/section/type.d.ts +7 -0
- package/distribution/component/section/type.d.ts.map +1 -0
- package/distribution/component/section/type.js +2 -0
- package/distribution/component/section/type.js.map +1 -0
- package/distribution/component/section-heading/index.d.ts +4 -0
- package/distribution/component/section-heading/index.d.ts.map +1 -0
- package/distribution/component/section-heading/index.js +9 -0
- package/distribution/component/section-heading/index.js.map +1 -0
- package/distribution/component/section-heading/index.module.css +7 -0
- package/distribution/component/section-heading/type.d.ts +5 -0
- package/distribution/component/section-heading/type.d.ts.map +1 -0
- package/distribution/component/section-heading/type.js +2 -0
- package/distribution/component/section-heading/type.js.map +1 -0
- package/distribution/component/services/application-visual/index.d.ts +4 -0
- package/distribution/component/services/application-visual/index.d.ts.map +1 -0
- package/distribution/component/services/application-visual/index.js +17 -0
- package/distribution/component/services/application-visual/index.js.map +1 -0
- package/distribution/component/services/application-visual/index.module.css +95 -0
- package/distribution/component/services/application-visual/type.d.ts +5 -0
- package/distribution/component/services/application-visual/type.d.ts.map +1 -0
- package/distribution/component/services/application-visual/type.js +2 -0
- package/distribution/component/services/application-visual/type.js.map +1 -0
- package/distribution/component/services/card/index.d.ts +4 -0
- package/distribution/component/services/card/index.d.ts.map +1 -0
- package/distribution/component/services/card/index.js +10 -0
- package/distribution/component/services/card/index.js.map +1 -0
- package/distribution/component/services/card/index.module.css +92 -0
- package/distribution/component/services/card/type.d.ts +12 -0
- package/distribution/component/services/card/type.d.ts.map +1 -0
- package/distribution/component/services/card/type.js +2 -0
- package/distribution/component/services/card/type.js.map +1 -0
- package/distribution/component/services/index.d.ts +4 -0
- package/distribution/component/services/index.d.ts.map +1 -0
- package/distribution/component/services/index.js +21 -0
- package/distribution/component/services/index.js.map +1 -0
- package/distribution/component/services/index.module.css +19 -0
- package/distribution/component/services/platform-visual/index.d.ts +3 -0
- package/distribution/component/services/platform-visual/index.d.ts.map +1 -0
- package/distribution/component/services/platform-visual/index.js +16 -0
- package/distribution/component/services/platform-visual/index.js.map +1 -0
- package/distribution/component/services/platform-visual/index.module.css +46 -0
- package/distribution/component/services/type.d.ts +5 -0
- package/distribution/component/services/type.d.ts.map +1 -0
- package/distribution/component/services/type.js +2 -0
- package/distribution/component/services/type.js.map +1 -0
- package/distribution/component/services/web-visual/index.d.ts +3 -0
- package/distribution/component/services/web-visual/index.d.ts.map +1 -0
- package/distribution/component/services/web-visual/index.js +25 -0
- package/distribution/component/services/web-visual/index.js.map +1 -0
- package/distribution/component/services/web-visual/index.module.css +134 -0
- package/distribution/component/share-image/index.d.ts +5 -0
- package/distribution/component/share-image/index.d.ts.map +1 -0
- package/distribution/component/share-image/index.js +66 -0
- package/distribution/component/share-image/index.js.map +1 -0
- package/distribution/component/share-image/type.d.ts +7 -0
- package/distribution/component/share-image/type.d.ts.map +1 -0
- package/distribution/component/share-image/type.js +2 -0
- package/distribution/component/share-image/type.js.map +1 -0
- package/distribution/component/statement/index.d.ts +4 -0
- package/distribution/component/statement/index.d.ts.map +1 -0
- package/distribution/component/statement/index.js +9 -0
- package/distribution/component/statement/index.js.map +1 -0
- package/distribution/component/statement/index.module.css +13 -0
- package/distribution/component/statement/type.d.ts +4 -0
- package/distribution/component/statement/type.d.ts.map +1 -0
- package/distribution/component/statement/type.js +2 -0
- package/distribution/component/statement/type.js.map +1 -0
- package/distribution/component/structured-data/index.d.ts +4 -0
- package/distribution/component/structured-data/index.d.ts.map +1 -0
- package/distribution/component/structured-data/index.js +36 -0
- package/distribution/component/structured-data/index.js.map +1 -0
- package/distribution/component/structured-data/type.d.ts +5 -0
- package/distribution/component/structured-data/type.d.ts.map +1 -0
- package/distribution/component/structured-data/type.js +2 -0
- package/distribution/component/structured-data/type.js.map +1 -0
- package/distribution/component/wordmark/index.d.ts +4 -0
- package/distribution/component/wordmark/index.d.ts.map +1 -0
- package/distribution/component/wordmark/index.js +7 -0
- package/distribution/component/wordmark/index.js.map +1 -0
- package/distribution/component/wordmark/index.module.css +23 -0
- package/distribution/component/wordmark/type.d.ts +4 -0
- package/distribution/component/wordmark/type.d.ts.map +1 -0
- package/distribution/component/wordmark/type.js +2 -0
- package/distribution/component/wordmark/type.js.map +1 -0
- package/distribution/content/contact/index.d.ts +62 -0
- package/distribution/content/contact/index.d.ts.map +1 -0
- package/distribution/content/contact/index.js +35 -0
- package/distribution/content/contact/index.js.map +1 -0
- package/distribution/content/footer/index.d.ts +12 -0
- package/distribution/content/footer/index.d.ts.map +1 -0
- package/distribution/content/footer/index.js +6 -0
- package/distribution/content/footer/index.js.map +1 -0
- package/distribution/content/globe/index.d.ts +8 -0
- package/distribution/content/globe/index.d.ts.map +1 -0
- package/distribution/content/globe/index.js +18 -0
- package/distribution/content/globe/index.js.map +1 -0
- package/distribution/content/hero/index.d.ts +28 -0
- package/distribution/content/hero/index.d.ts.map +1 -0
- package/distribution/content/hero/index.js +20 -0
- package/distribution/content/hero/index.js.map +1 -0
- package/distribution/content/navigation/index.d.ts +20 -0
- package/distribution/content/navigation/index.d.ts.map +1 -0
- package/distribution/content/navigation/index.js +8 -0
- package/distribution/content/navigation/index.js.map +1 -0
- package/distribution/content/process/index.d.ts +53 -0
- package/distribution/content/process/index.d.ts.map +1 -0
- package/distribution/content/process/index.js +31 -0
- package/distribution/content/process/index.js.map +1 -0
- package/distribution/content/separator/index.d.ts +6 -0
- package/distribution/content/separator/index.d.ts.map +1 -0
- package/distribution/content/separator/index.js +6 -0
- package/distribution/content/separator/index.js.map +1 -0
- package/distribution/content/services/index.d.ts +62 -0
- package/distribution/content/services/index.d.ts.map +1 -0
- package/distribution/content/services/index.js +53 -0
- package/distribution/content/services/index.js.map +1 -0
- package/distribution/content/site/index.d.ts +19 -0
- package/distribution/content/site/index.d.ts.map +1 -0
- package/distribution/content/site/index.js +19 -0
- package/distribution/content/site/index.js.map +1 -0
- package/distribution/content/stack/index.d.ts +3 -0
- package/distribution/content/stack/index.d.ts.map +1 -0
- package/distribution/content/stack/index.js +16 -0
- package/distribution/content/stack/index.js.map +1 -0
- package/distribution/content/statement/index.d.ts +6 -0
- package/distribution/content/statement/index.d.ts.map +1 -0
- package/distribution/content/statement/index.js +6 -0
- package/distribution/content/statement/index.js.map +1 -0
- package/distribution/hook/globe-drag/index.d.ts +10 -0
- package/distribution/hook/globe-drag/index.d.ts.map +1 -0
- package/distribution/hook/globe-drag/index.js +99 -0
- package/distribution/hook/globe-drag/index.js.map +1 -0
- package/distribution/hook/globe-drag/type.d.ts +11 -0
- package/distribution/hook/globe-drag/type.d.ts.map +1 -0
- package/distribution/hook/globe-drag/type.js +2 -0
- package/distribution/hook/globe-drag/type.js.map +1 -0
- package/distribution/hook/land-points/index.d.ts +3 -0
- package/distribution/hook/land-points/index.d.ts.map +1 -0
- package/distribution/hook/land-points/index.js +17 -0
- package/distribution/hook/land-points/index.js.map +1 -0
- package/distribution/style/token/index.css +1 -0
- package/distribution/style/token/index.scss +18 -0
- package/distribution/utility/horizon-dots/index.d.ts +4 -0
- package/distribution/utility/horizon-dots/index.d.ts.map +1 -0
- package/distribution/utility/horizon-dots/index.js +17 -0
- package/distribution/utility/horizon-dots/index.js.map +1 -0
- package/distribution/utility/horizon-dots/type.d.ts +7 -0
- package/distribution/utility/horizon-dots/type.d.ts.map +1 -0
- package/distribution/utility/horizon-dots/type.js +2 -0
- package/distribution/utility/horizon-dots/type.js.map +1 -0
- package/distribution/utility/latitude-longitude-to-vector/index.d.ts +7 -0
- package/distribution/utility/latitude-longitude-to-vector/index.d.ts.map +1 -0
- package/distribution/utility/latitude-longitude-to-vector/index.js +12 -0
- package/distribution/utility/latitude-longitude-to-vector/index.js.map +1 -0
- package/distribution/utility/locale/index.d.ts +6 -0
- package/distribution/utility/locale/index.d.ts.map +1 -0
- package/distribution/utility/locale/index.js +8 -0
- package/distribution/utility/locale/index.js.map +1 -0
- package/distribution/utility/locale/type.d.ts +6 -0
- package/distribution/utility/locale/type.d.ts.map +1 -0
- package/distribution/utility/locale/type.js +2 -0
- package/distribution/utility/locale/type.js.map +1 -0
- package/distribution/utility/parse-contact/index.d.ts +4 -0
- package/distribution/utility/parse-contact/index.d.ts.map +1 -0
- package/distribution/utility/parse-contact/index.js +19 -0
- package/distribution/utility/parse-contact/index.js.map +1 -0
- package/distribution/utility/parse-contact/type.d.ts +17 -0
- package/distribution/utility/parse-contact/type.d.ts.map +1 -0
- package/distribution/utility/parse-contact/type.js +2 -0
- package/distribution/utility/parse-contact/type.js.map +1 -0
- package/distribution/utility/separate/index.d.ts +3 -0
- package/distribution/utility/separate/index.d.ts.map +1 -0
- package/distribution/utility/separate/index.js +6 -0
- package/distribution/utility/separate/index.js.map +1 -0
- package/distribution/utility/web-gl-support/index.d.ts +3 -0
- package/distribution/utility/web-gl-support/index.d.ts.map +1 -0
- package/distribution/utility/web-gl-support/index.js +11 -0
- package/distribution/utility/web-gl-support/index.js.map +1 -0
- package/package.json +96 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","source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aAC7C,YAAG,IAAI,EAAC,WAAW,YAAE,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,GAAK,EAChE,YAAG,IAAI,EAAC,UAAU,YAAE,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,GAAK,EAC9D,YAAG,IAAI,EAAC,UAAU,YAAE,SAAS,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,GAAK,IAC1D,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,GAAG,aACxB,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,GAAI,EAClC,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,YAChE,SAAS,CAAC,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC,GACpC,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.navigation {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 50;
|
|
4
|
+
inset: 0 0 auto;
|
|
5
|
+
border-bottom: 1px solid transparent;
|
|
6
|
+
transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.scrolled {
|
|
10
|
+
background: rgba(0, 0, 0, 0.6);
|
|
11
|
+
backdrop-filter: blur(16px) saturate(1.6);
|
|
12
|
+
border-color: var(--line);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.inner {
|
|
16
|
+
max-width: var(--maximum-width);
|
|
17
|
+
margin: 0 auto;
|
|
18
|
+
height: 64px;
|
|
19
|
+
padding: 0 var(--padding);
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
gap: 20px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.links {
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: 30px;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
color: var(--foreground-2);
|
|
31
|
+
}
|
|
32
|
+
.links a {
|
|
33
|
+
transition: color 0.2s;
|
|
34
|
+
}
|
|
35
|
+
.links a:hover {
|
|
36
|
+
color: var(--foreground);
|
|
37
|
+
}
|
|
38
|
+
@media (max-width: 820px) {
|
|
39
|
+
.links {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.end {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
gap: 12px;
|
|
48
|
+
}
|
|
49
|
+
@media (max-width: 420px) {
|
|
50
|
+
.end .callToAction {
|
|
51
|
+
display: none;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/navigation/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ProcessProperties } from "@sharadox/sharadox-web-library/component/process/type";
|
|
2
|
+
/** Four steps on a line that draws itself as you scroll through the section. */
|
|
3
|
+
export declare function Process({ locale }: ProcessProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA0BpD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useScroll, useTransform } from "motion/react";
|
|
4
|
+
import { useRef } from "react";
|
|
5
|
+
import { Section } from "@sharadox/sharadox-web-library/component/section";
|
|
6
|
+
import { SectionHeading } from "@sharadox/sharadox-web-library/component/section-heading";
|
|
7
|
+
import { PROCESS } from "@sharadox/sharadox-web-library/content/process";
|
|
8
|
+
import { translate } from "@sharadox/web-library/internationalization/translate";
|
|
9
|
+
import styles from "./index.module.css";
|
|
10
|
+
import { Step } from "@sharadox/sharadox-web-library/component/process/step";
|
|
11
|
+
/** Four steps on a line that draws itself as you scroll through the section. */
|
|
12
|
+
export function Process({ locale }) {
|
|
13
|
+
const container = useRef(null);
|
|
14
|
+
const { scrollYProgress } = useScroll({ target: container, offset: ["start 75%", "end 55%"] });
|
|
15
|
+
const width = useTransform(scrollYProgress, [0, 1], ["0%", "100%"]);
|
|
16
|
+
const steps = PROCESS.steps;
|
|
17
|
+
return (_jsxs(Section, { id: "process", children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { width } }) }), steps.map((step, index) => (_jsx(Step, { index: index, count: steps.length, progress: scrollYProgress, number: step.number, title: translate(step.title, locale), text: translate(step.text, locale) }, step.number)))] })] }));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,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EAAE,CAAC,CAC1B,KAAC,IAAI,IAEH,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,CAAC,MAAM,EACnB,QAAQ,EAAE,eAAe,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,EACpC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,IAN7B,IAAI,CAAC,MAAM,CAOhB,CACH,CAAC,IACE,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.process {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: grid;
|
|
4
|
+
grid-template-columns: repeat(4, 1fr);
|
|
5
|
+
gap: 24px;
|
|
6
|
+
padding-top: 34px;
|
|
7
|
+
}
|
|
8
|
+
@media (max-width: 860px) {
|
|
9
|
+
.process {
|
|
10
|
+
grid-template-columns: 1fr;
|
|
11
|
+
gap: 44px;
|
|
12
|
+
padding: 0 0 0 30px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.line {
|
|
17
|
+
position: absolute;
|
|
18
|
+
left: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
top: 6px;
|
|
21
|
+
height: 1px;
|
|
22
|
+
background: var(--line);
|
|
23
|
+
}
|
|
24
|
+
.line span {
|
|
25
|
+
display: block;
|
|
26
|
+
height: 100%;
|
|
27
|
+
background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff);
|
|
28
|
+
box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
|
|
29
|
+
}
|
|
30
|
+
@media (max-width: 860px) {
|
|
31
|
+
.line {
|
|
32
|
+
left: 5px;
|
|
33
|
+
right: auto;
|
|
34
|
+
top: 0;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
width: 1px;
|
|
37
|
+
height: auto;
|
|
38
|
+
}
|
|
39
|
+
.line span {
|
|
40
|
+
width: 100% !important;
|
|
41
|
+
height: 100%;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { StepProperties } from "@sharadox/sharadox-web-library/component/process/step/type";
|
|
2
|
+
/** One process step; brightens and lights its dot when the line reaches it. */
|
|
3
|
+
export declare function Step({ index, count, progress, number, title, text }: StepProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4DAA4D,CAAC;AAEjG,+EAA+E;AAC/E,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,cAAc,+BAYnF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useTransform } from "motion/react";
|
|
4
|
+
import styles from "./index.module.css";
|
|
5
|
+
/** One process step; brightens and lights its dot when the line reaches it. */
|
|
6
|
+
export function Step({ index, count, progress, number, title, text }) {
|
|
7
|
+
const at = index / (count - 1);
|
|
8
|
+
const opacity = useTransform(progress, [Math.max(0, at - 0.25), at], [0.3, 1]);
|
|
9
|
+
const glow = useTransform(progress, [Math.max(0, at - 0.05), at], [0, 1]);
|
|
10
|
+
return (_jsxs(motion.div, { className: styles.step, style: { opacity }, children: [_jsx(motion.span, { className: styles.dot, style: { opacity: glow }, "aria-hidden": true }), _jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("h3", { children: title }), _jsx("p", { children: text })] }));
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
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
|
+
.step h3 {
|
|
5
|
+
margin: 14px 0 10px;
|
|
6
|
+
font-size: clamp(1.5rem, 2.4vw, 2rem);
|
|
7
|
+
}
|
|
8
|
+
.step p {
|
|
9
|
+
color: var(--foreground-2);
|
|
10
|
+
max-width: 24ch;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.dot {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: -33px;
|
|
16
|
+
left: 0;
|
|
17
|
+
width: 11px;
|
|
18
|
+
height: 11px;
|
|
19
|
+
border-radius: 50%;
|
|
20
|
+
background: #fff;
|
|
21
|
+
box-shadow: 0 0 14px 2px rgba(255, 255, 255, 0.7);
|
|
22
|
+
}
|
|
23
|
+
@media (max-width: 860px) {
|
|
24
|
+
.dot {
|
|
25
|
+
top: 4px;
|
|
26
|
+
left: -30px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.number {
|
|
31
|
+
font-size: 12px;
|
|
32
|
+
color: var(--foreground-3);
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/process/step/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/process/step/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/process/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/process/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SectionProperties } from "@sharadox/sharadox-web-library/component/section/type";
|
|
2
|
+
/** A full-width page section with the standard width and vertical rhythm. */
|
|
3
|
+
export declare function Section({ id, className, children }: SectionProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,6EAA6E;AAC7E,wBAAgB,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAMrE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import styles from "./index.module.css";
|
|
3
|
+
/** A full-width page section with the standard width and vertical rhythm. */
|
|
4
|
+
export function Section({ id, className, children }) {
|
|
5
|
+
return (_jsx("section", { id: id, className: [styles.section, className].filter(Boolean).join(" "), children: children }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,6EAA6E;AAC7E,MAAM,UAAU,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAqB;IACpE,OAAO,CACL,kBAAS,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAC9E,QAAQ,GACD,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/section/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SectionHeadProperties } from "@sharadox/sharadox-web-library/component/section-heading/type";
|
|
2
|
+
/** Eyebrow and title that open a section. */
|
|
3
|
+
export declare function SectionHeading({ eyebrow, title }: SectionHeadProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section-heading/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AAE3G,6CAA6C;AAC7C,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,qBAAqB,+BAOvE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
|
|
3
|
+
import { Reveal } from "@sharadox/web-library/animation/reveal";
|
|
4
|
+
import styles from "./index.module.css";
|
|
5
|
+
/** Eyebrow and title that open a section. */
|
|
6
|
+
export function SectionHeading({ eyebrow, title }) {
|
|
7
|
+
return (_jsxs(Reveal, { className: styles.heading, children: [_jsx(Eyebrow, { children: eyebrow }), _jsx("h2", { children: title })] }));
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section-heading/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAChE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,6CAA6C;AAC7C,MAAM,UAAU,cAAc,CAAC,EAAE,OAAO,EAAE,KAAK,EAAyB;IACtE,OAAO,CACL,MAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,aAC/B,KAAC,OAAO,cAAE,OAAO,GAAW,EAC5B,uBAAK,KAAK,GAAM,IACT,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section-heading/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/section-heading/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { AppVisualProperties } from "@sharadox/sharadox-web-library/component/services/application-visual/type";
|
|
2
|
+
/** A phone with business notifications sliding in. */
|
|
3
|
+
export declare function ApplicationVisual({ locale }: AppVisualProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/application-visual/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2EAA2E,CAAC;AAErH,sDAAsD;AACtD,wBAAgB,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,mBAAmB,+BA2BhE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
5
|
+
import styles from "./index.module.css";
|
|
6
|
+
/** A phone with business notifications sliding in. */
|
|
7
|
+
export function ApplicationVisual({ locale }) {
|
|
8
|
+
const items = SERVICES.notifications[locale];
|
|
9
|
+
const [tick, setTick] = useState(0);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
const timer = setInterval(() => setTick((current) => current + 1), 1800);
|
|
12
|
+
return () => clearInterval(timer);
|
|
13
|
+
}, []);
|
|
14
|
+
const shown = [0, 1, 2].map((slot) => items[(tick + slot) % items.length]);
|
|
15
|
+
return (_jsx("div", { className: styles.visual, "aria-hidden": true, children: _jsxs("div", { className: styles.phone, children: [_jsx("div", { className: styles.notch }), _jsx("div", { className: `${styles.time} monospace`, children: "9:41" }), _jsx("div", { className: styles.notes, children: shown.map(([title, detail], slot) => (_jsxs("div", { className: `${styles.note} ${styles[`note${slot}`] ?? ""}`, children: [_jsx("span", { className: styles.icon }), _jsxs("span", { className: styles.text, children: [_jsx("b", { children: title }), _jsx("em", { children: detail })] })] }, `${tick}-${slot}`))) })] }) }));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","s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E,EAAE,CAAC,CACpC,eAA6B,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,aACrF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAChC,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,sBAAI,KAAK,GAAK,EACd,uBAAK,MAAM,GAAM,IACZ,KALC,GAAG,IAAI,IAAI,IAAI,EAAE,CAMrB,CACP,CAAC,GACE,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
.visual {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
4
|
+
display: grid;
|
|
5
|
+
place-items: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.phone {
|
|
9
|
+
position: relative;
|
|
10
|
+
width: 168px;
|
|
11
|
+
height: 300px;
|
|
12
|
+
margin-top: 70px;
|
|
13
|
+
border-radius: 30px;
|
|
14
|
+
border: 1px solid var(--line-2);
|
|
15
|
+
background: linear-gradient(180deg, #111, #050505);
|
|
16
|
+
box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9);
|
|
17
|
+
padding: 34px 10px 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.notch {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 9px;
|
|
23
|
+
left: 50%;
|
|
24
|
+
width: 56px;
|
|
25
|
+
height: 16px;
|
|
26
|
+
margin-left: -28px;
|
|
27
|
+
border-radius: 10px;
|
|
28
|
+
background: #000;
|
|
29
|
+
border: 1px solid #1c1c1c;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.time {
|
|
33
|
+
text-align: center;
|
|
34
|
+
font-size: 26px;
|
|
35
|
+
font-weight: 500;
|
|
36
|
+
letter-spacing: -0.04em;
|
|
37
|
+
margin: 4px 0 12px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.notes {
|
|
41
|
+
display: grid;
|
|
42
|
+
gap: 7px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.note {
|
|
46
|
+
display: flex;
|
|
47
|
+
gap: 8px;
|
|
48
|
+
align-items: center;
|
|
49
|
+
padding: 8px 9px;
|
|
50
|
+
border-radius: 12px;
|
|
51
|
+
background: rgba(255, 255, 255, 0.07);
|
|
52
|
+
border: 1px solid var(--line);
|
|
53
|
+
animation: note-in 0.6s var(--ease) both;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.note1 {
|
|
57
|
+
opacity: 0.7;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.note2 {
|
|
61
|
+
opacity: 0.4;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.icon {
|
|
65
|
+
width: 20px;
|
|
66
|
+
height: 20px;
|
|
67
|
+
border-radius: 6px;
|
|
68
|
+
background: #fff;
|
|
69
|
+
flex: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.text {
|
|
73
|
+
display: grid;
|
|
74
|
+
line-height: 1.25;
|
|
75
|
+
min-width: 0;
|
|
76
|
+
}
|
|
77
|
+
.text b {
|
|
78
|
+
font-size: 10.5px;
|
|
79
|
+
font-weight: 600;
|
|
80
|
+
}
|
|
81
|
+
.text em {
|
|
82
|
+
font-style: normal;
|
|
83
|
+
font-size: 9.5px;
|
|
84
|
+
color: var(--foreground-2);
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
text-overflow: ellipsis;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@keyframes note-in {
|
|
91
|
+
from {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
transform: translateY(-12px) scale(0.96);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/services/application-visual/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/services/application-visual/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CardProperties } from "@sharadox/sharadox-web-library/component/services/card/type";
|
|
2
|
+
/** A service card with a pointer-following light on its surface and border. */
|
|
3
|
+
export declare function Card({ visual, tag, title, lead, text, wide }: CardProperties): import("react").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/card/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAElG,+EAA+E;AAC/E,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,cAAc,+BAa5E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useSpotlight } from "@sharadox/web-library/pointer/spotlight";
|
|
4
|
+
import styles from "./index.module.css";
|
|
5
|
+
/** A service card with a pointer-following light on its surface and border. */
|
|
6
|
+
export function Card({ visual, tag, title, lead, text, wide }) {
|
|
7
|
+
const spotlight = useSpotlight();
|
|
8
|
+
return (_jsxs("article", { ref: spotlight, className: [styles.card, wide && styles.wide].filter(Boolean).join(" "), children: [_jsx("div", { className: styles.visual, children: visual }), _jsxs("div", { className: styles.copy, children: [_jsx("span", { className: `monospace ${styles.tag}`, children: tag }), _jsx("h3", { children: title }), _jsx("p", { className: styles.lead, children: lead }), _jsx("p", { children: text })] })] }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/card/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,+EAA+E;AAC/E,MAAM,UAAU,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAkB;IAC3E,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,OAAO,CACL,mBAAS,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAC9F,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAAG,MAAM,GAAO,EAC7C,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,GAAG,EAAE,YAAG,GAAG,GAAQ,EACxD,uBAAK,KAAK,GAAM,EAChB,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAK,EACrC,sBAAI,IAAI,GAAK,IACT,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.card {
|
|
2
|
+
--pointer-x: -500px;
|
|
3
|
+
--pointer-y: -500px;
|
|
4
|
+
position: relative;
|
|
5
|
+
height: 100%;
|
|
6
|
+
border-radius: 20px;
|
|
7
|
+
background: var(--card);
|
|
8
|
+
border: 1px solid var(--line);
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
isolation: isolate;
|
|
13
|
+
}
|
|
14
|
+
.card::before {
|
|
15
|
+
content: "";
|
|
16
|
+
position: absolute;
|
|
17
|
+
inset: 0;
|
|
18
|
+
z-index: -1;
|
|
19
|
+
background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.07), transparent 60%);
|
|
20
|
+
}
|
|
21
|
+
.card::after {
|
|
22
|
+
content: "";
|
|
23
|
+
position: absolute;
|
|
24
|
+
inset: 0;
|
|
25
|
+
border-radius: inherit;
|
|
26
|
+
padding: 1px;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
background: radial-gradient(300px circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.45), transparent 60%);
|
|
29
|
+
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
30
|
+
-webkit-mask-composite: xor;
|
|
31
|
+
mask-composite: exclude;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.visual {
|
|
35
|
+
position: relative;
|
|
36
|
+
height: 300px;
|
|
37
|
+
border-bottom: 1px solid var(--line);
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
background: radial-gradient(120% 90% at 50% 0%, #121212, #050505);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.copy {
|
|
43
|
+
padding: 28px 30px 32px;
|
|
44
|
+
display: grid;
|
|
45
|
+
gap: 10px;
|
|
46
|
+
}
|
|
47
|
+
.copy h3 {
|
|
48
|
+
margin-top: 4px;
|
|
49
|
+
}
|
|
50
|
+
.copy p:not(.lead) {
|
|
51
|
+
color: var(--foreground-2);
|
|
52
|
+
max-width: 46ch;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.tag {
|
|
56
|
+
font-size: 12px;
|
|
57
|
+
color: var(--foreground-3);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.lead {
|
|
61
|
+
color: var(--foreground);
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.wide {
|
|
66
|
+
flex-direction: row;
|
|
67
|
+
}
|
|
68
|
+
.wide .visual {
|
|
69
|
+
flex: 1.3;
|
|
70
|
+
height: auto;
|
|
71
|
+
min-height: 360px;
|
|
72
|
+
border-bottom: 0;
|
|
73
|
+
border-right: 1px solid var(--line);
|
|
74
|
+
}
|
|
75
|
+
.wide .copy {
|
|
76
|
+
flex: 1;
|
|
77
|
+
align-content: center;
|
|
78
|
+
padding: 40px;
|
|
79
|
+
}
|
|
80
|
+
@media (max-width: 860px) {
|
|
81
|
+
.wide {
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
}
|
|
84
|
+
.wide .visual {
|
|
85
|
+
min-height: 280px;
|
|
86
|
+
border-right: 0;
|
|
87
|
+
border-bottom: 1px solid var(--line);
|
|
88
|
+
}
|
|
89
|
+
.wide .copy {
|
|
90
|
+
padding: 28px 30px 32px;
|
|
91
|
+
}
|
|
92
|
+
}
|