@sharadox/sharadox-web-library 0.3.0 → 0.5.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.
Files changed (309) hide show
  1. package/README.md +4 -2
  2. package/distribution/action/send-contact/index.d.ts.map +1 -1
  3. package/distribution/action/send-contact/index.js +5 -3
  4. package/distribution/action/send-contact/index.js.map +1 -1
  5. package/distribution/component/button/index.d.ts +1 -1
  6. package/distribution/component/button/index.d.ts.map +1 -1
  7. package/distribution/component/button/index.js +2 -2
  8. package/distribution/component/button/index.js.map +1 -1
  9. package/distribution/component/button/index.module.css +11 -8
  10. package/distribution/component/button/type.d.ts +1 -1
  11. package/distribution/component/capability/index.d.ts +4 -0
  12. package/distribution/component/capability/index.d.ts.map +1 -0
  13. package/distribution/component/capability/index.js +14 -0
  14. package/distribution/component/capability/index.js.map +1 -0
  15. package/distribution/component/capability/index.module.css +94 -0
  16. package/distribution/component/{services/application-visual → capability}/type.d.ts +1 -1
  17. package/distribution/component/capability/type.d.ts.map +1 -0
  18. package/distribution/component/capability/type.js.map +1 -0
  19. package/distribution/component/contact/form/index.d.ts.map +1 -1
  20. package/distribution/component/contact/form/index.js +1 -1
  21. package/distribution/component/contact/form/index.js.map +1 -1
  22. package/distribution/component/contact/form/index.module.css +67 -7
  23. package/distribution/component/contact/index.module.css +2 -2
  24. package/distribution/component/cross/index.d.ts +4 -0
  25. package/distribution/component/cross/index.d.ts.map +1 -0
  26. package/distribution/component/cross/index.js +7 -0
  27. package/distribution/component/cross/index.js.map +1 -0
  28. package/distribution/component/cross/index.module.css +53 -0
  29. package/distribution/component/cross/type.d.ts +6 -0
  30. package/distribution/component/cross/type.d.ts.map +1 -0
  31. package/distribution/component/cross/type.js.map +1 -0
  32. package/distribution/component/cursor/index.js +1 -1
  33. package/distribution/component/cursor/index.js.map +1 -1
  34. package/distribution/component/cursor/index.module.css +3 -1
  35. package/distribution/component/footer/index.d.ts +1 -1
  36. package/distribution/component/footer/index.d.ts.map +1 -1
  37. package/distribution/component/footer/index.js +12 -5
  38. package/distribution/component/footer/index.js.map +1 -1
  39. package/distribution/component/footer/index.module.css +88 -22
  40. package/distribution/component/globe/arc/index.d.ts +1 -1
  41. package/distribution/component/globe/arc/index.d.ts.map +1 -1
  42. package/distribution/component/globe/arc/index.js +4 -4
  43. package/distribution/component/globe/arc/index.js.map +1 -1
  44. package/distribution/component/globe/arc/type.d.ts +2 -0
  45. package/distribution/component/globe/arc/type.d.ts.map +1 -1
  46. package/distribution/component/globe/color/index.d.ts +4 -0
  47. package/distribution/component/globe/color/index.d.ts.map +1 -0
  48. package/distribution/component/globe/color/index.js +16 -0
  49. package/distribution/component/globe/color/index.js.map +1 -0
  50. package/distribution/component/globe/color/type.d.ts +13 -0
  51. package/distribution/component/globe/color/type.d.ts.map +1 -0
  52. package/distribution/component/globe/color/type.js +2 -0
  53. package/distribution/component/globe/color/type.js.map +1 -0
  54. package/distribution/component/globe/dots/index.d.ts +1 -1
  55. package/distribution/component/globe/dots/index.d.ts.map +1 -1
  56. package/distribution/component/globe/dots/index.js +6 -2
  57. package/distribution/component/globe/dots/index.js.map +1 -1
  58. package/distribution/component/globe/dots/type.d.ts +2 -0
  59. package/distribution/component/globe/dots/type.d.ts.map +1 -1
  60. package/distribution/component/globe/index.d.ts +1 -1
  61. package/distribution/component/globe/index.d.ts.map +1 -1
  62. package/distribution/component/globe/index.js +8 -3
  63. package/distribution/component/globe/index.js.map +1 -1
  64. package/distribution/component/globe/index.module.css +3 -3
  65. package/distribution/component/globe/marker/index.d.ts +1 -1
  66. package/distribution/component/globe/marker/index.d.ts.map +1 -1
  67. package/distribution/component/globe/marker/index.js +2 -2
  68. package/distribution/component/globe/marker/index.js.map +1 -1
  69. package/distribution/component/globe/marker/type.d.ts +2 -0
  70. package/distribution/component/globe/marker/type.d.ts.map +1 -1
  71. package/distribution/component/globe/shader/arc/index.d.ts.map +1 -1
  72. package/distribution/component/globe/shader/arc/index.js +2 -1
  73. package/distribution/component/globe/shader/arc/index.js.map +1 -1
  74. package/distribution/component/globe/shader/atmosphere/index.d.ts.map +1 -1
  75. package/distribution/component/globe/shader/atmosphere/index.js +2 -1
  76. package/distribution/component/globe/shader/atmosphere/index.js.map +1 -1
  77. package/distribution/component/globe/shader/body/index.d.ts +1 -1
  78. package/distribution/component/globe/shader/body/index.d.ts.map +1 -1
  79. package/distribution/component/globe/shader/body/index.js +4 -2
  80. package/distribution/component/globe/shader/body/index.js.map +1 -1
  81. package/distribution/component/globe/shader/dot/index.d.ts.map +1 -1
  82. package/distribution/component/globe/shader/dot/index.js +2 -1
  83. package/distribution/component/globe/shader/dot/index.js.map +1 -1
  84. package/distribution/component/globe/world/index.d.ts +1 -1
  85. package/distribution/component/globe/world/index.d.ts.map +1 -1
  86. package/distribution/component/globe/world/index.js +11 -7
  87. package/distribution/component/globe/world/index.js.map +1 -1
  88. package/distribution/component/globe/world/type.d.ts +2 -0
  89. package/distribution/component/globe/world/type.d.ts.map +1 -1
  90. package/distribution/component/hero/guide/index.d.ts +6 -0
  91. package/distribution/component/hero/guide/index.d.ts.map +1 -0
  92. package/distribution/component/hero/guide/index.js +12 -0
  93. package/distribution/component/hero/guide/index.js.map +1 -0
  94. package/distribution/component/hero/guide/index.module.css +97 -0
  95. package/distribution/component/hero/index.d.ts +1 -1
  96. package/distribution/component/hero/index.d.ts.map +1 -1
  97. package/distribution/component/hero/index.js +4 -2
  98. package/distribution/component/hero/index.js.map +1 -1
  99. package/distribution/component/hero/index.module.css +23 -29
  100. package/distribution/component/language-switch/index.d.ts +1 -1
  101. package/distribution/component/language-switch/index.d.ts.map +1 -1
  102. package/distribution/component/language-switch/index.js +5 -3
  103. package/distribution/component/language-switch/index.js.map +1 -1
  104. package/distribution/component/language-switch/index.module.css +6 -3
  105. package/distribution/component/locale-link/index.d.ts +4 -0
  106. package/distribution/component/locale-link/index.d.ts.map +1 -0
  107. package/distribution/component/locale-link/index.js +9 -0
  108. package/distribution/component/locale-link/index.js.map +1 -0
  109. package/distribution/component/locale-link/type.d.ts +10 -0
  110. package/distribution/component/locale-link/type.d.ts.map +1 -0
  111. package/distribution/component/locale-link/type.js +2 -0
  112. package/distribution/component/locale-link/type.js.map +1 -0
  113. package/distribution/component/marquee/index.d.ts +2 -2
  114. package/distribution/component/marquee/index.d.ts.map +1 -1
  115. package/distribution/component/marquee/index.js +6 -3
  116. package/distribution/component/marquee/index.js.map +1 -1
  117. package/distribution/component/marquee/index.module.css +17 -14
  118. package/distribution/component/navigation/index.d.ts +1 -1
  119. package/distribution/component/navigation/index.d.ts.map +1 -1
  120. package/distribution/component/navigation/index.js +4 -2
  121. package/distribution/component/navigation/index.js.map +1 -1
  122. package/distribution/component/navigation/index.module.css +32 -7
  123. package/distribution/component/process/index.module.css +3 -3
  124. package/distribution/component/process/step/index.module.css +2 -2
  125. package/distribution/component/section/index.d.ts +5 -2
  126. package/distribution/component/section/index.d.ts.map +1 -1
  127. package/distribution/component/section/index.js +8 -4
  128. package/distribution/component/section/index.js.map +1 -1
  129. package/distribution/component/section/index.module.css +32 -3
  130. package/distribution/component/section/type.d.ts +5 -1
  131. package/distribution/component/section/type.d.ts.map +1 -1
  132. package/distribution/component/service-index/index.d.ts +4 -0
  133. package/distribution/component/service-index/index.d.ts.map +1 -0
  134. package/distribution/component/service-index/index.js +11 -0
  135. package/distribution/component/service-index/index.js.map +1 -0
  136. package/distribution/component/service-index/index.module.css +88 -0
  137. package/distribution/component/service-index/type.d.ts +5 -0
  138. package/distribution/component/service-index/type.d.ts.map +1 -0
  139. package/distribution/component/service-index/type.js +2 -0
  140. package/distribution/component/service-index/type.js.map +1 -0
  141. package/distribution/component/services/campaign-visual/index.d.ts +4 -0
  142. package/distribution/component/services/campaign-visual/index.d.ts.map +1 -0
  143. package/distribution/component/services/campaign-visual/index.js +18 -0
  144. package/distribution/component/services/campaign-visual/index.js.map +1 -0
  145. package/distribution/component/services/campaign-visual/index.module.css +128 -0
  146. package/distribution/component/services/campaign-visual/stage/index.d.ts +4 -0
  147. package/distribution/component/services/campaign-visual/stage/index.d.ts.map +1 -0
  148. package/distribution/component/services/campaign-visual/stage/index.js +11 -0
  149. package/distribution/component/services/campaign-visual/stage/index.js.map +1 -0
  150. package/distribution/component/services/campaign-visual/stage/type.d.ts +10 -0
  151. package/distribution/component/services/campaign-visual/stage/type.d.ts.map +1 -0
  152. package/distribution/component/services/campaign-visual/stage/type.js +2 -0
  153. package/distribution/component/services/campaign-visual/stage/type.js.map +1 -0
  154. package/distribution/component/services/campaign-visual/type.d.ts +5 -0
  155. package/distribution/component/services/campaign-visual/type.d.ts.map +1 -0
  156. package/distribution/component/services/campaign-visual/type.js +2 -0
  157. package/distribution/component/services/campaign-visual/type.js.map +1 -0
  158. package/distribution/component/services/cell/index.d.ts +7 -0
  159. package/distribution/component/services/cell/index.d.ts.map +1 -0
  160. package/distribution/component/services/cell/index.js +15 -0
  161. package/distribution/component/services/cell/index.js.map +1 -0
  162. package/distribution/component/services/cell/index.module.css +86 -0
  163. package/distribution/component/services/cell/type.d.ts +14 -0
  164. package/distribution/component/services/cell/type.d.ts.map +1 -0
  165. package/distribution/component/services/cell/type.js +2 -0
  166. package/distribution/component/services/cell/type.js.map +1 -0
  167. package/distribution/component/services/design-visual/index.d.ts +5 -0
  168. package/distribution/component/services/design-visual/index.d.ts.map +1 -0
  169. package/distribution/component/services/design-visual/index.js +20 -0
  170. package/distribution/component/services/design-visual/index.js.map +1 -0
  171. package/distribution/component/services/design-visual/index.module.css +130 -0
  172. package/distribution/component/services/index.d.ts +1 -1
  173. package/distribution/component/services/index.d.ts.map +1 -1
  174. package/distribution/component/services/index.js +16 -10
  175. package/distribution/component/services/index.js.map +1 -1
  176. package/distribution/component/services/index.module.css +73 -8
  177. package/distribution/component/services/mobile-visual/index.d.ts +4 -0
  178. package/distribution/component/services/mobile-visual/index.d.ts.map +1 -0
  179. package/distribution/component/services/{application-visual → mobile-visual}/index.js +1 -1
  180. package/distribution/component/services/mobile-visual/index.js.map +1 -0
  181. package/distribution/component/services/{application-visual → mobile-visual}/index.module.css +15 -6
  182. package/distribution/component/services/mobile-visual/type.d.ts +5 -0
  183. package/distribution/component/services/mobile-visual/type.d.ts.map +1 -0
  184. package/distribution/component/services/mobile-visual/type.js +2 -0
  185. package/distribution/component/services/mobile-visual/type.js.map +1 -0
  186. package/distribution/component/services/platform-visual/index.js +1 -1
  187. package/distribution/component/services/platform-visual/index.js.map +1 -1
  188. package/distribution/component/services/platform-visual/index.module.css +8 -8
  189. package/distribution/component/services/social-visual/index.d.ts +4 -0
  190. package/distribution/component/services/social-visual/index.d.ts.map +1 -0
  191. package/distribution/component/services/social-visual/index.js +17 -0
  192. package/distribution/component/services/social-visual/index.js.map +1 -0
  193. package/distribution/component/services/social-visual/index.module.css +131 -0
  194. package/distribution/component/services/social-visual/type.d.ts +5 -0
  195. package/distribution/component/services/social-visual/type.d.ts.map +1 -0
  196. package/distribution/component/services/social-visual/type.js +2 -0
  197. package/distribution/component/services/social-visual/type.js.map +1 -0
  198. package/distribution/component/services/web-visual/index.module.css +19 -11
  199. package/distribution/component/statement/index.d.ts.map +1 -1
  200. package/distribution/component/statement/index.js +2 -1
  201. package/distribution/component/statement/index.js.map +1 -1
  202. package/distribution/component/statement/index.module.css +1 -3
  203. package/distribution/component/structured-data/index.d.ts +1 -1
  204. package/distribution/component/structured-data/index.d.ts.map +1 -1
  205. package/distribution/component/structured-data/index.js +28 -2
  206. package/distribution/component/structured-data/index.js.map +1 -1
  207. package/distribution/component/style-switch/index.d.ts +7 -0
  208. package/distribution/component/style-switch/index.d.ts.map +1 -0
  209. package/distribution/component/style-switch/index.js +34 -0
  210. package/distribution/component/style-switch/index.js.map +1 -0
  211. package/distribution/component/style-switch/index.module.css +36 -0
  212. package/distribution/component/style-switch/type.d.ts +6 -0
  213. package/distribution/component/style-switch/type.d.ts.map +1 -0
  214. package/distribution/component/style-switch/type.js +2 -0
  215. package/distribution/component/style-switch/type.js.map +1 -0
  216. package/distribution/component/touchpoint/index.d.ts +7 -0
  217. package/distribution/component/touchpoint/index.d.ts.map +1 -0
  218. package/distribution/component/touchpoint/index.js +25 -0
  219. package/distribution/component/touchpoint/index.js.map +1 -0
  220. package/distribution/component/touchpoint/index.module.css +85 -0
  221. package/distribution/component/touchpoint/plate/index.d.ts +4 -0
  222. package/distribution/component/touchpoint/plate/index.d.ts.map +1 -0
  223. package/distribution/component/touchpoint/plate/index.js +9 -0
  224. package/distribution/component/touchpoint/plate/index.js.map +1 -0
  225. package/distribution/component/touchpoint/plate/index.module.css +136 -0
  226. package/distribution/component/touchpoint/plate/type.d.ts +8 -0
  227. package/distribution/component/touchpoint/plate/type.d.ts.map +1 -0
  228. package/distribution/component/touchpoint/plate/type.js +2 -0
  229. package/distribution/component/touchpoint/plate/type.js.map +1 -0
  230. package/distribution/component/touchpoint/type.d.ts +5 -0
  231. package/distribution/component/touchpoint/type.d.ts.map +1 -0
  232. package/distribution/component/touchpoint/type.js +2 -0
  233. package/distribution/component/touchpoint/type.js.map +1 -0
  234. package/distribution/component/wordmark/index.module.css +2 -2
  235. package/distribution/content/capability/index.d.ts +12 -0
  236. package/distribution/content/capability/index.d.ts.map +1 -0
  237. package/distribution/content/capability/index.js +6 -0
  238. package/distribution/content/capability/index.js.map +1 -0
  239. package/distribution/content/contact/index.d.ts +46 -6
  240. package/distribution/content/contact/index.d.ts.map +1 -1
  241. package/distribution/content/contact/index.js +19 -4
  242. package/distribution/content/contact/index.js.map +1 -1
  243. package/distribution/content/footer/index.d.ts +12 -0
  244. package/distribution/content/footer/index.d.ts.map +1 -1
  245. package/distribution/content/footer/index.js +3 -0
  246. package/distribution/content/footer/index.js.map +1 -1
  247. package/distribution/content/hero/index.d.ts +6 -6
  248. package/distribution/content/hero/index.js +4 -4
  249. package/distribution/content/hero/index.js.map +1 -1
  250. package/distribution/content/navigation/index.d.ts +10 -2
  251. package/distribution/content/navigation/index.d.ts.map +1 -1
  252. package/distribution/content/navigation/index.js +3 -1
  253. package/distribution/content/navigation/index.js.map +1 -1
  254. package/distribution/content/process/index.d.ts +7 -7
  255. package/distribution/content/process/index.d.ts.map +1 -1
  256. package/distribution/content/process/index.js +8 -5
  257. package/distribution/content/process/index.js.map +1 -1
  258. package/distribution/content/separator/index.d.ts +2 -5
  259. package/distribution/content/separator/index.d.ts.map +1 -1
  260. package/distribution/content/separator/index.js +2 -5
  261. package/distribution/content/separator/index.js.map +1 -1
  262. package/distribution/content/services/index.d.ts +120 -29
  263. package/distribution/content/services/index.d.ts.map +1 -1
  264. package/distribution/content/services/index.js +146 -21
  265. package/distribution/content/services/index.js.map +1 -1
  266. package/distribution/content/site/index.d.ts.map +1 -1
  267. package/distribution/content/site/index.js +28 -4
  268. package/distribution/content/site/index.js.map +1 -1
  269. package/distribution/content/stack/index.d.ts +2 -2
  270. package/distribution/content/stack/index.d.ts.map +1 -1
  271. package/distribution/content/stack/index.js +8 -1
  272. package/distribution/content/stack/index.js.map +1 -1
  273. package/distribution/content/statement/index.d.ts +2 -2
  274. package/distribution/content/statement/index.js +2 -2
  275. package/distribution/content/statement/index.js.map +1 -1
  276. package/distribution/content/style/index.d.ts +59 -0
  277. package/distribution/content/style/index.d.ts.map +1 -0
  278. package/distribution/content/style/index.js +48 -0
  279. package/distribution/content/style/index.js.map +1 -0
  280. package/distribution/content/touchpoint/index.d.ts +37 -0
  281. package/distribution/content/touchpoint/index.d.ts.map +1 -0
  282. package/distribution/content/touchpoint/index.js +17 -0
  283. package/distribution/content/touchpoint/index.js.map +1 -0
  284. package/distribution/style/token/index.scss +33 -2
  285. package/distribution/utility/hex-channel/index.d.ts +3 -0
  286. package/distribution/utility/hex-channel/index.d.ts.map +1 -0
  287. package/distribution/utility/hex-channel/index.js +8 -0
  288. package/distribution/utility/hex-channel/index.js.map +1 -0
  289. package/distribution/utility/parse-contact/index.d.ts.map +1 -1
  290. package/distribution/utility/parse-contact/index.js +4 -0
  291. package/distribution/utility/parse-contact/index.js.map +1 -1
  292. package/distribution/utility/parse-contact/type.d.ts +3 -0
  293. package/distribution/utility/parse-contact/type.d.ts.map +1 -1
  294. package/package.json +2 -2
  295. package/distribution/component/services/application-visual/index.d.ts +0 -4
  296. package/distribution/component/services/application-visual/index.d.ts.map +0 -1
  297. package/distribution/component/services/application-visual/index.js.map +0 -1
  298. package/distribution/component/services/application-visual/type.d.ts.map +0 -1
  299. package/distribution/component/services/application-visual/type.js.map +0 -1
  300. package/distribution/component/services/card/index.d.ts +0 -4
  301. package/distribution/component/services/card/index.d.ts.map +0 -1
  302. package/distribution/component/services/card/index.js +0 -10
  303. package/distribution/component/services/card/index.js.map +0 -1
  304. package/distribution/component/services/card/index.module.css +0 -92
  305. package/distribution/component/services/card/type.d.ts +0 -12
  306. package/distribution/component/services/card/type.d.ts.map +0 -1
  307. package/distribution/component/services/card/type.js.map +0 -1
  308. /package/distribution/component/{services/application-visual → capability}/type.js +0 -0
  309. /package/distribution/component/{services/card → cross}/type.js +0 -0
@@ -1,4 +1,4 @@
1
1
  import type { NavigationProperties } from "@sharadox/sharadox-web-library/component/navigation/type";
2
- /** Fixed top bar that frosts once the page scrolls. */
2
+ /** Fixed top bar that frosts once the page scrolls, with the style and language switches. */
3
3
  export declare function Navigation({ locale }: NavigationProperties): import("react").JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAErG,uDAAuD;AACvD,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA0B1D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAIrG,6FAA6F;AAC7F,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE,oBAAoB,+BA6B1D"}
@@ -3,11 +3,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from "react";
4
4
  import { Button } from "@sharadox/sharadox-web-library/component/button";
5
5
  import { LanguageSwitch } from "@sharadox/sharadox-web-library/component/language-switch";
6
+ import { StyleSwitch } from "@sharadox/sharadox-web-library/component/style-switch";
6
7
  import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
7
8
  import { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
8
9
  import { translate } from "@sharadox/web-library/internationalization/translate";
9
10
  import styles from "./index.module.css";
10
- /** Fixed top bar that frosts once the page scrolls. */
11
+ const LINKS = ["services", "capabilities", "process", "contact"];
12
+ /** Fixed top bar that frosts once the page scrolls, with the style and language switches. */
11
13
  export function Navigation({ locale }) {
12
14
  const [scrolled, setScrolled] = useState(false);
13
15
  useEffect(() => {
@@ -16,6 +18,6 @@ export function Navigation({ locale }) {
16
18
  addEventListener("scroll", update, { passive: true });
17
19
  return () => removeEventListener("scroll", update);
18
20
  }, []);
19
- return (_jsx("header", { className: [styles.navigation, scrolled && styles.scrolled].filter(Boolean).join(" "), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsxs("nav", { className: styles.links, "aria-label": "Main", children: [_jsx("a", { href: "#services", children: translate(NAVIGATION.services, locale) }), _jsx("a", { href: "#process", children: translate(NAVIGATION.process, locale) }), _jsx("a", { href: "#contact", children: translate(NAVIGATION.contact, locale) })] }), _jsxs("div", { className: styles.end, children: [_jsx(LanguageSwitch, { locale: locale }), _jsx(Button, { href: "#contact", size: "small", className: styles.callToAction, children: translate(NAVIGATION.callToAction, locale) })] })] }) }));
21
+ return (_jsx("header", { className: [styles.navigation, scrolled && styles.scrolled].filter(Boolean).join(" "), children: _jsxs("div", { className: styles.inner, children: [_jsx(Wordmark, { href: `/${locale}` }), _jsx("nav", { className: styles.links, "aria-label": "Main", children: LINKS.map((link) => (_jsx("a", { href: `#${link}`, children: translate(NAVIGATION[link], locale) }, link))) }), _jsxs("div", { className: styles.end, children: [_jsx(StyleSwitch, { locale: locale, className: styles.style }), _jsx(LanguageSwitch, { locale: locale }), _jsx(Button, { href: "#contact", size: "small", className: styles.callToAction, children: translate(NAVIGATION.callToAction, locale) })] })] }) }));
20
22
  }
21
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/navigation/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAC;AACjF,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,uDAAuD;AACvD,MAAM,UAAU,UAAU,CAAC,EAAE,MAAM,EAAwB;IACzD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAChD,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;QAC/C,MAAM,EAAE,CAAC;QACT,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACtD,OAAO,GAAG,EAAE,CAAC,mBAAmB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,CACL,iBAAQ,SAAS,EAAE,CAAC,MAAM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AE,MAAM,CAAC,GAAG,aACxB,KAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,EACxD,KAAC,cAAc,IAAC,MAAM,EAAE,MAAM,GAAI,EAClC,KAAC,MAAM,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAE,MAAM,CAAC,YAAY,YAChE,SAAS,CAAC,UAAU,CAAC,YAAY,EAAE,MAAM,CAAC,GACpC,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC"}
@@ -7,35 +7,57 @@
7
7
  }
8
8
 
9
9
  .scrolled {
10
- background: rgba(0, 0, 0, 0.6);
10
+ background: color-mix(in srgb, var(--background) 65%, transparent);
11
11
  backdrop-filter: blur(16px) saturate(1.6);
12
12
  border-color: var(--line);
13
13
  }
14
14
 
15
15
  .inner {
16
- max-width: var(--maximum-width);
16
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
17
17
  margin: 0 auto;
18
18
  height: 64px;
19
19
  padding: 0 var(--padding);
20
20
  display: flex;
21
21
  align-items: center;
22
22
  justify-content: space-between;
23
- gap: 20px;
23
+ gap: 16px;
24
+ }
25
+ @media (max-width: 520px) {
26
+ .inner {
27
+ padding: 0 12px;
28
+ }
24
29
  }
25
30
 
26
31
  .links {
27
32
  display: flex;
28
- gap: 30px;
33
+ gap: 28px;
29
34
  font-size: 14px;
30
35
  color: var(--foreground-2);
31
36
  }
32
37
  .links a {
38
+ position: relative;
33
39
  transition: color 0.2s;
34
40
  }
41
+ .links a::after {
42
+ content: "";
43
+ position: absolute;
44
+ left: 0;
45
+ right: 0;
46
+ bottom: -4px;
47
+ height: 1px;
48
+ background: var(--foreground);
49
+ transform: scaleX(0);
50
+ transform-origin: right;
51
+ transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
52
+ }
35
53
  .links a:hover {
36
54
  color: var(--foreground);
37
55
  }
38
- @media (max-width: 820px) {
56
+ .links a:hover::after {
57
+ transform: scaleX(1);
58
+ transform-origin: left;
59
+ }
60
+ @media (max-width: 960px) {
39
61
  .links {
40
62
  display: none;
41
63
  }
@@ -44,9 +66,12 @@
44
66
  .end {
45
67
  display: flex;
46
68
  align-items: center;
47
- gap: 12px;
69
+ gap: 10px;
48
70
  }
49
- @media (max-width: 420px) {
71
+ @media (max-width: 520px) {
72
+ .end {
73
+ gap: 6px;
74
+ }
50
75
  .end .callToAction {
51
76
  display: none;
52
77
  }
@@ -19,13 +19,13 @@
19
19
  right: 0;
20
20
  top: 6px;
21
21
  height: 1px;
22
- background: var(--line);
22
+ background: linear-gradient(90deg, var(--line-2) 50%, transparent 0) 0 0/8px 1px repeat-x;
23
23
  }
24
24
  .line span {
25
25
  display: block;
26
26
  height: 100%;
27
- background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff);
28
- box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
27
+ background: linear-gradient(90deg, color-mix(in srgb, var(--foreground) 20%, transparent), var(--foreground));
28
+ box-shadow: 0 0 12px color-mix(in srgb, var(--foreground) 60%, transparent);
29
29
  }
30
30
  @media (max-width: 860px) {
31
31
  .line {
@@ -17,8 +17,8 @@
17
17
  width: 11px;
18
18
  height: 11px;
19
19
  border-radius: 50%;
20
- background: #fff;
21
- box-shadow: 0 0 14px 2px rgba(255, 255, 255, 0.7);
20
+ background: var(--foreground);
21
+ box-shadow: 0 0 14px 2px color-mix(in srgb, var(--foreground) 70%, transparent);
22
22
  }
23
23
  @media (max-width: 860px) {
24
24
  .dot {
@@ -1,4 +1,7 @@
1
1
  import type { SectionProperties } from "@sharadox/sharadox-web-library/component/section/type";
2
- /** A full-width page section with the standard width and vertical rhythm. */
3
- export declare function Section({ id, className, children }: SectionProperties): import("react").JSX.Element;
2
+ /**
3
+ * A page section inside the grid frame: the side rails every section shares, a line on top that draws itself in,
4
+ * and "+" marks where they meet.
5
+ */
6
+ export declare function Section({ id, className, padded, crosses, children }: SectionProperties): import("react").JSX.Element;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F,6EAA6E;AAC7E,wBAAgB,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAMrE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uDAAuD,CAAC;AAE/F;;;GAGG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAa,EAAE,OAAc,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAapG"}
@@ -1,7 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Cross } from "@sharadox/sharadox-web-library/component/cross";
2
3
  import styles from "./index.module.css";
3
- /** A full-width page section with the standard width and vertical rhythm. */
4
- export function Section({ id, className, children }) {
5
- return (_jsx("section", { id: id, className: [styles.section, className].filter(Boolean).join(" "), children: children }));
4
+ /**
5
+ * A page section inside the grid frame: the side rails every section shares, a line on top that draws itself in,
6
+ * and "+" marks where they meet.
7
+ */
8
+ export function Section({ id, className, padded = true, crosses = true, children }) {
9
+ return (_jsxs("section", { id: id, className: [styles.section, padded && styles.padded, className].filter(Boolean).join(" "), children: [_jsx("span", { className: styles.line, "aria-hidden": true }), crosses && (_jsxs(_Fragment, { children: [_jsx(Cross, { corner: "top-left" }), _jsx(Cross, { corner: "top-right" })] })), children] }));
6
10
  }
7
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,6EAA6E;AAC7E,MAAM,UAAU,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAqB;IACpE,OAAO,CACL,kBAAS,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,YAC9E,QAAQ,GACD,CACX,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/section/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gDAAgD,CAAC;AACvE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC;;;GAGG;AACH,MAAM,UAAU,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,QAAQ,EAAqB;IACnG,OAAO,CACL,mBAAS,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aACxG,eAAM,SAAS,EAAE,MAAM,CAAC,IAAI,wBAAgB,EAC3C,OAAO,IAAI,CACV,8BACE,KAAC,KAAK,IAAC,MAAM,EAAC,UAAU,GAAG,EAC3B,KAAC,KAAK,IAAC,MAAM,EAAC,WAAW,GAAG,IAC3B,CACJ,EACA,QAAQ,IACD,CACX,CAAC;AACJ,CAAC"}
@@ -1,6 +1,35 @@
1
1
  .section {
2
2
  position: relative;
3
- max-width: var(--maximum-width);
4
- margin: 0 auto;
5
- padding: clamp(80px, 12vw, 150px) var(--padding);
3
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
4
+ margin-inline: auto;
5
+ border-inline: 1px solid var(--line);
6
+ }
7
+
8
+ .padded {
9
+ padding: clamp(72px, 10vw, 128px) var(--padding);
10
+ }
11
+
12
+ .line {
13
+ position: absolute;
14
+ left: calc(-1 * var(--gutter));
15
+ right: calc(-1 * var(--gutter));
16
+ top: -0.5px;
17
+ height: 1px;
18
+ background: linear-gradient(90deg, transparent, var(--line) var(--gutter), var(--line) calc(100% - var(--gutter)), transparent);
19
+ transform-origin: left;
20
+ }
21
+ @media (prefers-reduced-motion: no-preference) {
22
+ @supports (animation-timeline: view()) {
23
+ .line {
24
+ animation: draw linear both;
25
+ animation-timeline: view();
26
+ animation-range: entry 0% entry 60%;
27
+ }
28
+ }
29
+ }
30
+
31
+ @keyframes draw {
32
+ from {
33
+ transform: scaleX(0);
34
+ }
6
35
  }
@@ -2,6 +2,10 @@ import type { ReactNode } from "react";
2
2
  export interface SectionProperties {
3
3
  id?: string;
4
4
  className?: string;
5
- children: ReactNode;
5
+ /** Inner padding; off for sections whose cells run edge to edge. */
6
+ padded?: boolean;
7
+ /** "+" marks on the top corners, where the section's line meets the side rails. */
8
+ crosses?: boolean;
9
+ children?: ReactNode;
6
10
  }
7
11
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/section/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mFAAmF;IACnF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,4 @@
1
+ import type { ServiceIndexProperties } from "@sharadox/sharadox-web-library/component/service-index/type";
2
+ /** The five disciplines in a row of grid cells under the hero, each a shortcut to its section. */
3
+ export declare function ServiceIndex({ locale }: ServiceIndexProperties): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/service-index/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6DAA6D,CAAC;AAE1G,kGAAkG;AAClG,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB,+BAsB9D"}
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { separate } from "@sharadox/sharadox-web-library/utility/separate";
3
+ import { Cross } from "@sharadox/sharadox-web-library/component/cross";
4
+ import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
5
+ import { translate } from "@sharadox/web-library/internationalization/translate";
6
+ import styles from "./index.module.css";
7
+ /** The five disciplines in a row of grid cells under the hero, each a shortcut to its section. */
8
+ export function ServiceIndex({ locale }) {
9
+ return (_jsxs("nav", { className: styles.index, "aria-label": translate(SERVICES.eyebrow, locale), children: [SERVICES.items.map((service, index) => (_jsxs("a", { href: `#${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("span", { className: styles.arrow, "aria-hidden": true, children: "\u2198" })] }, service.key))), _jsx(Cross, { corner: "bottom-left" }), _jsx(Cross, { corner: "bottom-right" })] }));
10
+ }
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,kGAAkG;AAClG,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAA0B;IAC7D,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,IAAI,OAAO,CAAC,GAAG,EAAE,EACvB,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,eAAM,SAAS,EAAE,MAAM,CAAC,KAAK,4CAEtB,KAVF,OAAO,CAAC,GAAG,CAWd,CACL,CAAC,EACF,KAAC,KAAK,IAAC,MAAM,EAAC,aAAa,GAAG,EAC9B,KAAC,KAAK,IAAC,MAAM,EAAC,cAAc,GAAG,IAC3B,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,88 @@
1
+ .index {
2
+ position: relative;
3
+ width: min(100% - 2 * var(--gutter), var(--maximum-width));
4
+ margin: 0 auto;
5
+ display: grid;
6
+ grid-template-columns: repeat(5, 1fr);
7
+ border: 1px solid var(--line);
8
+ }
9
+ @media (max-width: 960px) {
10
+ .index {
11
+ grid-template-columns: repeat(2, 1fr);
12
+ }
13
+ }
14
+
15
+ .cell {
16
+ position: relative;
17
+ display: grid;
18
+ align-content: start;
19
+ gap: 6px;
20
+ padding: 22px 22px 24px;
21
+ overflow: hidden;
22
+ animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
23
+ }
24
+ .cell:not(:last-of-type) {
25
+ border-right: 1px solid var(--line);
26
+ }
27
+ .cell::before {
28
+ content: "";
29
+ position: absolute;
30
+ inset: 0;
31
+ z-index: -1;
32
+ background: linear-gradient(180deg, color-mix(in srgb, var(--foreground) 7%, transparent), transparent);
33
+ opacity: 0;
34
+ transition: opacity 0.4s;
35
+ }
36
+ .cell:hover::before {
37
+ opacity: 1;
38
+ }
39
+ .cell:hover .arrow {
40
+ opacity: 1;
41
+ transform: none;
42
+ }
43
+ @media (max-width: 960px) {
44
+ .cell {
45
+ border-right: 0 !important;
46
+ border-bottom: 1px solid var(--line);
47
+ }
48
+ .cell:nth-of-type(odd) {
49
+ border-right: 1px solid var(--line) !important;
50
+ }
51
+ .cell:last-of-type {
52
+ grid-column: span 2;
53
+ border-bottom: 0;
54
+ border-right: 0 !important;
55
+ }
56
+ }
57
+
58
+ @keyframes rise {
59
+ from {
60
+ opacity: 0;
61
+ transform: translateY(10px);
62
+ }
63
+ }
64
+ .number {
65
+ font-size: 11.5px;
66
+ color: var(--foreground-3);
67
+ }
68
+
69
+ .title {
70
+ font-weight: 600;
71
+ letter-spacing: -0.02em;
72
+ font-size: 15.5px;
73
+ }
74
+
75
+ .kinds {
76
+ font-size: 11.5px;
77
+ color: var(--foreground-2);
78
+ }
79
+
80
+ .arrow {
81
+ position: absolute;
82
+ top: 18px;
83
+ right: 18px;
84
+ font-size: 14px;
85
+ opacity: 0;
86
+ transform: translate(-4px, -4px);
87
+ transition: opacity 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
88
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
2
+ export interface ServiceIndexProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/service-index/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../source/component/service-index/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wEAAwE,CAAC;AAQvH,qGAAqG;AACrG,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAwBlE"}
@@ -0,0 +1,18 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useInView } from "@sharadox/web-library/animation/in-view";
4
+ import { translate } from "@sharadox/web-library/internationalization/translate";
5
+ import { Stage } from "@sharadox/sharadox-web-library/component/services/campaign-visual/stage";
6
+ import { SERVICES } from "@sharadox/sharadox-web-library/content/services";
7
+ import styles from "./index.module.css";
8
+ const STAGES = [
9
+ { key: "reach", value: 48200 },
10
+ { key: "clicks", value: 3140 },
11
+ { key: "customers", value: 214 },
12
+ ];
13
+ /** A campaign funnel as stacked 3D plates, narrowing from reach to customers, with live counters. */
14
+ export function CampaignVisual({ locale }) {
15
+ const [container, on] = useInView();
16
+ return (_jsxs("div", { ref: container, className: [styles.visual, on && styles.on].filter(Boolean).join(" "), "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))) })] }));
17
+ }
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,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,G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AC,GACC,IACD,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,128 @@
1
+ .visual {
2
+ position: absolute;
3
+ inset: 0;
4
+ display: grid;
5
+ grid-template-columns: 1.2fr 1fr;
6
+ align-items: center;
7
+ perspective: 1000px;
8
+ }
9
+
10
+ .scene {
11
+ position: relative;
12
+ justify-self: center;
13
+ width: 150px;
14
+ height: 150px;
15
+ transform-style: preserve-3d;
16
+ transform: rotateX(62deg) rotateZ(-38deg);
17
+ animation: turn 16s linear infinite;
18
+ }
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: color-mix(in srgb, var(--foreground) 6%, transparent);
32
+ box-shadow: 0 0 40px -10px color-mix(in srgb, var(--foreground) 30%, transparent);
33
+ }
34
+
35
+ .plate0 {
36
+ width: 150px;
37
+ height: 150px;
38
+ transform: translateZ(0);
39
+ }
40
+ .on .plate0 {
41
+ animation: lift-0 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
42
+ }
43
+
44
+ .plate1 {
45
+ width: 104px;
46
+ height: 104px;
47
+ transform: translateZ(34px);
48
+ background: color-mix(in srgb, var(--foreground) 12%, transparent);
49
+ }
50
+ .on .plate1 {
51
+ animation: lift-1 1.4s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
52
+ }
53
+
54
+ .plate2 {
55
+ width: 58px;
56
+ height: 58px;
57
+ transform: translateZ(68px);
58
+ background: var(--foreground);
59
+ border-color: var(--foreground);
60
+ }
61
+ .on .plate2 {
62
+ animation: lift-2 1.4s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
63
+ }
64
+
65
+ @keyframes lift-0 {
66
+ from {
67
+ transform: translateZ(0);
68
+ opacity: 0;
69
+ }
70
+ }
71
+ @keyframes lift-1 {
72
+ from {
73
+ transform: translateZ(0);
74
+ opacity: 0;
75
+ }
76
+ }
77
+ @keyframes lift-2 {
78
+ from {
79
+ transform: translateZ(0);
80
+ opacity: 0;
81
+ }
82
+ }
83
+ .ring {
84
+ position: absolute;
85
+ inset: 0;
86
+ margin: auto;
87
+ width: 58px;
88
+ height: 58px;
89
+ border-radius: 16px;
90
+ border: 1px solid var(--foreground);
91
+ transform: translateZ(68px);
92
+ animation: ripple 2.6s ease-out infinite;
93
+ }
94
+
95
+ @keyframes ripple {
96
+ from {
97
+ transform: translateZ(68px) scale(1);
98
+ opacity: 0.8;
99
+ }
100
+ to {
101
+ transform: translateZ(68px) scale(3.2);
102
+ opacity: 0;
103
+ }
104
+ }
105
+ .legend {
106
+ margin: 0;
107
+ display: grid;
108
+ gap: 14px;
109
+ padding-right: 22px;
110
+ }
111
+
112
+ .stage {
113
+ padding-left: 12px;
114
+ border-left: 1px dashed var(--line-2);
115
+ }
116
+ .stage dt {
117
+ font-size: 10.5px;
118
+ text-transform: uppercase;
119
+ letter-spacing: 0.05em;
120
+ color: var(--foreground-3);
121
+ }
122
+ .stage dd {
123
+ margin: 0;
124
+ font-size: 22px;
125
+ font-weight: 600;
126
+ letter-spacing: -0.03em;
127
+ font-variant-numeric: tabular-nums;
128
+ }
@@ -0,0 +1,4 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useCountUp } from "@sharadox/web-library/animation/count-up";
4
+ import { languageTag } from "@sharadox/web-library/internationalization/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(languageTag(locale)) })] }));
10
+ }
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
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,WAAW,EAAE,MAAM,mDAAmD,CAAC;AAChF,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,WAAW,CAAC,MAAM,CAAC,CAAC,GAAM,IAChD,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/utility/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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../source/component/services/campaign-visual/stage/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
2
+ export interface CampaignVisualProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/services/campaign-visual/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
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, className }: CellProperties): import("react").JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/services/cell/index.tsx"],"names":[],"mappings":"AAIA,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,SAAS,EAAE,EAAE,cAAc,+BAyB/F"}