@sharadox/sharadox-web-library 0.18.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/README.md +3 -2
  2. package/distribution/component/capability/index.d.ts +1 -1
  3. package/distribution/component/capability/index.d.ts.map +1 -1
  4. package/distribution/component/capability/index.js +1 -1
  5. package/distribution/component/capability/index.js.map +1 -1
  6. package/distribution/component/capability/index.module.css +1 -1
  7. package/distribution/component/capability/index.module.scss +1 -1
  8. package/distribution/component/contact/form/chip/index.d.ts +4 -0
  9. package/distribution/component/contact/form/chip/index.d.ts.map +1 -0
  10. package/distribution/component/contact/form/chip/index.js +7 -0
  11. package/distribution/component/contact/form/chip/index.js.map +1 -0
  12. package/distribution/component/contact/form/chip/index.module.css +1 -0
  13. package/distribution/component/contact/form/chip/index.module.scss +59 -0
  14. package/distribution/component/contact/form/chip/type.d.ts +7 -0
  15. package/distribution/component/contact/form/chip/type.d.ts.map +1 -0
  16. package/distribution/component/contact/form/chip/type.js.map +1 -0
  17. package/distribution/component/contact/form/index.d.ts.map +1 -1
  18. package/distribution/component/contact/form/index.js +2 -1
  19. package/distribution/component/contact/form/index.js.map +1 -1
  20. package/distribution/component/contact/form/index.module.css +1 -1
  21. package/distribution/component/contact/form/index.module.scss +17 -60
  22. package/distribution/component/footer/index.d.ts +3 -3
  23. package/distribution/component/footer/index.d.ts.map +1 -1
  24. package/distribution/component/footer/index.js +6 -4
  25. package/distribution/component/footer/index.js.map +1 -1
  26. package/distribution/component/footer/index.module.css +1 -1
  27. package/distribution/component/footer/index.module.scss +128 -35
  28. package/distribution/component/globe/index.module.css +1 -1
  29. package/distribution/component/globe/index.module.scss +22 -1
  30. package/distribution/component/navigation/index.d.ts +1 -1
  31. package/distribution/component/navigation/index.d.ts.map +1 -1
  32. package/distribution/component/navigation/index.js +4 -19
  33. package/distribution/component/navigation/index.js.map +1 -1
  34. package/distribution/component/process/index.d.ts.map +1 -1
  35. package/distribution/component/process/index.js +3 -2
  36. package/distribution/component/process/index.js.map +1 -1
  37. package/distribution/component/process/index.module.css +1 -1
  38. package/distribution/component/process/index.module.scss +4 -2
  39. package/distribution/component/service-card/index.d.ts +10 -0
  40. package/distribution/component/service-card/index.d.ts.map +1 -0
  41. package/distribution/component/service-card/index.js +23 -0
  42. package/distribution/component/service-card/index.js.map +1 -0
  43. package/distribution/component/service-card/index.module.css +1 -0
  44. package/distribution/component/service-card/index.module.scss +59 -0
  45. package/distribution/component/service-card/type.d.ts +8 -0
  46. package/distribution/component/service-card/type.d.ts.map +1 -0
  47. package/distribution/component/service-card/type.js.map +1 -0
  48. package/distribution/component/service-index/index.d.ts +1 -1
  49. package/distribution/component/service-index/index.d.ts.map +1 -1
  50. package/distribution/component/service-index/index.js +3 -2
  51. package/distribution/component/service-index/index.js.map +1 -1
  52. package/distribution/component/service-index/index.module.css +1 -1
  53. package/distribution/component/service-index/index.module.scss +4 -5
  54. package/distribution/component/service-object/android-application/index.d.ts +3 -0
  55. package/distribution/component/service-object/android-application/index.d.ts.map +1 -0
  56. package/distribution/component/service-object/android-application/index.js +8 -0
  57. package/distribution/component/service-object/android-application/index.js.map +1 -0
  58. package/distribution/component/service-object/android-application/index.module.css +1 -0
  59. package/distribution/component/service-object/android-application/index.module.scss +90 -0
  60. package/distribution/component/service-object/brand-awareness/index.d.ts +3 -0
  61. package/distribution/component/service-object/brand-awareness/index.d.ts.map +1 -0
  62. package/distribution/component/service-object/brand-awareness/index.js +8 -0
  63. package/distribution/component/service-object/brand-awareness/index.js.map +1 -0
  64. package/distribution/component/service-object/brand-awareness/index.module.css +1 -0
  65. package/distribution/component/service-object/brand-awareness/index.module.scss +89 -0
  66. package/distribution/component/service-object/branding/index.d.ts +3 -0
  67. package/distribution/component/service-object/branding/index.d.ts.map +1 -0
  68. package/distribution/component/service-object/branding/index.js +7 -0
  69. package/distribution/component/service-object/branding/index.js.map +1 -0
  70. package/distribution/component/service-object/branding/index.module.css +1 -0
  71. package/distribution/component/service-object/branding/index.module.scss +63 -0
  72. package/distribution/component/service-object/branding-design/index.d.ts +3 -0
  73. package/distribution/component/service-object/branding-design/index.d.ts.map +1 -0
  74. package/distribution/component/service-object/branding-design/index.js +7 -0
  75. package/distribution/component/service-object/branding-design/index.js.map +1 -0
  76. package/distribution/component/service-object/branding-design/index.module.css +1 -0
  77. package/distribution/component/service-object/branding-design/index.module.scss +61 -0
  78. package/distribution/component/service-object/cuboid/index.d.ts +11 -0
  79. package/distribution/component/service-object/cuboid/index.d.ts.map +1 -0
  80. package/distribution/component/service-object/cuboid/index.js +15 -0
  81. package/distribution/component/service-object/cuboid/index.js.map +1 -0
  82. package/distribution/component/service-object/cuboid/index.module.css +1 -0
  83. package/distribution/component/service-object/cuboid/index.module.scss +61 -0
  84. package/distribution/component/service-object/cuboid/type.d.ts +10 -0
  85. package/distribution/component/service-object/cuboid/type.d.ts.map +1 -0
  86. package/distribution/component/service-object/cuboid/type.js.map +1 -0
  87. package/distribution/component/service-object/e-commerce/index.d.ts +3 -0
  88. package/distribution/component/service-object/e-commerce/index.d.ts.map +1 -0
  89. package/distribution/component/service-object/e-commerce/index.js +8 -0
  90. package/distribution/component/service-object/e-commerce/index.js.map +1 -0
  91. package/distribution/component/service-object/e-commerce/index.module.css +1 -0
  92. package/distribution/component/service-object/e-commerce/index.module.scss +78 -0
  93. package/distribution/component/service-object/index.d.ts +10 -0
  94. package/distribution/component/service-object/index.d.ts.map +1 -0
  95. package/distribution/component/service-object/index.js +45 -0
  96. package/distribution/component/service-object/index.js.map +1 -0
  97. package/distribution/component/service-object/index.module.css +1 -0
  98. package/distribution/component/service-object/index.module.scss +16 -0
  99. package/distribution/component/service-object/ios-application/index.d.ts +3 -0
  100. package/distribution/component/service-object/ios-application/index.d.ts.map +1 -0
  101. package/distribution/component/service-object/ios-application/index.js +8 -0
  102. package/distribution/component/service-object/ios-application/index.js.map +1 -0
  103. package/distribution/component/service-object/ios-application/index.module.css +1 -0
  104. package/distribution/component/service-object/ios-application/index.module.scss +93 -0
  105. package/distribution/component/service-object/lead-generation/index.d.ts +3 -0
  106. package/distribution/component/service-object/lead-generation/index.d.ts.map +1 -0
  107. package/distribution/component/service-object/lead-generation/index.js +7 -0
  108. package/distribution/component/service-object/lead-generation/index.js.map +1 -0
  109. package/distribution/component/service-object/lead-generation/index.module.css +1 -0
  110. package/distribution/component/service-object/lead-generation/index.module.scss +82 -0
  111. package/distribution/component/service-object/platform/index.d.ts +3 -0
  112. package/distribution/component/service-object/platform/index.d.ts.map +1 -0
  113. package/distribution/component/service-object/platform/index.js +8 -0
  114. package/distribution/component/service-object/platform/index.js.map +1 -0
  115. package/distribution/component/service-object/platform/index.module.css +1 -0
  116. package/distribution/component/service-object/platform/index.module.scss +54 -0
  117. package/distribution/component/service-object/product-launch/index.d.ts +3 -0
  118. package/distribution/component/service-object/product-launch/index.d.ts.map +1 -0
  119. package/distribution/component/service-object/product-launch/index.js +8 -0
  120. package/distribution/component/service-object/product-launch/index.js.map +1 -0
  121. package/distribution/component/service-object/product-launch/index.module.css +1 -0
  122. package/distribution/component/service-object/product-launch/index.module.scss +110 -0
  123. package/distribution/component/service-object/progressive-web-application/index.d.ts +3 -0
  124. package/distribution/component/service-object/progressive-web-application/index.d.ts.map +1 -0
  125. package/distribution/component/service-object/progressive-web-application/index.js +8 -0
  126. package/distribution/component/service-object/progressive-web-application/index.js.map +1 -0
  127. package/distribution/component/service-object/progressive-web-application/index.module.css +1 -0
  128. package/distribution/component/service-object/progressive-web-application/index.module.scss +91 -0
  129. package/distribution/component/service-object/rebranding/index.d.ts +3 -0
  130. package/distribution/component/service-object/rebranding/index.d.ts.map +1 -0
  131. package/distribution/component/service-object/rebranding/index.js +8 -0
  132. package/distribution/component/service-object/rebranding/index.js.map +1 -0
  133. package/distribution/component/service-object/rebranding/index.module.css +1 -0
  134. package/distribution/component/service-object/rebranding/index.module.scss +76 -0
  135. package/distribution/component/service-object/sales-generation/index.d.ts +3 -0
  136. package/distribution/component/service-object/sales-generation/index.d.ts.map +1 -0
  137. package/distribution/component/service-object/sales-generation/index.js +8 -0
  138. package/distribution/component/service-object/sales-generation/index.js.map +1 -0
  139. package/distribution/component/service-object/sales-generation/index.module.css +1 -0
  140. package/distribution/component/service-object/sales-generation/index.module.scss +65 -0
  141. package/distribution/component/service-object/social-media-strategy/index.d.ts +3 -0
  142. package/distribution/component/service-object/social-media-strategy/index.d.ts.map +1 -0
  143. package/distribution/component/service-object/social-media-strategy/index.js +7 -0
  144. package/distribution/component/service-object/social-media-strategy/index.js.map +1 -0
  145. package/distribution/component/service-object/social-media-strategy/index.module.css +1 -0
  146. package/distribution/component/service-object/social-media-strategy/index.module.scss +77 -0
  147. package/distribution/component/service-object/type.d.ts +6 -0
  148. package/distribution/component/service-object/type.d.ts.map +1 -0
  149. package/distribution/component/service-object/type.js.map +1 -0
  150. package/distribution/component/service-object/website/index.d.ts +3 -0
  151. package/distribution/component/service-object/website/index.d.ts.map +1 -0
  152. package/distribution/component/service-object/website/index.js +7 -0
  153. package/distribution/component/service-object/website/index.js.map +1 -0
  154. package/distribution/component/service-object/website/index.module.css +1 -0
  155. package/distribution/component/service-object/website/index.module.scss +73 -0
  156. package/distribution/component/services/index.d.ts +4 -1
  157. package/distribution/component/services/index.d.ts.map +1 -1
  158. package/distribution/component/services/index.js +6 -17
  159. package/distribution/component/services/index.js.map +1 -1
  160. package/distribution/component/services/index.module.css +1 -1
  161. package/distribution/component/services/index.module.scss +49 -43
  162. package/distribution/component/structured-data/index.d.ts +1 -1
  163. package/distribution/component/structured-data/index.d.ts.map +1 -1
  164. package/distribution/component/structured-data/index.js +13 -10
  165. package/distribution/component/structured-data/index.js.map +1 -1
  166. package/distribution/content/contact/index.d.ts +85 -29
  167. package/distribution/content/contact/index.d.ts.map +1 -1
  168. package/distribution/content/contact/index.js +10 -7
  169. package/distribution/content/contact/index.js.map +1 -1
  170. package/distribution/content/footer/index.d.ts +5 -0
  171. package/distribution/content/footer/index.d.ts.map +1 -1
  172. package/distribution/content/footer/index.js +2 -0
  173. package/distribution/content/footer/index.js.map +1 -1
  174. package/distribution/content/hero/index.d.ts +1 -1
  175. package/distribution/content/hero/index.js +1 -1
  176. package/distribution/content/hero/index.js.map +1 -1
  177. package/distribution/content/services/index.d.ts +286 -132
  178. package/distribution/content/services/index.d.ts.map +1 -1
  179. package/distribution/content/services/index.js +172 -105
  180. package/distribution/content/services/index.js.map +1 -1
  181. package/distribution/content/site/index.d.ts.map +1 -1
  182. package/distribution/content/site/index.js +12 -8
  183. package/distribution/content/site/index.js.map +1 -1
  184. package/distribution/style/object/index.scss +28 -0
  185. package/distribution/utility/llms-text/index.js +1 -1
  186. package/distribution/utility/llms-text/index.js.map +1 -1
  187. package/llms.txt +5 -2
  188. package/package.json +2 -1
  189. package/distribution/component/service-action/index.d.ts +0 -10
  190. package/distribution/component/service-action/index.d.ts.map +0 -1
  191. package/distribution/component/service-action/index.js +0 -18
  192. package/distribution/component/service-action/index.js.map +0 -1
  193. package/distribution/component/service-action/index.module.css +0 -1
  194. package/distribution/component/service-action/index.module.scss +0 -6
  195. package/distribution/component/service-action/type.d.ts +0 -7
  196. package/distribution/component/service-action/type.d.ts.map +0 -1
  197. package/distribution/component/service-action/type.js.map +0 -1
  198. package/distribution/component/services/campaign-visual/index.d.ts +0 -4
  199. package/distribution/component/services/campaign-visual/index.d.ts.map +0 -1
  200. package/distribution/component/services/campaign-visual/index.js +0 -19
  201. package/distribution/component/services/campaign-visual/index.js.map +0 -1
  202. package/distribution/component/services/campaign-visual/index.module.css +0 -1
  203. package/distribution/component/services/campaign-visual/index.module.scss +0 -125
  204. package/distribution/component/services/campaign-visual/stage/index.d.ts +0 -4
  205. package/distribution/component/services/campaign-visual/stage/index.d.ts.map +0 -1
  206. package/distribution/component/services/campaign-visual/stage/index.js +0 -11
  207. package/distribution/component/services/campaign-visual/stage/index.js.map +0 -1
  208. package/distribution/component/services/campaign-visual/stage/type.d.ts +0 -10
  209. package/distribution/component/services/campaign-visual/stage/type.d.ts.map +0 -1
  210. package/distribution/component/services/campaign-visual/stage/type.js.map +0 -1
  211. package/distribution/component/services/campaign-visual/type.d.ts +0 -5
  212. package/distribution/component/services/campaign-visual/type.d.ts.map +0 -1
  213. package/distribution/component/services/campaign-visual/type.js.map +0 -1
  214. package/distribution/component/services/cell/index.d.ts +0 -7
  215. package/distribution/component/services/cell/index.d.ts.map +0 -1
  216. package/distribution/component/services/cell/index.js +0 -16
  217. package/distribution/component/services/cell/index.js.map +0 -1
  218. package/distribution/component/services/cell/index.module.css +0 -1
  219. package/distribution/component/services/cell/index.module.scss +0 -81
  220. package/distribution/component/services/cell/type.d.ts +0 -16
  221. package/distribution/component/services/cell/type.d.ts.map +0 -1
  222. package/distribution/component/services/cell/type.js.map +0 -1
  223. package/distribution/component/services/design-visual/index.d.ts +0 -5
  224. package/distribution/component/services/design-visual/index.d.ts.map +0 -1
  225. package/distribution/component/services/design-visual/index.js +0 -21
  226. package/distribution/component/services/design-visual/index.js.map +0 -1
  227. package/distribution/component/services/design-visual/index.module.css +0 -1
  228. package/distribution/component/services/design-visual/index.module.scss +0 -119
  229. package/distribution/component/services/mobile-visual/index.d.ts +0 -4
  230. package/distribution/component/services/mobile-visual/index.d.ts.map +0 -1
  231. package/distribution/component/services/mobile-visual/index.js +0 -18
  232. package/distribution/component/services/mobile-visual/index.js.map +0 -1
  233. package/distribution/component/services/mobile-visual/index.module.css +0 -1
  234. package/distribution/component/services/mobile-visual/index.module.scss +0 -93
  235. package/distribution/component/services/mobile-visual/type.d.ts +0 -5
  236. package/distribution/component/services/mobile-visual/type.d.ts.map +0 -1
  237. package/distribution/component/services/mobile-visual/type.js +0 -2
  238. package/distribution/component/services/mobile-visual/type.js.map +0 -1
  239. package/distribution/component/services/platform-visual/index.d.ts +0 -3
  240. package/distribution/component/services/platform-visual/index.d.ts.map +0 -1
  241. package/distribution/component/services/platform-visual/index.js +0 -16
  242. package/distribution/component/services/platform-visual/index.js.map +0 -1
  243. package/distribution/component/services/platform-visual/index.module.css +0 -1
  244. package/distribution/component/services/platform-visual/index.module.scss +0 -39
  245. package/distribution/component/services/social-visual/index.d.ts +0 -4
  246. package/distribution/component/services/social-visual/index.d.ts.map +0 -1
  247. package/distribution/component/services/social-visual/index.js +0 -18
  248. package/distribution/component/services/social-visual/index.js.map +0 -1
  249. package/distribution/component/services/social-visual/index.module.css +0 -1
  250. package/distribution/component/services/social-visual/index.module.scss +0 -123
  251. package/distribution/component/services/social-visual/type.d.ts +0 -5
  252. package/distribution/component/services/social-visual/type.d.ts.map +0 -1
  253. package/distribution/component/services/social-visual/type.js +0 -2
  254. package/distribution/component/services/social-visual/type.js.map +0 -1
  255. package/distribution/component/services/web-visual/index.d.ts +0 -3
  256. package/distribution/component/services/web-visual/index.d.ts.map +0 -1
  257. package/distribution/component/services/web-visual/index.js +0 -26
  258. package/distribution/component/services/web-visual/index.js.map +0 -1
  259. package/distribution/component/services/web-visual/index.module.css +0 -1
  260. package/distribution/component/services/web-visual/index.module.scss +0 -133
  261. package/distribution/content/services/type.d.ts +0 -8
  262. package/distribution/content/services/type.d.ts.map +0 -1
  263. package/distribution/content/services/type.js +0 -2
  264. package/distribution/content/services/type.js.map +0 -1
  265. /package/distribution/component/{service-action → contact/form/chip}/type.js +0 -0
  266. /package/distribution/component/{services/campaign-visual/stage → service-card}/type.js +0 -0
  267. /package/distribution/component/{services/campaign-visual → service-object/cuboid}/type.js +0 -0
  268. /package/distribution/component/{services/cell → service-object}/type.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-action/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;CACnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/service-action/type.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- import type { CampaignVisualProperties } from "@sharadox/sharadox-web-library/component/services/campaign-visual/type";
2
- /** A campaign funnel as stacked 3D plates, narrowing from reach to customers, with live counters. */
3
- export declare function CampaignVisual({ locale }: CampaignVisualProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wEAAwE,CAAC;AAQvH,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAwBlE"}
@@ -1,19 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { classNames } from "@sharadox/web-library/class-name";
4
- import { useInView } from "@sharadox/animation-web-library/in-view";
5
- import { translate } from "@sharadox/internationalization-web-library/translate";
6
- import { Stage } from "@sharadox/sharadox-web-library/component/services/campaign-visual/stage";
7
- import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
8
- import styles from "./index.module.css";
9
- const STAGES = [
10
- { key: "reach", value: 48200 },
11
- { key: "clicks", value: 3140 },
12
- { key: "customers", value: 214 },
13
- ];
14
- /** A campaign funnel as stacked 3D plates, narrowing from reach to customers, with live counters. */
15
- export function CampaignVisual({ locale }) {
16
- const [container, on] = useInView();
17
- return (_jsxs("div", { ref: container, className: classNames(styles.visual, on && styles.on), "aria-hidden": true, children: [_jsxs("div", { className: styles.scene, children: [STAGES.map((stage, index) => (_jsx("span", { className: `${styles.plate} ${styles[`plate${index}`]}` }, stage.key))), _jsx("span", { className: styles.ring })] }), _jsx("dl", { className: styles.legend, children: STAGES.map((stage, index) => (_jsx(Stage, { start: on, value: stage.value, durationMilliseconds: 1800 + index * 300, locale: locale, label: translate(SERVICES.visual[stage.key], locale) }, stage.key))) })] }));
18
- }
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,EAAE,KAAK,EAAE,MAAM,yEAAyE,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,MAAM,MAAM,GAAG;IACb,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE;IAC9B,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE;IAC9B,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,EAAE;CACxB,CAAC;AAEX,qGAAqG;AACrG,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAA4B;IACjE,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,GAAG,SAAS,EAAkB,CAAC;IACpD,OAAO,CACL,eAAK,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,MAAM,CAAC,EAAE,CAAC,kCACxE,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,eAAsB,SAAS,EAAE,GAAG,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,QAAQ,KAAK,EAAE,CAAC,EAAE,IAAlE,KAAK,CAAC,GAAG,CAA6D,CAClF,CAAC,EACF,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,IAC5B,EACN,aAAI,SAAS,EAAE,MAAM,CAAC,MAAM,YACzB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAC5B,KAAC,KAAK,IAEJ,KAAK,EAAE,EAAE,EACT,KAAK,EAAE,KAAK,CAAC,KAAK,EAClB,oBAAoB,EAAE,IAAI,GAAG,KAAK,GAAG,GAAG,EACxC,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,IAL/C,KAAK,CAAC,GAAG,CAMd,CACH,CAAC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- .visual{position:absolute;inset:0;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;perspective:1000px}.scene{position:relative;justify-self:center;width:150px;height:150px;transform-style:preserve-3d;transform:rotateX(62deg) rotateZ(-38deg);animation:turn 16s linear infinite}@keyframes turn{to{transform:rotateX(62deg) rotateZ(322deg)}}.plate{position:absolute;inset:0;margin:auto;border-radius:16px;border:1px solid var(--foreground-3);background:color-mix(in srgb, var(--foreground) 6%, transparent);box-shadow:0 0 40px -10px color-mix(in srgb, var(--foreground) 30%, transparent)}.plate0{width:150px;height:150px;transform:translateZ(0)}.on .plate0{animation:lift-0 1.4s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .on .plate0{animation-duration:0s !important;animation-delay:0s !important}.plate1{width:104px;height:104px;transform:translateZ(34px);background:color-mix(in srgb, var(--foreground) 12%, transparent)}.on .plate1{animation:lift-1 1.4s .15s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .on .plate1{animation-duration:0s !important;animation-delay:0s !important}.plate2{width:58px;height:58px;transform:translateZ(68px);background:var(--foreground);border-color:var(--foreground)}.on .plate2{animation:lift-2 1.4s .3s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .on .plate2{animation-duration:0s !important;animation-delay:0s !important}@keyframes lift-0{from{transform:translateZ(0);opacity:0}}@keyframes lift-1{from{transform:translateZ(0);opacity:0}}@keyframes lift-2{from{transform:translateZ(0);opacity:0}}.ring{position:absolute;inset:0;margin:auto;width:58px;height:58px;border-radius:16px;border:1px solid var(--foreground);transform:translateZ(68px);animation:ripple 2.6s ease-out infinite}@keyframes ripple{from{transform:translateZ(68px) scale(1);opacity:.8}to{transform:translateZ(68px) scale(3.2);opacity:0}}.legend{margin:0;display:grid;gap:14px;padding-right:22px}.stage{padding-left:12px;border-left:1px dashed var(--line-2)}.stage dt{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--foreground-3)}.stage dd{margin:0;font-size:22px;font-weight:600;letter-spacing:-0.03em;font-variant-numeric:tabular-nums}
@@ -1,125 +0,0 @@
1
- @use "style/token" as *;
2
-
3
- .visual {
4
- position: absolute;
5
- inset: 0;
6
- display: grid;
7
- grid-template-columns: 1.2fr 1fr;
8
- align-items: center;
9
- perspective: 1000px;
10
- }
11
- .scene {
12
- position: relative;
13
- justify-self: center;
14
- width: 150px;
15
- height: 150px;
16
- transform-style: preserve-3d;
17
- transform: rotateX(62deg) rotateZ(-38deg);
18
- animation: turn 16s linear infinite;
19
- }
20
- @keyframes turn {
21
- to {
22
- transform: rotateX(62deg) rotateZ(322deg);
23
- }
24
- }
25
- .plate {
26
- position: absolute;
27
- inset: 0;
28
- margin: auto;
29
- border-radius: 16px;
30
- border: 1px solid var(--foreground-3);
31
- background: tint(6%);
32
- box-shadow: 0 0 40px -10px tint(30%);
33
- }
34
- .plate0 {
35
- width: 150px;
36
- height: 150px;
37
- transform: translateZ(0);
38
- .on & {
39
- animation: lift-0 1.4s $ease both;
40
- @include skip-entrance;
41
- }
42
- }
43
- .plate1 {
44
- width: 104px;
45
- height: 104px;
46
- transform: translateZ(34px);
47
- background: tint(12%);
48
- .on & {
49
- animation: lift-1 1.4s 0.15s $ease both;
50
- @include skip-entrance;
51
- }
52
- }
53
- .plate2 {
54
- width: 58px;
55
- height: 58px;
56
- transform: translateZ(68px);
57
- background: var(--foreground);
58
- border-color: var(--foreground);
59
- .on & {
60
- animation: lift-2 1.4s 0.3s $ease both;
61
- @include skip-entrance;
62
- }
63
- }
64
- @keyframes lift-0 {
65
- from {
66
- transform: translateZ(0);
67
- opacity: 0;
68
- }
69
- }
70
- @keyframes lift-1 {
71
- from {
72
- transform: translateZ(0);
73
- opacity: 0;
74
- }
75
- }
76
- @keyframes lift-2 {
77
- from {
78
- transform: translateZ(0);
79
- opacity: 0;
80
- }
81
- }
82
- .ring {
83
- position: absolute;
84
- inset: 0;
85
- margin: auto;
86
- width: 58px;
87
- height: 58px;
88
- border-radius: 16px;
89
- border: 1px solid var(--foreground);
90
- transform: translateZ(68px);
91
- animation: ripple 2.6s ease-out infinite;
92
- }
93
- @keyframes ripple {
94
- from {
95
- transform: translateZ(68px) scale(1);
96
- opacity: 0.8;
97
- }
98
- to {
99
- transform: translateZ(68px) scale(3.2);
100
- opacity: 0;
101
- }
102
- }
103
- .legend {
104
- margin: 0;
105
- display: grid;
106
- gap: 14px;
107
- padding-right: 22px;
108
- }
109
- .stage {
110
- padding-left: 12px;
111
- border-left: 1px dashed var(--line-2);
112
- dt {
113
- font-size: 10.5px;
114
- text-transform: uppercase;
115
- letter-spacing: 0.05em;
116
- color: var(--foreground-3);
117
- }
118
- dd {
119
- margin: 0;
120
- font-size: 22px;
121
- font-weight: 600;
122
- letter-spacing: -0.03em;
123
- font-variant-numeric: tabular-nums;
124
- }
125
- }
@@ -1,4 +0,0 @@
1
- import type { StageProperties } from "@sharadox/sharadox-web-library/component/services/campaign-visual/stage/type";
2
- /** One funnel stage in the legend: its label and a number counting up. */
3
- export declare function Stage({ label, value, start, durationMilliseconds, locale }: StageProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8EAA8E,CAAC;AAEpH,0EAA0E;AAC1E,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,EAAE,eAAe,+BAQ3F"}
@@ -1,11 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useCountUp } from "@sharadox/animation-web-library/count-up";
4
- import { LOCALES } from "@sharadox/sharadox-web-library/content/locale";
5
- import styles from "../index.module.css";
6
- /** One funnel stage in the legend: its label and a number counting up. */
7
- export function Stage({ label, value, start, durationMilliseconds, locale }) {
8
- const count = useCountUp(value, start, durationMilliseconds);
9
- return (_jsxs("div", { className: styles.stage, children: [_jsx("dt", { className: "monospace", children: label }), _jsx("dd", { children: count.toLocaleString(LOCALES.languageTag(locale)) })] }));
10
- }
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAG1C,0EAA0E;AAC1E,MAAM,UAAU,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAmB;IAC1F,MAAM,KAAK,GAAG,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,oBAAoB,CAAC,CAAC;IAC7D,OAAO,CACL,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,aAAI,SAAS,EAAC,WAAW,YAAE,KAAK,GAAM,EACtC,uBAAK,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,GAAM,IACxD,CACP,CAAC;AACJ,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
- export interface StageProperties {
3
- label: string;
4
- value: number;
5
- /** Starts counting up when true. */
6
- start: boolean;
7
- durationMilliseconds: number;
8
- locale: Locale;
9
- }
10
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/type.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import type { Locale } from "@sharadox/sharadox-web-library/content/locale/type";
2
- export interface CampaignVisualProperties {
3
- locale: Locale;
4
- }
5
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/type.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import type { CellProperties } from "@sharadox/sharadox-web-library/component/services/cell/type";
2
- /**
3
- * One discipline in the services grid: its live visual (which tilts in 3D towards the pointer), number, kinds and
4
- * copy, with a light that follows the pointer.
5
- */
6
- export declare function Cell({ id, visual, number, kinds, title, lead, text, actions, className }: CellProperties): import("react").JSX.Element;
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAElG;;;GAGG;AACH,wBAAgB,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,cAAc,+BA0BxG"}
@@ -1,16 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { classNames } from "@sharadox/web-library/class-name";
4
- import { useSpotlight } from "@sharadox/pointer-web-library/spotlight";
5
- import { useTilt } from "@sharadox/pointer-web-library/tilt";
6
- import styles from "./index.module.css";
7
- /**
8
- * One discipline in the services grid: its live visual (which tilts in 3D towards the pointer), number, kinds and
9
- * copy, with a light that follows the pointer.
10
- */
11
- export function Cell({ id, visual, number, kinds, title, lead, text, actions, className }) {
12
- const spotlight = useSpotlight();
13
- const tilt = useTilt(5);
14
- return (_jsxs("article", { id: id, ref: spotlight, className: classNames(styles.cell, className), children: [_jsx("div", { ref: tilt, className: styles.visual, children: _jsx("div", { className: styles.stage, children: visual }) }), _jsxs("div", { className: styles.copy, children: [_jsxs("div", { className: styles.meta, children: [_jsx("span", { className: `monospace ${styles.number}`, children: number }), _jsx("ul", { className: styles.kinds, children: kinds.map((kind) => (_jsx("li", { className: "monospace", children: kind }, kind))) })] }), _jsx("h3", { children: title }), _jsx("p", { className: styles.lead, children: lead }), _jsx("p", { children: text }), actions] })] }));
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC7D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAkB;IACvG,MAAM,SAAS,GAAG,YAAY,EAAe,CAAC;IAC9C,MAAM,IAAI,GAAG,OAAO,CAAiB,CAAC,CAAC,CAAC;IACxC,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,aAC5E,cAAK,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,YACtC,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YAAG,MAAM,GAAO,GACxC,EACN,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAK,SAAS,EAAE,MAAM,CAAC,IAAI,aACzB,eAAM,SAAS,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE,YAAG,MAAM,GAAQ,EAC9D,aAAI,SAAS,EAAE,MAAM,CAAC,KAAK,YACxB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,aAAe,SAAS,EAAC,WAAW,YACjC,IAAI,IADE,IAAI,CAER,CACN,CAAC,GACC,IACD,EACN,uBAAK,KAAK,GAAM,EAChB,YAAG,SAAS,EAAE,MAAM,CAAC,IAAI,YAAG,IAAI,GAAK,EACrC,sBAAI,IAAI,GAAK,EACZ,OAAO,IACJ,IACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- .cell{--pointer-x: -500px;--pointer-y: -500px;position:relative;display:flex;flex-direction:column;background:var(--background);isolation:isolate;scroll-margin-top:80px}.cell::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), color-mix(in srgb, var(--foreground) 6%, transparent), transparent 60%)}.visual{--tilt-x: 0deg;--tilt-y: 0deg;position:relative;height:320px;overflow:hidden;perspective:1100px;border-bottom:1px dashed var(--line-2);background:radial-gradient(110% 90% at 50% 0%, color-mix(in srgb, var(--foreground) 5%, transparent), transparent 70%),radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0/18px 18px}@media(max-width: 600px){.visual{height:280px}}.stage{position:absolute;inset:0;transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-style:preserve-3d;transition:transform .6s cubic-bezier(0.22, 1, 0.36, 1)}.copy{padding:26px 28px 32px;display:grid;gap:10px;align-content:start}.copy p:not(.lead){color:var(--foreground-2);max-width:48ch}.meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.number{font-size:12px;color:var(--foreground-3)}.kinds{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin:0;padding:0;list-style:none}.kinds li{font-size:11px;padding:4px 9px;border-radius:99px;border:1px solid var(--line-2);color:var(--foreground-2)}.lead{color:var(--foreground);font-weight:500}
@@ -1,81 +0,0 @@
1
- @use "style/token" as *;
2
-
3
- .cell {
4
- --pointer-x: -500px;
5
- --pointer-y: -500px;
6
- position: relative;
7
- display: flex;
8
- flex-direction: column;
9
- background: var(--background);
10
- isolation: isolate;
11
- scroll-margin-top: 80px;
12
- &::before {
13
- content: "";
14
- position: absolute;
15
- inset: 0;
16
- z-index: -1;
17
- background: radial-gradient(460px circle at var(--pointer-x) var(--pointer-y), tint(6%), transparent 60%);
18
- }
19
- }
20
- .visual {
21
- --tilt-x: 0deg;
22
- --tilt-y: 0deg;
23
- position: relative;
24
- height: 320px;
25
- overflow: hidden;
26
- perspective: 1100px;
27
- border-bottom: 1px dashed var(--line-2);
28
- background:
29
- radial-gradient(110% 90% at 50% 0%, tint(5%), transparent 70%),
30
- radial-gradient(circle, var(--line-2) 1px, transparent 1.4px) 0 0 / 18px 18px;
31
- @include below(600px) {
32
- height: 280px;
33
- }
34
- }
35
- .stage {
36
- position: absolute;
37
- inset: 0;
38
- transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
39
- transform-style: preserve-3d;
40
- transition: transform 0.6s $ease;
41
- }
42
- .copy {
43
- padding: 26px 28px 32px;
44
- display: grid;
45
- gap: 10px;
46
- align-content: start;
47
- p:not(.lead) {
48
- color: var(--foreground-2);
49
- max-width: 48ch;
50
- }
51
- }
52
- .meta {
53
- display: flex;
54
- align-items: center;
55
- justify-content: space-between;
56
- gap: 12px;
57
- }
58
- .number {
59
- font-size: 12px;
60
- color: var(--foreground-3);
61
- }
62
- .kinds {
63
- display: flex;
64
- flex-wrap: wrap;
65
- justify-content: flex-end;
66
- gap: 6px;
67
- margin: 0;
68
- padding: 0;
69
- list-style: none;
70
- li {
71
- font-size: 11px;
72
- padding: 4px 9px;
73
- border-radius: 99px;
74
- border: 1px solid var(--line-2);
75
- color: var(--foreground-2);
76
- }
77
- }
78
- .lead {
79
- color: var(--foreground);
80
- font-weight: 500;
81
- }
@@ -1,16 +0,0 @@
1
- import type { ReactNode } from "react";
2
- export interface CellProperties {
3
- /** Anchor id, so the service index can jump here. */
4
- id: string;
5
- /** The live visual on top. */
6
- visual: ReactNode;
7
- number: string;
8
- kinds: readonly string[];
9
- title: string;
10
- lead: string;
11
- text: string;
12
- /** Calls to action under the copy. */
13
- actions?: ReactNode;
14
- className?: string;
15
- }
16
- //# sourceMappingURL=type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/services/cell/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,cAAc;IAC7B,qDAAqD;IACrD,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/services/cell/type.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- /**
2
- * Brand assets floating in 3D: a logo being constructed on its guides, the color palette and a type specimen.
3
- */
4
- export declare function DesignVisual(): import("react").JSX.Element;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,YAAY,gCA0C3B"}
@@ -1,21 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { classNames } from "@sharadox/web-library/class-name";
4
- import { useInView } from "@sharadox/animation-web-library/in-view";
5
- import styles from "./index.module.css";
6
- const SWATCHES = ["var(--foreground)", "var(--foreground-2)", "var(--foreground-3)", "var(--surface)"];
7
- /**
8
- * Brand assets floating in 3D: a logo being constructed on its guides, the color palette and a type specimen.
9
- */
10
- export function DesignVisual() {
11
- const [container, on] = useInView();
12
- return (_jsx("div", { ref: container, className: classNames(styles.visual, on && styles.on), "aria-hidden": true, children: _jsxs("div", { className: styles.scene, children: [_jsx("div", { className: `${styles.card} ${styles.palette}`, children: SWATCHES.map((color, index) => (_jsx("span", { style: { background: color, animationDelay: `${0.3 + index * 0.1}s` } }, color))) }), _jsxs("div", { className: `${styles.card} ${styles.type}`, children: [_jsx("span", { className: styles.specimen, children: "Aa" }), _jsx("span", { className: `${styles.caption} monospace`, children: "Geist" }), _jsx("span", { className: `${styles.glyphs} monospace`, children: "Rr Gg 01" })] }), _jsx("div", { className: `${styles.card} ${styles.mark}`, children: _jsxs("svg", { viewBox: "0 0 120 120", children: [_jsxs("g", { className: styles.guides, children: [_jsx("line", { x1: "0", y1: "60", x2: "120", y2: "60" }), _jsx("line", { x1: "60", y1: "0", x2: "60", y2: "120" }), _jsx("circle", { cx: "60", cy: "60", r: "46" }), _jsx("circle", { cx: "60", cy: "60", r: "28" }), _jsx("line", { x1: "14", y1: "14", x2: "106", y2: "106" }), _jsx("line", { x1: "106", y1: "14", x2: "14", y2: "106" })] }), _jsx("circle", { cx: "60", cy: "60", r: "34", className: styles.outer, pathLength: 1 }), _jsx("ellipse", { cx: "60", cy: "60", rx: "18", ry: "34", className: styles.inner, pathLength: 1 }), [
13
- [60, 26],
14
- [94, 60],
15
- [60, 94],
16
- [26, 60],
17
- [42, 60],
18
- [78, 60],
19
- ].map(([x, y]) => (_jsx("rect", { x: x - 2.5, y: y - 2.5, width: "5", height: "5", className: styles.anchor }, `${x}-${y}`)))] }) })] }) }));
20
- }
21
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/design-visual/index.tsx"],"names":[],"mappings":"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"}
@@ -1 +0,0 @@
1
- .visual{position:absolute;inset:0;display:grid;place-items:center;perspective:900px}.scene{position:relative;width:150px;height:190px;transform-style:preserve-3d;animation:sway 10s ease-in-out infinite}@keyframes sway{0%,100%{transform:rotateX(12deg) rotateY(-16deg)}50%{transform:rotateX(6deg) rotateY(14deg)}}.card{position:absolute;inset:0;border-radius:14px;border:1px solid var(--line-2);background:var(--card);box-shadow:0 30px 60px -20px color-mix(in srgb, var(--background) 90%, transparent)}.palette{transform:translate3d(-110px, 6px, -70px) rotateY(24deg);display:grid;grid-template-rows:repeat(4, 1fr);padding:10px;gap:6px}.palette span{border-radius:6px;border:1px solid var(--line);transform-origin:left}.on .palette span{animation:fill-in .8s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .on .palette span{animation-duration:0s !important;animation-delay:0s !important}@keyframes fill-in{from{transform:scaleX(0)}}.type{transform:translate3d(110px, -6px, -50px) rotateY(-24deg);display:grid;align-content:center;justify-items:center;gap:4px}.specimen{font-size:64px;font-weight:600;letter-spacing:-0.06em;line-height:1}.caption{font-size:10px;color:var(--foreground-2)}.glyphs{margin-top:8px;font-size:10px;color:var(--foreground-3);letter-spacing:.2em}.mark{transform:translateZ(40px);display:grid;place-items:center;background:var(--background)}.mark svg{width:120px;height:120px;overflow:visible}.guides{fill:none;stroke:var(--line-2);stroke-width:.6;stroke-dasharray:2 2}.outer,.inner{fill:none;stroke:var(--foreground);stroke-width:2.4;stroke-dasharray:1;stroke-dashoffset:0}.on .outer,.on .inner{animation:draw-line 1.8s .2s cubic-bezier(0.22, 1, 0.36, 1) both}:global(:root[data-soft-navigation]) .on .outer,:global(:root[data-soft-navigation]) .on .inner{animation-duration:0s !important;animation-delay:0s !important}.inner{stroke-width:1.8}.on .inner{animation-delay:.6s}@keyframes draw-line{from{stroke-dashoffset:1}}.anchor{fill:var(--background);stroke:var(--foreground-2);stroke-width:.8}
@@ -1,119 +0,0 @@
1
- @use "style/token" as *;
2
-
3
- .visual {
4
- @include fill-center;
5
- perspective: 900px;
6
- }
7
- .scene {
8
- position: relative;
9
- width: 150px;
10
- height: 190px;
11
- transform-style: preserve-3d;
12
- animation: sway 10s ease-in-out infinite;
13
- }
14
- @keyframes sway {
15
- 0%,
16
- 100% {
17
- transform: rotateX(12deg) rotateY(-16deg);
18
- }
19
- 50% {
20
- transform: rotateX(6deg) rotateY(14deg);
21
- }
22
- }
23
- .card {
24
- position: absolute;
25
- inset: 0;
26
- border-radius: 14px;
27
- border: 1px solid var(--line-2);
28
- background: var(--card);
29
- box-shadow: 0 30px 60px -20px shade(90%);
30
- }
31
- .palette {
32
- transform: translate3d(-110px, 6px, -70px) rotateY(24deg);
33
- display: grid;
34
- grid-template-rows: repeat(4, 1fr);
35
- padding: 10px;
36
- gap: 6px;
37
- span {
38
- border-radius: 6px;
39
- border: 1px solid var(--line);
40
- transform-origin: left;
41
- .on & {
42
- animation: fill-in 0.8s $ease both;
43
- @include skip-entrance;
44
- }
45
- }
46
- }
47
- @keyframes fill-in {
48
- from {
49
- transform: scaleX(0);
50
- }
51
- }
52
- .type {
53
- transform: translate3d(110px, -6px, -50px) rotateY(-24deg);
54
- display: grid;
55
- align-content: center;
56
- justify-items: center;
57
- gap: 4px;
58
- }
59
- .specimen {
60
- font-size: 64px;
61
- font-weight: 600;
62
- letter-spacing: -0.06em;
63
- line-height: 1;
64
- }
65
- .caption {
66
- font-size: 10px;
67
- color: var(--foreground-2);
68
- }
69
- .glyphs {
70
- margin-top: 8px;
71
- font-size: 10px;
72
- color: var(--foreground-3);
73
- letter-spacing: 0.2em;
74
- }
75
- .mark {
76
- transform: translateZ(40px);
77
- display: grid;
78
- place-items: center;
79
- background: var(--background);
80
- svg {
81
- width: 120px;
82
- height: 120px;
83
- overflow: visible;
84
- }
85
- }
86
- .guides {
87
- fill: none;
88
- stroke: var(--line-2);
89
- stroke-width: 0.6;
90
- stroke-dasharray: 2 2;
91
- }
92
- .outer,
93
- .inner {
94
- fill: none;
95
- stroke: var(--foreground);
96
- stroke-width: 2.4;
97
- stroke-dasharray: 1;
98
- stroke-dashoffset: 0;
99
- .on & {
100
- animation: draw-line 1.8s 0.2s $ease both;
101
- @include skip-entrance;
102
- }
103
- }
104
- .inner {
105
- stroke-width: 1.8;
106
- .on & {
107
- animation-delay: 0.6s;
108
- }
109
- }
110
- @keyframes draw-line {
111
- from {
112
- stroke-dashoffset: 1;
113
- }
114
- }
115
- .anchor {
116
- fill: var(--background);
117
- stroke: var(--foreground-2);
118
- stroke-width: 0.8;
119
- }
@@ -1,4 +0,0 @@
1
- import type { MobileVisualProperties } from "@sharadox/sharadox-web-library/component/services/mobile-visual/type";
2
- /** A phone with business notifications sliding in. */
3
- export declare function MobileVisual({ locale }: MobileVisualProperties): import("react").JSX.Element;
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sEAAsE,CAAC;AAEnH,sDAAsD;AACtD,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB,+BA8B9D"}
@@ -1,18 +0,0 @@
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 { classNames } from "@sharadox/web-library/class-name";
6
- import styles from "./index.module.css";
7
- /** A phone with business notifications sliding in. */
8
- export function MobileVisual({ locale }) {
9
- const items = SERVICES.notifications[locale];
10
- const [tick, setTick] = useState(0);
11
- useEffect(() => {
12
- const timer = setInterval(() => setTick((current) => current + 1), 1800);
13
- return () => clearInterval(timer);
14
- }, []);
15
- const shown = [0, 1, 2].map((slot) => items[(tick + slot) % items.length]);
16
- 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: classNames(styles.note, slot === 1 && styles.note1, slot === 2 && styles.note2), children: [_jsx("span", { className: styles.icon }), _jsxs("span", { className: styles.text, children: [_jsx("b", { children: title }), _jsx("em", { children: detail })] })] }, `${tick}-${slot}`))) })] }) }));
17
- }
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/mobile-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,sDAAsD;AACtD,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAA0B;IAC7D,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7C,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IACpC,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;QACzE,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,MAAM,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,CAAE,CAAC,CAAC;IAC5E,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,iCAC3B,eAAK,SAAS,EAAE,MAAM,CAAC,KAAK,aAC1B,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EAChC,cAAK,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,qBAAY,EACtD,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,YACzB,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CACpC,eAEE,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,KAAK,CAAC,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,KAAK,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,aAE1F,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,GAAI,EAChC,gBAAM,SAAS,EAAE,MAAM,CAAC,IAAI,aAC1B,sBAAI,KAAK,GAAK,EACd,uBAAK,MAAM,GAAM,IACZ,KAPF,GAAG,IAAI,IAAI,IAAI,EAAE,CAQlB,CACP,CAAC,GACE,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- .visual{position:absolute;inset:0;display:grid;place-items:center}.phone{position:relative;width:168px;height:300px;margin-top:70px;border-radius:30px;border:1px solid var(--line-2);background:linear-gradient(180deg, var(--surface), var(--card));box-shadow:0 40px 80px -20px color-mix(in srgb, var(--background) 90%, transparent);transform:rotateY(-14deg) rotateX(8deg) rotateZ(2deg);transform-style:preserve-3d;animation:hover 8s ease-in-out infinite;padding:34px 10px 0}.notch{position:absolute;top:9px;left:50%;width:56px;height:16px;margin-left:-28px;border-radius:10px;background:var(--background);border:1px solid var(--line-2)}.time{text-align:center;font-size:26px;font-weight:500;letter-spacing:-0.04em;margin:4px 0 12px}.notes{display:grid;gap:7px}.note{display:flex;gap:8px;align-items:center;padding:8px 9px;border-radius:12px;background:color-mix(in srgb, var(--foreground) 7%, transparent);backdrop-filter:blur(4px);border:1px solid var(--line);animation:note-in .6s var(--ease) both}.note1{opacity:.7}.note2{opacity:.4}.icon{width:20px;height:20px;border-radius:6px;background:var(--foreground);flex:none}.text{display:grid;line-height:1.25;min-width:0}.text b{font-size:10.5px;font-weight:600}.text em{font-style:normal;font-size:9.5px;color:var(--foreground-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@keyframes note-in{from{opacity:0;transform:translateY(-12px) scale(0.96)}}@keyframes hover{50%{transform:rotateY(-8deg) rotateX(4deg) rotateZ(1deg) translateY(-8px)}}