@sharadox/sharadox-web-library 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/distribution/action/send-contact/index.d.ts +3 -1
- package/distribution/action/send-contact/index.d.ts.map +1 -1
- package/distribution/action/send-contact/index.js +7 -1
- package/distribution/action/send-contact/index.js.map +1 -1
- 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 +5 -1
- package/distribution/component/contact/form/index.d.ts.map +1 -1
- package/distribution/component/contact/form/index.js +40 -5
- 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 +35 -60
- package/distribution/component/footer/index.d.ts +2 -3
- package/distribution/component/footer/index.d.ts.map +1 -1
- package/distribution/component/footer/index.js +4 -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 +75 -89
- 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 +11 -0
- package/distribution/component/service-card/index.d.ts.map +1 -0
- package/distribution/component/service-card/index.js +24 -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 +113 -0
- package/distribution/component/service-card/type.d.ts +10 -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/application-programming-interface/index.d.ts +6 -0
- package/distribution/component/service-object/application-programming-interface/index.d.ts.map +1 -0
- package/distribution/component/service-object/application-programming-interface/index.js +11 -0
- package/distribution/component/service-object/application-programming-interface/index.js.map +1 -0
- package/distribution/component/service-object/application-programming-interface/index.module.css +1 -0
- package/distribution/component/service-object/application-programming-interface/index.module.scss +154 -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/content-management-system/index.d.ts +6 -0
- package/distribution/component/service-object/content-management-system/index.d.ts.map +1 -0
- package/distribution/component/service-object/content-management-system/index.js +10 -0
- package/distribution/component/service-object/content-management-system/index.js.map +1 -0
- package/distribution/component/service-object/content-management-system/index.module.css +1 -0
- package/distribution/component/service-object/content-management-system/index.module.scss +181 -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/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 +6 -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 +25 -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 +179 -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 +6 -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 +14 -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 +201 -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/service-unlisted/index.d.ts +10 -0
- package/distribution/component/service-unlisted/index.d.ts.map +1 -0
- package/distribution/component/service-unlisted/index.js +20 -0
- package/distribution/component/service-unlisted/index.js.map +1 -0
- package/distribution/component/service-unlisted/index.module.css +1 -0
- package/distribution/component/service-unlisted/index.module.scss +28 -0
- package/distribution/component/{services/social-visual → service-unlisted}/type.d.ts +1 -1
- package/distribution/component/service-unlisted/type.d.ts.map +1 -0
- package/distribution/component/service-unlisted/type.js.map +1 -0
- package/distribution/component/services/index.d.ts +5 -1
- package/distribution/component/services/index.d.ts.map +1 -1
- package/distribution/component/services/index.js +8 -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 +53 -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 +17 -12
- package/distribution/component/structured-data/index.js.map +1 -1
- package/distribution/content/contact/index.d.ts +140 -34
- package/distribution/content/contact/index.d.ts.map +1 -1
- package/distribution/content/contact/index.js +42 -10
- package/distribution/content/contact/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 +330 -133
- package/distribution/content/services/index.d.ts.map +1 -1
- package/distribution/content/services/index.js +219 -117
- 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 +18 -10
- package/distribution/content/site/index.js.map +1 -1
- package/distribution/style/object/index.scss +28 -0
- package/distribution/style/token/index.scss +3 -1
- package/distribution/utility/contact-problem/index.d.ts +13 -0
- package/distribution/utility/contact-problem/index.d.ts.map +1 -0
- package/distribution/utility/contact-problem/index.js +23 -0
- package/distribution/utility/contact-problem/index.js.map +1 -0
- package/distribution/utility/llms-text/index.js +1 -1
- package/distribution/utility/llms-text/index.js.map +1 -1
- package/llms.txt +6 -3
- package/package.json +2 -2
- 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.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.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
- /package/distribution/component/{services/mobile-visual → service-unlisted}/type.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.footer{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a{width:fit-content
|
|
1
|
+
.footer{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;border:1px solid var(--line);border-bottom:0}.columns{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line)}.columns>*{position:relative;display:grid;align-content:start;gap:10px;padding:36px var(--padding) 40px;font-size:14px;color:var(--foreground-2)}.columns>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}.columns h2{margin-bottom:6px;font-size:11.5px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;color:var(--foreground-3)}.columns a{width:fit-content}.columns a:not(.start){transition:color .2s}.columns a:not(.start):hover{color:var(--foreground)}@media(max-width: 900px){.columns{grid-template-columns:1fr 1fr}.columns>*:nth-child(2n)::after{display:none}.columns>*:nth-child(-n+2){border-bottom:1px dashed var(--line-2)}}@media(max-width: 520px){.columns{grid-template-columns:1fr}.columns>*::after{display:none}.columns>*:not(:last-child){border-bottom:1px dashed var(--line-2)}}.brand{gap:14px !important}.brand>a:first-child{color:var(--foreground)}.slogan{color:var(--foreground);font-size:1.05rem;font-weight:500;letter-spacing:-0.03em;max-width:24ch}.email{color:var(--foreground-2)}.languages{display:grid;gap:10px}.languages a[aria-current]{color:var(--foreground)}.style{width:fit-content}.settings h2:not(:first-child){margin-top:18px}.start{margin-top:10px}.legal{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;border-bottom:1px solid var(--line);font-size:13px;color:var(--foreground-2)}.legal>*{position:relative;display:grid;align-content:start;gap:12px;padding:28px var(--padding) 32px}.legal>*:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:linear-gradient(180deg, var(--line-2) 50%, transparent 0) 0 0/1px 8px repeat-y}@media(max-width: 900px){.legal{grid-template-columns:1fr 1fr}.legal .legalLinks{grid-column:1/-1;grid-row:1;border-bottom:1px dashed var(--line-2)}.legal .legalLinks::after{display:none}}@media(max-width: 520px){.legal{grid-template-columns:1fr}.legal>*::after{display:none}.legal .copyright{border-bottom:1px dashed var(--line-2)}}.legalLinks{grid-column:span 2}.legal>.back{padding-top:22px}.legal>.copyright{display:block}.copyright{font-size:12px;color:var(--foreground-3)}.links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}.links a,.links [data-preferences-link]{padding:0;border:0;background:none;font:inherit;color:var(--foreground-2);text-align:left;transition:color .2s}.links a:hover,.links [data-preferences-link]:hover,.links a[aria-current]{color:var(--foreground)}@media(max-width: 640px){.links{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}}.disputes{max-width:72ch;font-size:12px;line-height:1.6;color:var(--foreground-3);text-wrap:pretty}.disputes a{color:var(--foreground-2);transition:color .2s}.disputes a:hover{color:var(--foreground)}.top{display:inline-flex;align-items:center;width:fit-content;gap:10px;color:var(--foreground-2);transition:color .2s}.top:hover{color:var(--foreground)}.top:hover .circle{border-color:var(--foreground);transform:translateY(-2px)}.circle{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;transition:border-color .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
@@ -39,9 +39,11 @@
|
|
|
39
39
|
}
|
|
40
40
|
a {
|
|
41
41
|
width: fit-content;
|
|
42
|
+
}
|
|
43
|
+
a:not(.start) {
|
|
42
44
|
transition: color 0.2s;
|
|
43
45
|
}
|
|
44
|
-
a:hover {
|
|
46
|
+
a:not(.start):hover {
|
|
45
47
|
color: var(--foreground);
|
|
46
48
|
}
|
|
47
49
|
@include below(900px) {
|
|
@@ -92,85 +94,84 @@
|
|
|
92
94
|
.settings h2:not(:first-child) {
|
|
93
95
|
margin-top: 18px;
|
|
94
96
|
}
|
|
95
|
-
.mark {
|
|
96
|
-
padding: 40px 0 10px;
|
|
97
|
-
font-size: clamp(4rem, 17vw, 15rem);
|
|
98
|
-
font-weight: 600;
|
|
99
|
-
letter-spacing: -0.075em;
|
|
100
|
-
line-height: 0.8;
|
|
101
|
-
text-align: center;
|
|
102
|
-
background: linear-gradient(180deg, var(--foreground) 0%, transparent 85%);
|
|
103
|
-
-webkit-background-clip: text;
|
|
104
|
-
background-clip: text;
|
|
105
|
-
color: transparent;
|
|
106
|
-
user-select: none;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
}
|
|
109
97
|
.start {
|
|
110
|
-
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: 6px;
|
|
113
|
-
margin-top: 8px;
|
|
114
|
-
color: var(--foreground);
|
|
115
|
-
font-weight: 500;
|
|
116
|
-
svg {
|
|
117
|
-
transition: transform 0.4s $ease;
|
|
118
|
-
}
|
|
119
|
-
&:hover svg {
|
|
120
|
-
transform: translateX(3px);
|
|
121
|
-
}
|
|
98
|
+
margin-top: 10px;
|
|
122
99
|
}
|
|
123
|
-
/*
|
|
124
|
-
.
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: space-between;
|
|
130
|
-
gap: 14px 24px;
|
|
131
|
-
padding: 18px var(--padding);
|
|
132
|
-
border-top: 1px solid var(--line);
|
|
100
|
+
/* Everything legal in one row on the columns above (the same widths, dividers and padding), so every line meets. */
|
|
101
|
+
.legal {
|
|
102
|
+
display: grid;
|
|
103
|
+
grid-template-columns: 1.6fr 1fr 1fr 1fr;
|
|
104
|
+
border-bottom: 1px solid var(--line);
|
|
133
105
|
font-size: 13px;
|
|
134
106
|
color: var(--foreground-2);
|
|
135
|
-
|
|
107
|
+
> * {
|
|
108
|
+
position: relative;
|
|
109
|
+
display: grid;
|
|
110
|
+
align-content: start;
|
|
111
|
+
gap: 12px;
|
|
112
|
+
padding: 28px var(--padding) 32px;
|
|
113
|
+
}
|
|
114
|
+
> *:not(:last-child)::after {
|
|
136
115
|
content: "";
|
|
137
116
|
position: absolute;
|
|
138
|
-
|
|
139
|
-
right: 0;
|
|
117
|
+
top: 0;
|
|
140
118
|
bottom: 0;
|
|
141
|
-
|
|
142
|
-
|
|
119
|
+
right: 0;
|
|
120
|
+
width: 1px;
|
|
121
|
+
@include dashed(vertical);
|
|
122
|
+
}
|
|
123
|
+
@include below(900px) {
|
|
124
|
+
grid-template-columns: 1fr 1fr;
|
|
125
|
+
.legalLinks {
|
|
126
|
+
grid-column: 1 / -1;
|
|
127
|
+
grid-row: 1;
|
|
128
|
+
border-bottom: 1px dashed var(--line-2);
|
|
129
|
+
&::after {
|
|
130
|
+
display: none;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
@include below(520px) {
|
|
135
|
+
grid-template-columns: 1fr;
|
|
136
|
+
> *::after {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
.copyright {
|
|
140
|
+
border-bottom: 1px dashed var(--line-2);
|
|
141
|
+
}
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
.legalLinks {
|
|
145
|
+
grid-column: span 2;
|
|
146
|
+
}
|
|
147
|
+
/* The circle is taller than a line of text: start it higher, so its words sit on the row's first line. */
|
|
148
|
+
.legal > .back {
|
|
149
|
+
padding-top: 22px;
|
|
150
|
+
}
|
|
151
|
+
/* One line of text, not a grid of its pieces. */
|
|
152
|
+
.legal > .copyright {
|
|
153
|
+
display: block;
|
|
154
|
+
}
|
|
155
|
+
.copyright {
|
|
156
|
+
font-size: 12px;
|
|
157
|
+
color: var(--foreground-3);
|
|
158
|
+
}
|
|
159
|
+
/* The legal links, wrapping as they need; on phones, two to a row. */
|
|
160
|
+
.links {
|
|
147
161
|
display: flex;
|
|
148
162
|
flex-wrap: wrap;
|
|
149
163
|
align-items: center;
|
|
150
|
-
gap: 8px
|
|
164
|
+
gap: 8px 24px;
|
|
151
165
|
a,
|
|
152
166
|
[data-preferences-link] {
|
|
153
|
-
position: relative;
|
|
154
167
|
padding: 0;
|
|
155
168
|
border: 0;
|
|
156
169
|
background: none;
|
|
157
170
|
font: inherit;
|
|
158
|
-
color:
|
|
171
|
+
color: var(--foreground-2);
|
|
159
172
|
text-align: left;
|
|
160
|
-
justify-self: start;
|
|
161
173
|
transition: color 0.2s;
|
|
162
174
|
}
|
|
163
|
-
> * + *::before {
|
|
164
|
-
content: "";
|
|
165
|
-
position: absolute;
|
|
166
|
-
left: -13px;
|
|
167
|
-
top: 50%;
|
|
168
|
-
width: 3px;
|
|
169
|
-
height: 3px;
|
|
170
|
-
margin-top: -1.5px;
|
|
171
|
-
border-radius: 50%;
|
|
172
|
-
background: var(--foreground-3);
|
|
173
|
-
}
|
|
174
175
|
a:hover,
|
|
175
176
|
[data-preferences-link]:hover,
|
|
176
177
|
a[aria-current] {
|
|
@@ -179,17 +180,27 @@
|
|
|
179
180
|
@include below(640px) {
|
|
180
181
|
display: grid;
|
|
181
182
|
grid-template-columns: 1fr 1fr;
|
|
182
|
-
width: 100%;
|
|
183
183
|
gap: 12px 18px;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
.disputes {
|
|
187
|
+
max-width: 72ch;
|
|
188
|
+
font-size: 12px;
|
|
189
|
+
line-height: 1.6;
|
|
190
|
+
color: var(--foreground-3);
|
|
191
|
+
text-wrap: pretty;
|
|
192
|
+
a {
|
|
193
|
+
color: var(--foreground-2);
|
|
194
|
+
transition: color 0.2s;
|
|
195
|
+
}
|
|
196
|
+
a:hover {
|
|
197
|
+
color: var(--foreground);
|
|
188
198
|
}
|
|
189
199
|
}
|
|
190
200
|
.top {
|
|
191
201
|
display: inline-flex;
|
|
192
202
|
align-items: center;
|
|
203
|
+
width: fit-content;
|
|
193
204
|
gap: 10px;
|
|
194
205
|
color: var(--foreground-2);
|
|
195
206
|
transition: color 0.2s;
|
|
@@ -212,28 +223,3 @@
|
|
|
212
223
|
border-color 0.3s,
|
|
213
224
|
transform 0.4s $ease;
|
|
214
225
|
}
|
|
215
|
-
/* The fine print: copyright on the left, the consumer dispute notice on the right. */
|
|
216
|
-
.fine {
|
|
217
|
-
display: grid;
|
|
218
|
-
grid-template-columns: auto minmax(0, 52ch);
|
|
219
|
-
justify-content: space-between;
|
|
220
|
-
align-items: start;
|
|
221
|
-
gap: 14px 40px;
|
|
222
|
-
padding: 20px var(--padding) 30px;
|
|
223
|
-
font-size: 12px;
|
|
224
|
-
line-height: 1.6;
|
|
225
|
-
color: var(--foreground-3);
|
|
226
|
-
@include below(760px) {
|
|
227
|
-
grid-template-columns: 1fr;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
.disputes {
|
|
231
|
-
text-wrap: pretty;
|
|
232
|
-
a {
|
|
233
|
-
color: var(--foreground-2);
|
|
234
|
-
transition: color 0.2s;
|
|
235
|
-
}
|
|
236
|
-
a:hover {
|
|
237
|
-
color: var(--foreground);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,gFAAgF;AAChF,wBAAgB,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,iBAAiB,+BA2BpD"}
|
|
@@ -13,8 +13,9 @@ import { Step } from "@sharadox/sharadox-web-library/component/process/step";
|
|
|
13
13
|
export function Process({ locale }) {
|
|
14
14
|
const container = useRef(null);
|
|
15
15
|
const { scrollYProgress } = useScroll({ target: container, offset: ["start 75%", "end 55%"] });
|
|
16
|
-
|
|
16
|
+
// How much of the line is drawn: across on wide screens, down on phones (see the styles).
|
|
17
|
+
const drawn = useTransform(scrollYProgress, [0, 1], ["0%", "100%"]);
|
|
17
18
|
const steps = PROCESS.steps;
|
|
18
|
-
return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: {
|
|
19
|
+
return (_jsxs(Section, { id: SECTION.process.id, children: [_jsx(SectionHeading, { eyebrow: translate(PROCESS.eyebrow, locale), title: translate(PROCESS.title, locale) }), _jsxs("div", { ref: container, className: styles.process, children: [_jsx("div", { className: styles.line, "aria-hidden": true, children: _jsx(motion.span, { style: { "--drawn": drawn } }) }), 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)))] })] }));
|
|
19
20
|
}
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/process/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAsB,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,uDAAuD,CAAC;AAG7E,gFAAgF;AAChF,MAAM,UAAU,OAAO,CAAC,EAAE,MAAM,EAAqB;IACnD,MAAM,SAAS,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAC/C,MAAM,EAAE,eAAe,EAAE,GAAG,SAAS,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAC/F,0FAA0F;IAC1F,MAAM,KAAK,GAAG,YAAY,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;IACpE,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,OAAO,CACL,MAAC,OAAO,IAAC,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,aAC7B,KAAC,cAAc,IAAC,OAAO,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAI,EACxG,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,OAAO,aAC5C,cAAK,SAAS,EAAE,MAAM,CAAC,IAAI,iCACzB,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAmB,GAAI,GACzD,EACL,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%
|
|
1
|
+
.process{position:relative;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px;padding-top:34px}@media(max-width: 860px){.process{grid-template-columns:1fr;gap:44px;padding:0 0 0 30px}}.line{position:absolute;left:0;right:0;top:6px;height:1px;background:linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x}.line span{display:block;width:var(--drawn, 0%);height:100%;background:linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));box-shadow:0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent)}@media(max-width: 860px){.line{left:5px;right:auto;top:0;bottom:0;width:1px;height:auto}.line span{width:100%;height:var(--drawn, 0%);background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground))}}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@include dashed(horizontal);
|
|
22
22
|
span {
|
|
23
23
|
display: block;
|
|
24
|
+
width: var(--drawn, 0%);
|
|
24
25
|
height: 100%;
|
|
25
26
|
background: linear-gradient(90deg, tint(20%), var(--foreground));
|
|
26
27
|
box-shadow: 0 0 12px tint(60%);
|
|
@@ -33,8 +34,9 @@
|
|
|
33
34
|
width: 1px;
|
|
34
35
|
height: auto;
|
|
35
36
|
span {
|
|
36
|
-
width: 100
|
|
37
|
-
height:
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: var(--drawn, 0%);
|
|
39
|
+
background: linear-gradient(180deg, tint(20%), var(--foreground));
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ServiceCardProperties } from "@sharadox/sharadox-web-library/component/service-card/type";
|
|
2
|
+
/**
|
|
3
|
+
* One service: its 3D object (which turns towards the pointer anywhere on the card), name, description, and a button
|
|
4
|
+
* that scrolls to the contact form with this service ticked, and its `points` when it has them. A soft light follows
|
|
5
|
+
* the pointer. A `wide` card puts the object beside the words.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* <ServiceCard locale="en" card={SERVICES.items[0].cards[0]} />
|
|
9
|
+
*/
|
|
10
|
+
export declare function ServiceCard({ locale, card, wide }: ServiceCardProperties): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4DAA4D,CAAC;AAExG;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAY,EAAE,EAAE,qBAAqB,+BAoChF"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
4
|
+
import { useSpotlight } from "@sharadox/pointer-web-library/spotlight";
|
|
5
|
+
import { useTilt } from "@sharadox/pointer-web-library/tilt";
|
|
6
|
+
import { Button } from "@sharadox/sharadox-web-library/component/button";
|
|
7
|
+
import { ServiceObject } from "@sharadox/sharadox-web-library/component/service-object";
|
|
8
|
+
import { SECTION } from "@sharadox/sharadox-web-library/content/section";
|
|
9
|
+
import { requestContactNeeds } from "@sharadox/sharadox-web-library/utility/contact-need";
|
|
10
|
+
import styles from "./index.module.css";
|
|
11
|
+
/**
|
|
12
|
+
* One service: its 3D object (which turns towards the pointer anywhere on the card), name, description, and a button
|
|
13
|
+
* that scrolls to the contact form with this service ticked, and its `points` when it has them. A soft light follows
|
|
14
|
+
* the pointer. A `wide` card puts the object beside the words.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <ServiceCard locale="en" card={SERVICES.items[0].cards[0]} />
|
|
18
|
+
*/
|
|
19
|
+
export function ServiceCard({ locale, card, wide = false }) {
|
|
20
|
+
const spotlight = useSpotlight();
|
|
21
|
+
const tilt = useTilt(16);
|
|
22
|
+
return (_jsx("article", { ref: spotlight, className: styles.card, "data-wide": wide || undefined, children: _jsxs("div", { ref: tilt, className: styles.inner, children: [_jsx("div", { className: styles.visual, children: _jsx(ServiceObject, { kind: card.key }) }), _jsxs("div", { className: styles.copy, children: [_jsx("h4", { children: translate(card.title, locale) }), _jsx("p", { children: translate(card.text, locale) }), "points" in card && (_jsx("ol", { className: styles.points, children: card.points.map((point, index) => (_jsxs("li", { children: [_jsx("span", { className: "monospace", children: String(index + 1).padStart(2, "0") }), _jsx("strong", { children: translate(point.title, locale) }), _jsx("span", { children: translate(point.text, locale) })] }, point.title.en))) })), _jsx(Button, { href: `#${SECTION.contact.id}`, size: "small", arrow: true, className: styles.action, onClick: () => requestContactNeeds([card.key]), children: translate(card.action, locale) })] })] }) }));
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-card/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAC;AACxF,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAgD,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAyB;IAC/E,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,EAAE,CAAC,CAAC;IACzC,OAAO,CACL,kBAAS,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,IAAI,eAAa,IAAI,IAAI,SAAS,YAC3E,eAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,aACrC,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,YAC3B,KAAC,aAAa,IAAC,IAAI,EAAE,IAAI,CAAC,GAAG,GAAI,GAC7B,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,uBAAK,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,GAAM,EACxC,sBAAI,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GAAK,EACpC,QAAQ,IAAI,IAAI,IAAI,CACnB,aAAI,SAAS,EAAE,MAAM,CAAC,MAAM,YACzB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CACjC,yBACE,eAAM,SAAS,EAAC,WAAW,YAAE,MAAM,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAQ,EACvE,2BAAS,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,GAAU,EACjD,yBAAO,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,GAAQ,KAHrC,KAAK,CAAC,KAAK,CAAC,EAAE,CAIlB,CACN,CAAC,GACC,CACN,EACD,KAAC,MAAM,IACL,IAAI,EAAE,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,EAAE,EAC9B,IAAI,EAAC,OAAO,EACZ,KAAK,QACL,SAAS,EAAE,MAAM,CAAC,MAAM,EACxB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,YAE7C,SAAS,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,GACxB,IACL,IACF,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.card{--pointer-x: -500px;--pointer-y: -500px;position:relative;height:100%;background:var(--background);isolation:isolate}.card::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 7%, transparent), transparent 60%)}.inner{--tilt-x: 0deg;--tilt-y: 0deg;display:flex;flex-direction:column;height:100%}.visual{position:relative;height:270px;border-bottom:1px dashed var(--line-2);background:radial-gradient(90% 80% at 50% 45%, color-mix(in srgb, var(--foreground) 6%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 640px){.visual{height:250px}}.copy{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:24px 26px 28px}.copy h4{margin:0;font-size:1.3rem;font-weight:600;letter-spacing:-0.03em}.copy p{margin-bottom:14px;color:var(--foreground-2);max-width:44ch;text-wrap:pretty}.action{margin-top:auto}.points{display:grid;gap:14px;margin:0 0 22px;padding:0;list-style:none}.points li{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;padding-top:14px;border-top:1px dashed var(--line-2)}.points li>span:first-child{grid-row:span 2;font-size:12px;color:var(--foreground-3);line-height:1.7}.points li strong{font-weight:600}.points li>span:last-child{color:var(--foreground-2);text-wrap:pretty}@media(min-width: 961px){.card[data-wide] .inner{display:grid;grid-template-columns:1fr 1fr}.card[data-wide] .visual{--object-scale: 1.5;height:auto;min-height:440px;border-bottom:0;border-right:1px dashed var(--line-2)}.card[data-wide] .copy{justify-content:center;padding:40px clamp(28px,4vw,56px)}.card[data-wide] .copy p{max-width:56ch}.card[data-wide] .action{margin-top:0}}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
@use "style/token" as *;
|
|
2
|
+
|
|
3
|
+
.card {
|
|
4
|
+
--pointer-x: -500px;
|
|
5
|
+
--pointer-y: -500px;
|
|
6
|
+
position: relative;
|
|
7
|
+
height: 100%;
|
|
8
|
+
background: var(--background);
|
|
9
|
+
isolation: isolate;
|
|
10
|
+
&::before {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
inset: 0;
|
|
14
|
+
z-index: -1;
|
|
15
|
+
background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), tint(7%), transparent 60%);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.inner {
|
|
19
|
+
--tilt-x: 0deg;
|
|
20
|
+
--tilt-y: 0deg;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
.visual {
|
|
26
|
+
position: relative;
|
|
27
|
+
height: 270px;
|
|
28
|
+
border-bottom: 1px dashed var(--line-2);
|
|
29
|
+
background:
|
|
30
|
+
radial-gradient(90% 80% at 50% 45%, tint(6%), transparent 70%),
|
|
31
|
+
radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0 / 18px 18px;
|
|
32
|
+
@include below(640px) {
|
|
33
|
+
height: 250px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.copy {
|
|
37
|
+
flex: 1;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: flex-start;
|
|
41
|
+
gap: 10px;
|
|
42
|
+
padding: 24px 26px 28px;
|
|
43
|
+
h4 {
|
|
44
|
+
margin: 0;
|
|
45
|
+
font-size: 1.3rem;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
letter-spacing: -0.03em;
|
|
48
|
+
}
|
|
49
|
+
p {
|
|
50
|
+
margin-bottom: 14px;
|
|
51
|
+
color: var(--foreground-2);
|
|
52
|
+
max-width: 44ch;
|
|
53
|
+
text-wrap: pretty;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
/* Sits at the bottom, so the buttons of a row line up whatever the text length. */
|
|
57
|
+
.action {
|
|
58
|
+
margin-top: auto;
|
|
59
|
+
}
|
|
60
|
+
/* The card's reasons, numbered. */
|
|
61
|
+
.points {
|
|
62
|
+
display: grid;
|
|
63
|
+
gap: 14px;
|
|
64
|
+
margin: 0 0 22px;
|
|
65
|
+
padding: 0;
|
|
66
|
+
list-style: none;
|
|
67
|
+
li {
|
|
68
|
+
display: grid;
|
|
69
|
+
grid-template-columns: auto 1fr;
|
|
70
|
+
gap: 2px 14px;
|
|
71
|
+
padding-top: 14px;
|
|
72
|
+
border-top: 1px dashed var(--line-2);
|
|
73
|
+
> span:first-child {
|
|
74
|
+
grid-row: span 2;
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
color: var(--foreground-3);
|
|
77
|
+
line-height: 1.7;
|
|
78
|
+
}
|
|
79
|
+
strong {
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
}
|
|
82
|
+
> span:last-child {
|
|
83
|
+
color: var(--foreground-2);
|
|
84
|
+
text-wrap: pretty;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
/* Alone in its row: the object on the left, the words on the right. */
|
|
89
|
+
.card[data-wide] {
|
|
90
|
+
@media (min-width: 961px) {
|
|
91
|
+
.inner {
|
|
92
|
+
display: grid;
|
|
93
|
+
grid-template-columns: 1fr 1fr;
|
|
94
|
+
}
|
|
95
|
+
.visual {
|
|
96
|
+
--object-scale: 1.5;
|
|
97
|
+
height: auto;
|
|
98
|
+
min-height: 440px;
|
|
99
|
+
border-bottom: 0;
|
|
100
|
+
border-right: 1px dashed var(--line-2);
|
|
101
|
+
}
|
|
102
|
+
.copy {
|
|
103
|
+
justify-content: center;
|
|
104
|
+
padding: 40px clamp(28px, 4vw, 56px);
|
|
105
|
+
p {
|
|
106
|
+
max-width: 56ch;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.action {
|
|
110
|
+
margin-top: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
|
|
2
|
+
import type { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
3
|
+
export interface ServiceCardProperties {
|
|
4
|
+
locale: Locale;
|
|
5
|
+
/** One of the cards in `SERVICES`. */
|
|
6
|
+
card: (typeof SERVICES.items)[number]["cards"][number];
|
|
7
|
+
/** The object beside the words instead of above them, for a card alone in its row. */
|
|
8
|
+
wide?: boolean;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-card/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AACjF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAEhF,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,IAAI,EAAE,CAAC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD,sFAAsF;IACtF,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/service-card/type.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ServiceIndexProperties } from "@sharadox/sharadox-web-library/component/service-index/type";
|
|
2
|
-
/** The
|
|
2
|
+
/** The four service groups in a row of grid cells under the hero, each a shortcut to its section. */
|
|
3
3
|
export declare function ServiceIndex({ locale, base }: ServiceIndexProperties): import("react").JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AAE1G,qGAAqG;AACrG,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,IAAS,EAAE,EAAE,sBAAsB,+BAoBzE"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Icon } from "@sharadox/icon-web-library/icon";
|
|
2
3
|
import { separate } from "@sharadox/sharadox-web-library/utility/separate";
|
|
3
4
|
import { Cross } from "@sharadox/sharadox-web-library/component/cross";
|
|
4
5
|
import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
|
|
5
6
|
import { translate } from "@sharadox/internationalization-web-library/translate";
|
|
6
7
|
import styles from "./index.module.css";
|
|
7
|
-
/** The
|
|
8
|
+
/** The four service groups in a row of grid cells under the hero, each a shortcut to its section. */
|
|
8
9
|
export function ServiceIndex({ locale, base = "" }) {
|
|
9
|
-
return (_jsxs("nav", { className: styles.index, "aria-label": translate(SERVICES.eyebrow, locale), children: [SERVICES.items.map((service, index) => (_jsxs("a", { href: `${base}#${service.key}`, className: styles.cell, style: { animationDelay: `${0.9 + index * 0.08}s` }, children: [_jsx("span", { className: `${styles.number} monospace`, children: service.number }), _jsx("span", { className: styles.title, children: translate(service.title, locale) }), _jsx("span", { className: `${styles.kinds} monospace`, children: separate(...service.kinds[locale]) }), _jsx(
|
|
10
|
+
return (_jsxs("nav", { className: styles.index, "aria-label": translate(SERVICES.eyebrow, locale), children: [SERVICES.items.map((service, index) => (_jsxs("a", { href: `${base}#${service.key}`, className: styles.cell, style: { animationDelay: `${0.9 + index * 0.08}s` }, children: [_jsx("span", { className: `${styles.number} monospace`, children: service.number }), _jsx("span", { className: styles.title, children: translate(service.title, locale) }), _jsx("span", { className: `${styles.kinds} monospace`, children: separate(...service.kinds[locale]) }), _jsx(Icon, { name: "chevron-down", className: styles.arrow, strokeWidth: 1.8 })] }, service.key))), _jsx(Cross, { corner: "bottom-left" }), _jsx(Cross, { corner: "bottom-right" })] }));
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,qGAAqG;AACrG,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAA0B;IACxE,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,gBAAc,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,aAC1E,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,CACtC,aAEE,IAAI,EAAE,GAAG,IAAI,IAAI,OAAO,CAAC,GAAG,EAAE,EAC9B,SAAS,EAAE,MAAM,CAAC,IAAI,EACtB,KAAK,EAAE,EAAE,cAAc,EAAE,GAAG,GAAG,GAAG,KAAK,GAAG,IAAI,GAAG,EAAE,aAEnD,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,YAAY,YAAG,OAAO,CAAC,MAAM,GAAQ,EACtE,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,GAAQ,EACxE,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,YAAY,YAAG,QAAQ,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAQ,EACzF,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,EAAC,SAAS,EAAE,MAAM,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,GAAI,KARlE,OAAO,CAAC,GAAG,CASd,CACL,CAAC,EACF,KAAC,KAAK,IAAC,MAAM,EAAC,aAAa,GAAG,EAC9B,KAAC,KAAK,IAAC,MAAM,EAAC,cAAc,GAAG,IAC3B,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(
|
|
1
|
+
.index{position:relative;width:min(100% - 2*var(--gutter),var(--maximum-width));margin:0 auto;display:grid;grid-template-columns:repeat(4, 1fr);border:1px solid var(--line)}@media(max-width: 960px){.index{grid-template-columns:repeat(2, 1fr)}}.cell{position:relative;display:grid;align-content:start;gap:6px;padding:22px 22px 24px;overflow:hidden;animation:rise .9s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .cell{animation-duration:0s !important;animation-delay:0s !important}.cell:not(:last-of-type){border-right:1px solid var(--line)}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);opacity:0;transition:opacity .4s}.cell:hover::before{opacity:1}.cell:hover .arrow{opacity:1;transform:none}@media(max-width: 960px){.cell{border-right:0 !important;border-bottom:1px solid var(--line)}.cell:nth-of-type(odd){border-right:1px solid var(--line) !important}.cell:nth-last-of-type(-n + 2){border-bottom:0}}@keyframes rise{from{opacity:0;transform:translateY(10px)}}.number{font-size:11.5px;color:var(--foreground-3)}.title{font-weight:600;letter-spacing:-0.02em;font-size:15.5px}.kinds{font-size:11.5px;color:var(--foreground-2)}.arrow{position:absolute;top:18px;right:18px;width:16px;height:16px;opacity:0;transform:translate(-4px, -4px);transition:opacity .3s,transform .4s cubic-bezier(0.22, 1, 0.36, 1)}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
width: min(100% - 2 * var(--gutter), var(--maximum-width));
|
|
6
6
|
margin: 0 auto;
|
|
7
7
|
display: grid;
|
|
8
|
-
grid-template-columns: repeat(
|
|
8
|
+
grid-template-columns: repeat(4, 1fr);
|
|
9
9
|
border: 1px solid var(--line);
|
|
10
10
|
@include below(960px) {
|
|
11
11
|
grid-template-columns: repeat(2, 1fr);
|
|
@@ -45,10 +45,8 @@
|
|
|
45
45
|
&:nth-of-type(odd) {
|
|
46
46
|
border-right: 1px solid var(--line) !important;
|
|
47
47
|
}
|
|
48
|
-
&:last-of-type {
|
|
49
|
-
grid-column: span 2;
|
|
48
|
+
&:nth-last-of-type(-n + 2) {
|
|
50
49
|
border-bottom: 0;
|
|
51
|
-
border-right: 0 !important;
|
|
52
50
|
}
|
|
53
51
|
}
|
|
54
52
|
}
|
|
@@ -75,7 +73,8 @@
|
|
|
75
73
|
position: absolute;
|
|
76
74
|
top: 18px;
|
|
77
75
|
right: 18px;
|
|
78
|
-
|
|
76
|
+
width: 16px;
|
|
77
|
+
height: 16px;
|
|
79
78
|
opacity: 0;
|
|
80
79
|
transform: translate(-4px, -4px);
|
|
81
80
|
transition:
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* APIs: a database and an app talking through a gateway in between. Requests travel one way and answers come back
|
|
3
|
+
* the other, along the same line, without anyone in the middle.
|
|
4
|
+
*/
|
|
5
|
+
export declare function ApplicationProgrammingInterface(): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
package/distribution/component/service-object/application-programming-interface/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/service-object/application-programming-interface/index.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,+BAA+B,gCAuB9C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
/**
|
|
5
|
+
* APIs: a database and an app talking through a gateway in between. Requests travel one way and answers come back
|
|
6
|
+
* the other, along the same line, without anyone in the middle.
|
|
7
|
+
*/
|
|
8
|
+
export function ApplicationProgrammingInterface() {
|
|
9
|
+
return (_jsxs("div", { className: styles.object, children: [_jsx("div", { className: styles.database, children: Array.from({ length: 3 }, (_, disc) => (_jsx("span", { className: styles.disc, style: { transform: `translateY(${disc * 26 - 26}px)` }, children: Array.from({ length: 6 }, (_, layer) => (_jsx("i", { style: { transform: `rotateX(90deg) translateZ(${layer * 3 - 7.5}px)` } }, layer))) }, disc))) }), _jsx("span", { className: styles.line }), _jsx(Cuboid, { className: styles.gateway, front: _jsx("span", { className: styles.braces }) }), _jsxs("div", { className: styles.application, children: [_jsx("span", { className: styles.row }), _jsx("span", { className: styles.row }), _jsx("span", { className: styles.row })] }), _jsx("span", { className: `${styles.packet} ${styles.request}` }), _jsx("span", { className: `${styles.packet} ${styles.answer}` })] }));
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/service-object/application-programming-interface/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gEAAgE,CAAC;AACxF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC;;;GAGG;AACH,MAAM,UAAU,+BAA+B;IAC7C,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,MAAM,aAC3B,cAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,YAC5B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CACtC,eAAiB,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,IAAI,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,YAC7F,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACvC,YAAe,KAAK,EAAE,EAAE,SAAS,EAAE,6BAA6B,KAAK,GAAG,CAAC,GAAG,GAAG,KAAK,EAAE,IAA9E,KAAK,CAA6E,CAC3F,CAAC,IAHO,IAAI,CAIR,CACR,CAAC,GACE,EACN,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAChC,KAAC,MAAM,IAAC,SAAS,EAAE,MAAM,CAAC,OAAO,EAAE,KAAK,EAAE,eAAM,SAAS,EAAE,MAAM,CAAC,MAAM,GAAI,GAAI,EAChF,eAAK,SAAS,EAAE,MAAM,CAAC,WAAW,aAChC,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,EAC/B,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,EAC/B,eAAM,SAAS,EAAE,MAAM,CAAC,GAAG,GAAI,IAC3B,EACN,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE,GAAI,EACzD,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAI,IACpD,CACP,CAAC;AACJ,CAAC"}
|
package/distribution/component/service-object/application-programming-interface/index.module.css
ADDED
|
@@ -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:api-sway 10s ease-in-out infinite}@media(prefers-reduced-motion: reduce){.object{animation:none}}.object{transform:rotateX(-18deg) rotateY(-20deg)}@keyframes api-sway{0%,100%{transform:rotateX(-18deg) rotateY(-24deg)}50%{transform:rotateX(-12deg) rotateY(14deg)}}.database{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d;transform:translateX(-118px)}.disc{position:absolute;left:50%;top:50%;width:0px;height:0px;margin:-0px 0 0 -0px;transform-style:preserve-3d}.disc i{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;transform-style:preserve-3d;border-radius:50%;border:1px solid color-mix(in srgb, var(--foreground) 34%, transparent)}.disc i:first-child,.disc i:last-child{box-sizing:border-box;background:color-mix(in srgb, var(--foreground) 8%, transparent);border:1px solid color-mix(in srgb, var(--foreground) 55%, transparent);border-radius:50%}.line{position:absolute;left:50%;top:50%;width:236px;height:0px;margin:-0px 0 0 -118px;transform-style:preserve-3d;border-top:1px dashed color-mix(in srgb, var(--foreground) 40%, transparent)}.gateway{--width: 50px;--height: 50px;--depth: 50px;--radius: 6px;--front-amount: 14%;--top-amount: 24%;--edge-amount: 72%}.braces{position:absolute;inset:13px 12px}.braces::before,.braces::after{content:"";position:absolute;top:0;bottom:0;width:7px;border:2px solid var(--foreground)}.braces::before{left:0;border-right:0;border-radius:6px 0 0 6px}.braces::after{right:0;border-left:0;border-radius:0 6px 6px 0}.application{position:absolute;left:50%;top:50%;width:74px;height:96px;margin:-48px 0 0 -37px;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) 48%, transparent);display:grid;align-content:start;gap:8px;padding:14px 10px;border-radius:8px;transform:translateX(118px) rotateY(-14deg)}.row{height:12px;border-radius:3px;background:color-mix(in srgb, var(--foreground) 14%, transparent);animation:api-row 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.row{animation:none}}.row:nth-child(2){animation-delay:.12s}.row:nth-child(3){animation-delay:.24s}@keyframes api-row{0%,86%,100%{background:color-mix(in srgb, var(--foreground) 14%, transparent)}92%{background:color-mix(in srgb, var(--foreground) 45%, transparent)}}.packet{position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;transform-style:preserve-3d;border-radius:3px;opacity:0}.request{background:var(--foreground);animation:api-request 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.request{animation:none}}@keyframes api-request{0%{opacity:0;transform:translateX(84px)}8%,40%{opacity:1}48%,100%{opacity:0;transform:translateX(-84px)}}.answer{border:2px solid var(--foreground);animation:api-answer 3.2s cubic-bezier(0.22, 1, 0.36, 1) infinite}@media(prefers-reduced-motion: reduce){.answer{animation:none}}@keyframes api-answer{0%,44%{opacity:0;transform:translateX(-84px)}52%,84%{opacity:1}92%,100%{opacity:0;transform:translateX(84px)}}
|