@sharadox/sharadox-web-library 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/LICENCA.md +89 -0
  2. package/LICENSE.md +89 -0
  3. package/NOTICE.md +3 -0
  4. package/README.md +14 -2
  5. package/distribution/action/send-contact/index.d.ts +9 -0
  6. package/distribution/action/send-contact/index.d.ts.map +1 -0
  7. package/distribution/action/send-contact/index.js +50 -0
  8. package/distribution/action/send-contact/index.js.map +1 -0
  9. package/distribution/action/send-contact/type.d.ts +5 -0
  10. package/distribution/action/send-contact/type.d.ts.map +1 -0
  11. package/distribution/action/send-contact/type.js +2 -0
  12. package/distribution/action/send-contact/type.js.map +1 -0
  13. package/distribution/asset/font/Geist-Regular.ttf +0 -0
  14. package/distribution/asset/font/Geist-SemiBold.ttf +0 -0
  15. package/distribution/asset/font/GeistMono-Regular.ttf +0 -0
  16. package/distribution/component/button/index.d.ts +4 -0
  17. package/distribution/component/button/index.d.ts.map +1 -0
  18. package/distribution/component/button/index.js +11 -0
  19. package/distribution/component/button/index.js.map +1 -0
  20. package/distribution/component/button/index.module.css +55 -0
  21. package/distribution/component/button/type.d.ts +13 -0
  22. package/distribution/component/button/type.d.ts.map +1 -0
  23. package/distribution/component/button/type.js +2 -0
  24. package/distribution/component/button/type.js.map +1 -0
  25. package/distribution/component/contact/form/index.d.ts +4 -0
  26. package/distribution/component/contact/form/index.d.ts.map +1 -0
  27. package/distribution/component/contact/form/index.js +23 -0
  28. package/distribution/component/contact/form/index.js.map +1 -0
  29. package/distribution/component/contact/form/index.module.css +108 -0
  30. package/distribution/component/contact/form/type.d.ts +8 -0
  31. package/distribution/component/contact/form/type.d.ts.map +1 -0
  32. package/distribution/component/contact/form/type.js +2 -0
  33. package/distribution/component/contact/form/type.js.map +1 -0
  34. package/distribution/component/contact/index.d.ts +4 -0
  35. package/distribution/component/contact/index.d.ts.map +1 -0
  36. package/distribution/component/contact/index.js +14 -0
  37. package/distribution/component/contact/index.js.map +1 -0
  38. package/distribution/component/contact/index.module.css +56 -0
  39. package/distribution/component/contact/type.d.ts +8 -0
  40. package/distribution/component/contact/type.d.ts.map +1 -0
  41. package/distribution/component/contact/type.js +2 -0
  42. package/distribution/component/contact/type.js.map +1 -0
  43. package/distribution/component/cursor/index.d.ts +3 -0
  44. package/distribution/component/cursor/index.d.ts.map +1 -0
  45. package/distribution/component/cursor/index.js +45 -0
  46. package/distribution/component/cursor/index.js.map +1 -0
  47. package/distribution/component/cursor/index.module.css +53 -0
  48. package/distribution/component/eyebrow/index.d.ts +4 -0
  49. package/distribution/component/eyebrow/index.d.ts.map +1 -0
  50. package/distribution/component/eyebrow/index.js +7 -0
  51. package/distribution/component/eyebrow/index.js.map +1 -0
  52. package/distribution/component/eyebrow/index.module.css +9 -0
  53. package/distribution/component/eyebrow/type.d.ts +6 -0
  54. package/distribution/component/eyebrow/type.d.ts.map +1 -0
  55. package/distribution/component/eyebrow/type.js +2 -0
  56. package/distribution/component/eyebrow/type.js.map +1 -0
  57. package/distribution/component/footer/index.d.ts +4 -0
  58. package/distribution/component/footer/index.d.ts.map +1 -0
  59. package/distribution/component/footer/index.js +13 -0
  60. package/distribution/component/footer/index.js.map +1 -0
  61. package/distribution/component/footer/index.module.css +59 -0
  62. package/distribution/component/footer/type.d.ts +5 -0
  63. package/distribution/component/footer/type.d.ts.map +1 -0
  64. package/distribution/component/footer/type.js +2 -0
  65. package/distribution/component/footer/type.js.map +1 -0
  66. package/distribution/component/globe/arc/index.d.ts +4 -0
  67. package/distribution/component/globe/arc/index.d.ts.map +1 -0
  68. package/distribution/component/globe/arc/index.js +29 -0
  69. package/distribution/component/globe/arc/index.js.map +1 -0
  70. package/distribution/component/globe/arc/type.d.ts +10 -0
  71. package/distribution/component/globe/arc/type.d.ts.map +1 -0
  72. package/distribution/component/globe/arc/type.js +2 -0
  73. package/distribution/component/globe/arc/type.js.map +1 -0
  74. package/distribution/component/globe/dots/index.d.ts +4 -0
  75. package/distribution/component/globe/dots/index.d.ts.map +1 -0
  76. package/distribution/component/globe/dots/index.js +34 -0
  77. package/distribution/component/globe/dots/index.js.map +1 -0
  78. package/distribution/component/globe/dots/type.d.ts +5 -0
  79. package/distribution/component/globe/dots/type.d.ts.map +1 -0
  80. package/distribution/component/globe/dots/type.js +2 -0
  81. package/distribution/component/globe/dots/type.js.map +1 -0
  82. package/distribution/component/globe/index.d.ts +6 -0
  83. package/distribution/component/globe/index.d.ts.map +1 -0
  84. package/distribution/component/globe/index.js +34 -0
  85. package/distribution/component/globe/index.js.map +1 -0
  86. package/distribution/component/globe/index.module.css +25 -0
  87. package/distribution/component/globe/marker/index.d.ts +4 -0
  88. package/distribution/component/globe/marker/index.d.ts.map +1 -0
  89. package/distribution/component/globe/marker/index.js +21 -0
  90. package/distribution/component/globe/marker/index.js.map +1 -0
  91. package/distribution/component/globe/marker/type.d.ts +7 -0
  92. package/distribution/component/globe/marker/type.d.ts.map +1 -0
  93. package/distribution/component/globe/marker/type.js +2 -0
  94. package/distribution/component/globe/marker/type.js.map +1 -0
  95. package/distribution/component/globe/placeholder/index.d.ts +3 -0
  96. package/distribution/component/globe/placeholder/index.d.ts.map +1 -0
  97. package/distribution/component/globe/placeholder/index.js +7 -0
  98. package/distribution/component/globe/placeholder/index.js.map +1 -0
  99. package/distribution/component/globe/shader/arc/index.d.ts +6 -0
  100. package/distribution/component/globe/shader/arc/index.d.ts.map +1 -0
  101. package/distribution/component/globe/shader/arc/index.js +23 -0
  102. package/distribution/component/globe/shader/arc/index.js.map +1 -0
  103. package/distribution/component/globe/shader/atmosphere/index.d.ts +6 -0
  104. package/distribution/component/globe/shader/atmosphere/index.d.ts.map +1 -0
  105. package/distribution/component/globe/shader/atmosphere/index.js +14 -0
  106. package/distribution/component/globe/shader/atmosphere/index.js.map +1 -0
  107. package/distribution/component/globe/shader/body/index.d.ts +6 -0
  108. package/distribution/component/globe/shader/body/index.d.ts.map +1 -0
  109. package/distribution/component/globe/shader/body/index.js +13 -0
  110. package/distribution/component/globe/shader/body/index.js.map +1 -0
  111. package/distribution/component/globe/shader/dot/index.d.ts +6 -0
  112. package/distribution/component/globe/shader/dot/index.d.ts.map +1 -0
  113. package/distribution/component/globe/shader/dot/index.js +28 -0
  114. package/distribution/component/globe/shader/dot/index.js.map +1 -0
  115. package/distribution/component/globe/shader/glow-vertex/index.d.ts +3 -0
  116. package/distribution/component/globe/shader/glow-vertex/index.d.ts.map +1 -0
  117. package/distribution/component/globe/shader/glow-vertex/index.js +9 -0
  118. package/distribution/component/globe/shader/glow-vertex/index.js.map +1 -0
  119. package/distribution/component/globe/world/index.d.ts +4 -0
  120. package/distribution/component/globe/world/index.d.ts.map +1 -0
  121. package/distribution/component/globe/world/index.js +35 -0
  122. package/distribution/component/globe/world/index.js.map +1 -0
  123. package/distribution/component/globe/world/type.d.ts +8 -0
  124. package/distribution/component/globe/world/type.d.ts.map +1 -0
  125. package/distribution/component/globe/world/type.js +2 -0
  126. package/distribution/component/globe/world/type.js.map +1 -0
  127. package/distribution/component/hero/index.d.ts +4 -0
  128. package/distribution/component/hero/index.d.ts.map +1 -0
  129. package/distribution/component/hero/index.js +21 -0
  130. package/distribution/component/hero/index.js.map +1 -0
  131. package/distribution/component/hero/index.module.css +127 -0
  132. package/distribution/component/hero/type.d.ts +5 -0
  133. package/distribution/component/hero/type.d.ts.map +1 -0
  134. package/distribution/component/hero/type.js +2 -0
  135. package/distribution/component/hero/type.js.map +1 -0
  136. package/distribution/component/language-switch/index.d.ts +4 -0
  137. package/distribution/component/language-switch/index.d.ts.map +1 -0
  138. package/distribution/component/language-switch/index.js +9 -0
  139. package/distribution/component/language-switch/index.js.map +1 -0
  140. package/distribution/component/language-switch/index.module.css +17 -0
  141. package/distribution/component/language-switch/type.d.ts +5 -0
  142. package/distribution/component/language-switch/type.d.ts.map +1 -0
  143. package/distribution/component/language-switch/type.js +2 -0
  144. package/distribution/component/language-switch/type.js.map +1 -0
  145. package/distribution/component/marquee/index.d.ts +3 -0
  146. package/distribution/component/marquee/index.d.ts.map +1 -0
  147. package/distribution/component/marquee/index.js +9 -0
  148. package/distribution/component/marquee/index.js.map +1 -0
  149. package/distribution/component/marquee/index.module.css +28 -0
  150. package/distribution/component/navigation/index.d.ts +4 -0
  151. package/distribution/component/navigation/index.d.ts.map +1 -0
  152. package/distribution/component/navigation/index.js +21 -0
  153. package/distribution/component/navigation/index.js.map +1 -0
  154. package/distribution/component/navigation/index.module.css +53 -0
  155. package/distribution/component/navigation/type.d.ts +5 -0
  156. package/distribution/component/navigation/type.d.ts.map +1 -0
  157. package/distribution/component/navigation/type.js +2 -0
  158. package/distribution/component/navigation/type.js.map +1 -0
  159. package/distribution/component/process/index.d.ts +4 -0
  160. package/distribution/component/process/index.d.ts.map +1 -0
  161. package/distribution/component/process/index.js +19 -0
  162. package/distribution/component/process/index.js.map +1 -0
  163. package/distribution/component/process/index.module.css +43 -0
  164. package/distribution/component/process/step/index.d.ts +4 -0
  165. package/distribution/component/process/step/index.d.ts.map +1 -0
  166. package/distribution/component/process/step/index.js +12 -0
  167. package/distribution/component/process/step/index.js.map +1 -0
  168. package/distribution/component/process/step/index.module.css +33 -0
  169. package/distribution/component/process/step/type.d.ts +10 -0
  170. package/distribution/component/process/step/type.d.ts.map +1 -0
  171. package/distribution/component/process/step/type.js +2 -0
  172. package/distribution/component/process/step/type.js.map +1 -0
  173. package/distribution/component/process/type.d.ts +5 -0
  174. package/distribution/component/process/type.d.ts.map +1 -0
  175. package/distribution/component/process/type.js +2 -0
  176. package/distribution/component/process/type.js.map +1 -0
  177. package/distribution/component/section/index.d.ts +4 -0
  178. package/distribution/component/section/index.d.ts.map +1 -0
  179. package/distribution/component/section/index.js +7 -0
  180. package/distribution/component/section/index.js.map +1 -0
  181. package/distribution/component/section/index.module.css +6 -0
  182. package/distribution/component/section/type.d.ts +7 -0
  183. package/distribution/component/section/type.d.ts.map +1 -0
  184. package/distribution/component/section/type.js +2 -0
  185. package/distribution/component/section/type.js.map +1 -0
  186. package/distribution/component/section-heading/index.d.ts +4 -0
  187. package/distribution/component/section-heading/index.d.ts.map +1 -0
  188. package/distribution/component/section-heading/index.js +9 -0
  189. package/distribution/component/section-heading/index.js.map +1 -0
  190. package/distribution/component/section-heading/index.module.css +7 -0
  191. package/distribution/component/section-heading/type.d.ts +5 -0
  192. package/distribution/component/section-heading/type.d.ts.map +1 -0
  193. package/distribution/component/section-heading/type.js +2 -0
  194. package/distribution/component/section-heading/type.js.map +1 -0
  195. package/distribution/component/services/application-visual/index.d.ts +4 -0
  196. package/distribution/component/services/application-visual/index.d.ts.map +1 -0
  197. package/distribution/component/services/application-visual/index.js +17 -0
  198. package/distribution/component/services/application-visual/index.js.map +1 -0
  199. package/distribution/component/services/application-visual/index.module.css +95 -0
  200. package/distribution/component/services/application-visual/type.d.ts +5 -0
  201. package/distribution/component/services/application-visual/type.d.ts.map +1 -0
  202. package/distribution/component/services/application-visual/type.js +2 -0
  203. package/distribution/component/services/application-visual/type.js.map +1 -0
  204. package/distribution/component/services/card/index.d.ts +4 -0
  205. package/distribution/component/services/card/index.d.ts.map +1 -0
  206. package/distribution/component/services/card/index.js +10 -0
  207. package/distribution/component/services/card/index.js.map +1 -0
  208. package/distribution/component/services/card/index.module.css +92 -0
  209. package/distribution/component/services/card/type.d.ts +12 -0
  210. package/distribution/component/services/card/type.d.ts.map +1 -0
  211. package/distribution/component/services/card/type.js +2 -0
  212. package/distribution/component/services/card/type.js.map +1 -0
  213. package/distribution/component/services/index.d.ts +4 -0
  214. package/distribution/component/services/index.d.ts.map +1 -0
  215. package/distribution/component/services/index.js +21 -0
  216. package/distribution/component/services/index.js.map +1 -0
  217. package/distribution/component/services/index.module.css +19 -0
  218. package/distribution/component/services/platform-visual/index.d.ts +3 -0
  219. package/distribution/component/services/platform-visual/index.d.ts.map +1 -0
  220. package/distribution/component/services/platform-visual/index.js +16 -0
  221. package/distribution/component/services/platform-visual/index.js.map +1 -0
  222. package/distribution/component/services/platform-visual/index.module.css +46 -0
  223. package/distribution/component/services/type.d.ts +5 -0
  224. package/distribution/component/services/type.d.ts.map +1 -0
  225. package/distribution/component/services/type.js +2 -0
  226. package/distribution/component/services/type.js.map +1 -0
  227. package/distribution/component/services/web-visual/index.d.ts +3 -0
  228. package/distribution/component/services/web-visual/index.d.ts.map +1 -0
  229. package/distribution/component/services/web-visual/index.js +25 -0
  230. package/distribution/component/services/web-visual/index.js.map +1 -0
  231. package/distribution/component/services/web-visual/index.module.css +134 -0
  232. package/distribution/component/share-image/index.d.ts +5 -0
  233. package/distribution/component/share-image/index.d.ts.map +1 -0
  234. package/distribution/component/share-image/index.js +66 -0
  235. package/distribution/component/share-image/index.js.map +1 -0
  236. package/distribution/component/share-image/type.d.ts +7 -0
  237. package/distribution/component/share-image/type.d.ts.map +1 -0
  238. package/distribution/component/share-image/type.js +2 -0
  239. package/distribution/component/share-image/type.js.map +1 -0
  240. package/distribution/component/statement/index.d.ts +4 -0
  241. package/distribution/component/statement/index.d.ts.map +1 -0
  242. package/distribution/component/statement/index.js +9 -0
  243. package/distribution/component/statement/index.js.map +1 -0
  244. package/distribution/component/statement/index.module.css +13 -0
  245. package/distribution/component/statement/type.d.ts +4 -0
  246. package/distribution/component/statement/type.d.ts.map +1 -0
  247. package/distribution/component/statement/type.js +2 -0
  248. package/distribution/component/statement/type.js.map +1 -0
  249. package/distribution/component/structured-data/index.d.ts +4 -0
  250. package/distribution/component/structured-data/index.d.ts.map +1 -0
  251. package/distribution/component/structured-data/index.js +36 -0
  252. package/distribution/component/structured-data/index.js.map +1 -0
  253. package/distribution/component/structured-data/type.d.ts +5 -0
  254. package/distribution/component/structured-data/type.d.ts.map +1 -0
  255. package/distribution/component/structured-data/type.js +2 -0
  256. package/distribution/component/structured-data/type.js.map +1 -0
  257. package/distribution/component/wordmark/index.d.ts +4 -0
  258. package/distribution/component/wordmark/index.d.ts.map +1 -0
  259. package/distribution/component/wordmark/index.js +7 -0
  260. package/distribution/component/wordmark/index.js.map +1 -0
  261. package/distribution/component/wordmark/index.module.css +23 -0
  262. package/distribution/component/wordmark/type.d.ts +4 -0
  263. package/distribution/component/wordmark/type.d.ts.map +1 -0
  264. package/distribution/component/wordmark/type.js +2 -0
  265. package/distribution/component/wordmark/type.js.map +1 -0
  266. package/distribution/content/contact/index.d.ts +62 -0
  267. package/distribution/content/contact/index.d.ts.map +1 -0
  268. package/distribution/content/contact/index.js +35 -0
  269. package/distribution/content/contact/index.js.map +1 -0
  270. package/distribution/content/footer/index.d.ts +12 -0
  271. package/distribution/content/footer/index.d.ts.map +1 -0
  272. package/distribution/content/footer/index.js +6 -0
  273. package/distribution/content/footer/index.js.map +1 -0
  274. package/distribution/content/globe/index.d.ts +8 -0
  275. package/distribution/content/globe/index.d.ts.map +1 -0
  276. package/distribution/content/globe/index.js +18 -0
  277. package/distribution/content/globe/index.js.map +1 -0
  278. package/distribution/content/hero/index.d.ts +28 -0
  279. package/distribution/content/hero/index.d.ts.map +1 -0
  280. package/distribution/content/hero/index.js +20 -0
  281. package/distribution/content/hero/index.js.map +1 -0
  282. package/distribution/content/navigation/index.d.ts +20 -0
  283. package/distribution/content/navigation/index.d.ts.map +1 -0
  284. package/distribution/content/navigation/index.js +8 -0
  285. package/distribution/content/navigation/index.js.map +1 -0
  286. package/distribution/content/process/index.d.ts +53 -0
  287. package/distribution/content/process/index.d.ts.map +1 -0
  288. package/distribution/content/process/index.js +31 -0
  289. package/distribution/content/process/index.js.map +1 -0
  290. package/distribution/content/separator/index.d.ts +6 -0
  291. package/distribution/content/separator/index.d.ts.map +1 -0
  292. package/distribution/content/separator/index.js +6 -0
  293. package/distribution/content/separator/index.js.map +1 -0
  294. package/distribution/content/services/index.d.ts +62 -0
  295. package/distribution/content/services/index.d.ts.map +1 -0
  296. package/distribution/content/services/index.js +53 -0
  297. package/distribution/content/services/index.js.map +1 -0
  298. package/distribution/content/site/index.d.ts +19 -0
  299. package/distribution/content/site/index.d.ts.map +1 -0
  300. package/distribution/content/site/index.js +19 -0
  301. package/distribution/content/site/index.js.map +1 -0
  302. package/distribution/content/stack/index.d.ts +3 -0
  303. package/distribution/content/stack/index.d.ts.map +1 -0
  304. package/distribution/content/stack/index.js +16 -0
  305. package/distribution/content/stack/index.js.map +1 -0
  306. package/distribution/content/statement/index.d.ts +6 -0
  307. package/distribution/content/statement/index.d.ts.map +1 -0
  308. package/distribution/content/statement/index.js +6 -0
  309. package/distribution/content/statement/index.js.map +1 -0
  310. package/distribution/hook/globe-drag/index.d.ts +10 -0
  311. package/distribution/hook/globe-drag/index.d.ts.map +1 -0
  312. package/distribution/hook/globe-drag/index.js +99 -0
  313. package/distribution/hook/globe-drag/index.js.map +1 -0
  314. package/distribution/hook/globe-drag/type.d.ts +11 -0
  315. package/distribution/hook/globe-drag/type.d.ts.map +1 -0
  316. package/distribution/hook/globe-drag/type.js +2 -0
  317. package/distribution/hook/globe-drag/type.js.map +1 -0
  318. package/distribution/hook/land-points/index.d.ts +3 -0
  319. package/distribution/hook/land-points/index.d.ts.map +1 -0
  320. package/distribution/hook/land-points/index.js +17 -0
  321. package/distribution/hook/land-points/index.js.map +1 -0
  322. package/distribution/style/token/index.css +1 -0
  323. package/distribution/style/token/index.scss +18 -0
  324. package/distribution/utility/horizon-dots/index.d.ts +4 -0
  325. package/distribution/utility/horizon-dots/index.d.ts.map +1 -0
  326. package/distribution/utility/horizon-dots/index.js +17 -0
  327. package/distribution/utility/horizon-dots/index.js.map +1 -0
  328. package/distribution/utility/horizon-dots/type.d.ts +7 -0
  329. package/distribution/utility/horizon-dots/type.d.ts.map +1 -0
  330. package/distribution/utility/horizon-dots/type.js +2 -0
  331. package/distribution/utility/horizon-dots/type.js.map +1 -0
  332. package/distribution/utility/latitude-longitude-to-vector/index.d.ts +7 -0
  333. package/distribution/utility/latitude-longitude-to-vector/index.d.ts.map +1 -0
  334. package/distribution/utility/latitude-longitude-to-vector/index.js +12 -0
  335. package/distribution/utility/latitude-longitude-to-vector/index.js.map +1 -0
  336. package/distribution/utility/locale/index.d.ts +6 -0
  337. package/distribution/utility/locale/index.d.ts.map +1 -0
  338. package/distribution/utility/locale/index.js +8 -0
  339. package/distribution/utility/locale/index.js.map +1 -0
  340. package/distribution/utility/locale/type.d.ts +6 -0
  341. package/distribution/utility/locale/type.d.ts.map +1 -0
  342. package/distribution/utility/locale/type.js +2 -0
  343. package/distribution/utility/locale/type.js.map +1 -0
  344. package/distribution/utility/parse-contact/index.d.ts +4 -0
  345. package/distribution/utility/parse-contact/index.d.ts.map +1 -0
  346. package/distribution/utility/parse-contact/index.js +19 -0
  347. package/distribution/utility/parse-contact/index.js.map +1 -0
  348. package/distribution/utility/parse-contact/type.d.ts +17 -0
  349. package/distribution/utility/parse-contact/type.d.ts.map +1 -0
  350. package/distribution/utility/parse-contact/type.js +2 -0
  351. package/distribution/utility/parse-contact/type.js.map +1 -0
  352. package/distribution/utility/separate/index.d.ts +3 -0
  353. package/distribution/utility/separate/index.d.ts.map +1 -0
  354. package/distribution/utility/separate/index.js +6 -0
  355. package/distribution/utility/separate/index.js.map +1 -0
  356. package/distribution/utility/web-gl-support/index.d.ts +3 -0
  357. package/distribution/utility/web-gl-support/index.d.ts.map +1 -0
  358. package/distribution/utility/web-gl-support/index.js +11 -0
  359. package/distribution/utility/web-gl-support/index.js.map +1 -0
  360. package/package.json +96 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/marker/type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,OAAO,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/globe/marker/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ /** Same-size empty box shown while the globe's code loads, so the layout doesn't jump. */
2
+ export declare function GlobePlaceholder(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/placeholder/index.tsx"],"names":[],"mappings":"AAEA,0FAA0F;AAC1F,wBAAgB,gBAAgB,gCAE/B"}
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import styles from "../index.module.css";
3
+ /** Same-size empty box shown while the globe's code loads, so the layout doesn't jump. */
4
+ export function GlobePlaceholder() {
5
+ return _jsx("div", { className: styles.globe });
6
+ }
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/globe/placeholder/index.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAE1C,0FAA0F;AAC1F,MAAM,UAAU,gBAAgB;IAC9B,OAAO,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,GAAI,CAAC;AAC1C,CAAC"}
@@ -0,0 +1,6 @@
1
+ /** Arcs: a faint path plus a bright pulse travelling along it. */
2
+ export declare const ARC_SHADER: {
3
+ vertex: string;
4
+ fragment: string;
5
+ };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/globe/shader/arc/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,eAAO,MAAM,UAAU;;;CAoBtB,CAAC"}
@@ -0,0 +1,23 @@
1
+ /** Arcs: a faint path plus a bright pulse travelling along it. */
2
+ export const ARC_SHADER = {
3
+ vertex: /* glsl */ `
4
+ varying float alongArc;
5
+ void main() {
6
+ alongArc = uv.x;
7
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
8
+ }
9
+ `,
10
+ fragment: /* glsl */ `
11
+ uniform float time;
12
+ uniform float offset;
13
+ varying float alongArc;
14
+ void main() {
15
+ float phase = fract(time * 0.16 + offset);
16
+ float pulse = smoothstep(0.0, 0.16, 0.16 - abs(alongArc - phase * 1.3 + 0.15));
17
+ float base = 0.10;
18
+ float ends = smoothstep(0.0, 0.04, alongArc) * smoothstep(1.0, 0.96, alongArc);
19
+ gl_FragColor = vec4(vec3(1.0), (base + pulse * 0.95) * ends);
20
+ }
21
+ `,
22
+ };
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/globe/shader/arc/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,UAAU,CAAC;;;;;;GAMlB;IACD,QAAQ,EAAE,UAAU,CAAC;;;;;;;;;;;GAWpB;CACF,CAAC"}
@@ -0,0 +1,6 @@
1
+ /** Outer atmosphere, drawn on back faces: strongest just outside the edge, fading to zero at the rim. */
2
+ export declare const ATMOSPHERE_SHADER: {
3
+ vertex: string;
4
+ fragment: string;
5
+ };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/globe/shader/atmosphere/index.ts"],"names":[],"mappings":"AAEA,yGAAyG;AACzG,eAAO,MAAM,iBAAiB;;;CAU7B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { GLOW_VERTEX } from "@sharadox/sharadox-web-library/component/globe/shader/glow-vertex";
2
+ /** Outer atmosphere, drawn on back faces: strongest just outside the edge, fading to zero at the rim. */
3
+ export const ATMOSPHERE_SHADER = {
4
+ vertex: GLOW_VERTEX,
5
+ fragment: /* glsl */ `
6
+ varying vec3 viewNormal;
7
+ uniform float strength;
8
+ void main() {
9
+ float intensity = smoothstep(0.0, 0.55, -viewNormal.z);
10
+ gl_FragColor = vec4(vec3(1.0), intensity * intensity * strength);
11
+ }
12
+ `,
13
+ };
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/globe/shader/atmosphere/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAC;AAEhG,yGAAyG;AACzG,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE,WAAW;IACnB,QAAQ,EAAE,UAAU,CAAC;;;;;;;GAOpB;CACF,CAAC"}
@@ -0,0 +1,6 @@
1
+ /** The dark planet body with a fresnel rim. */
2
+ export declare const BODY_SHADER: {
3
+ vertex: string;
4
+ fragment: string;
5
+ };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/globe/shader/body/index.ts"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,eAAO,MAAM,WAAW;;;CASvB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { GLOW_VERTEX } from "@sharadox/sharadox-web-library/component/globe/shader/glow-vertex";
2
+ /** The dark planet body with a fresnel rim. */
3
+ export const BODY_SHADER = {
4
+ vertex: GLOW_VERTEX,
5
+ fragment: /* glsl */ `
6
+ varying vec3 viewNormal;
7
+ void main() {
8
+ float rim = pow(1.0 - abs(viewNormal.z), 3.0);
9
+ gl_FragColor = vec4(vec3(0.02) + vec3(0.32) * rim, 1.0);
10
+ }
11
+ `,
12
+ };
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/globe/shader/body/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAC;AAEhG,+CAA+C;AAC/C,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,MAAM,EAAE,WAAW;IACnB,QAAQ,EAAE,UAAU,CAAC;;;;;;GAMpB;CACF,CAAC"}
@@ -0,0 +1,6 @@
1
+ /** Land dots: facing dots are bright, edge dots fade, a few twinkle. */
2
+ export declare const DOT_SHADER: {
3
+ vertex: string;
4
+ fragment: string;
5
+ };
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/globe/shader/dot/index.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,eAAO,MAAM,UAAU;;;CAyBtB,CAAC"}
@@ -0,0 +1,28 @@
1
+ /** Land dots: facing dots are bright, edge dots fade, a few twinkle. */
2
+ export const DOT_SHADER = {
3
+ vertex: /* glsl */ `
4
+ attribute float seed;
5
+ uniform float time;
6
+ uniform float pointSize;
7
+ varying float opacity;
8
+ void main() {
9
+ vec4 viewPosition = modelViewMatrix * vec4(position, 1.0);
10
+ vec3 surfaceNormal = normalize(normalMatrix * position);
11
+ float facing = dot(surfaceNormal, vec3(0.0, 0.0, 1.0));
12
+ float twinkle = 0.75 + 0.25 * sin(time * 1.6 + seed * 40.0);
13
+ opacity = smoothstep(-0.05, 0.55, facing) * twinkle;
14
+ gl_PointSize = pointSize * (0.9 + 0.5 * seed) * (3.2 / -viewPosition.z);
15
+ gl_Position = projectionMatrix * viewPosition;
16
+ }
17
+ `,
18
+ fragment: /* glsl */ `
19
+ varying float opacity;
20
+ void main() {
21
+ vec2 fromCenter = gl_PointCoord - 0.5;
22
+ float distanceFromCenter = length(fromCenter);
23
+ if (distanceFromCenter > 0.5) discard;
24
+ gl_FragColor = vec4(vec3(1.0), smoothstep(0.5, 0.1, distanceFromCenter) * opacity);
25
+ }
26
+ `,
27
+ };
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/globe/shader/dot/index.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,MAAM,EAAE,UAAU,CAAC;;;;;;;;;;;;;;GAclB;IACD,QAAQ,EAAE,UAAU,CAAC;;;;;;;;GAQpB;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Vertex shader that passes the view-space normal on, for fresnel effects. */
2
+ export declare const GLOW_VERTEX = "\n varying vec3 viewNormal;\n void main() {\n viewNormal = normalize(normalMatrix * normal);\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n }\n";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../source/component/globe/shader/glow-vertex/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,eAAO,MAAM,WAAW,0LAMvB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /** Vertex shader that passes the view-space normal on, for fresnel effects. */
2
+ export const GLOW_VERTEX = /* glsl */ `
3
+ varying vec3 viewNormal;
4
+ void main() {
5
+ viewNormal = normalize(normalMatrix * normal);
6
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
7
+ }
8
+ `;
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../source/component/globe/shader/glow-vertex/index.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC;;;;;;CAMrC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { WorldProperties } from "@sharadox/sharadox-web-library/component/globe/world/type";
2
+ /** The planet scene: body, atmosphere, land, arcs and markers. Rotation comes from the drag controller. */
3
+ export declare function World({ data, drag }: WorldProperties): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/world/index.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAEjG,2GAA2G;AAC3G,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,eAAe,+BAiDpD"}
@@ -0,0 +1,35 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
+ import { useFrame } from "@react-three/fiber";
4
+ import { useMemo, useRef } from "react";
5
+ import { AdditiveBlending, BackSide, MathUtils, ShaderMaterial } from "three";
6
+ import { CITIES, HOME } from "@sharadox/sharadox-web-library/content/globe";
7
+ import { ATMOSPHERE_SHADER } from "@sharadox/sharadox-web-library/component/globe/shader/atmosphere";
8
+ import { BODY_SHADER } from "@sharadox/sharadox-web-library/component/globe/shader/body";
9
+ import { Arc } from "@sharadox/sharadox-web-library/component/globe/arc";
10
+ import { Dots } from "@sharadox/sharadox-web-library/component/globe/dots";
11
+ import { Marker } from "@sharadox/sharadox-web-library/component/globe/marker";
12
+ /** The planet scene: body, atmosphere, land, arcs and markers. Rotation comes from the drag controller. */
13
+ export function World({ data, drag }) {
14
+ const group = useRef(null);
15
+ useFrame((_, deltaSeconds) => {
16
+ const planet = group.current;
17
+ if (!planet)
18
+ return;
19
+ const target = drag.step(deltaSeconds);
20
+ planet.rotation.y = MathUtils.damp(planet.rotation.y, target.y, 6, deltaSeconds);
21
+ planet.rotation.x = MathUtils.damp(planet.rotation.x, target.x, 6, deltaSeconds);
22
+ });
23
+ const body = useMemo(() => new ShaderMaterial({ vertexShader: BODY_SHADER.vertex, fragmentShader: BODY_SHADER.fragment }), []);
24
+ const atmosphere = useMemo(() => new ShaderMaterial({
25
+ vertexShader: ATMOSPHERE_SHADER.vertex,
26
+ fragmentShader: ATMOSPHERE_SHADER.fragment,
27
+ uniforms: { strength: { value: 0.42 } },
28
+ side: BackSide,
29
+ transparent: true,
30
+ blending: AdditiveBlending,
31
+ depthWrite: false,
32
+ }), []);
33
+ return (_jsxs(_Fragment, { children: [_jsx("mesh", { scale: 1.16, material: atmosphere, children: _jsx("sphereGeometry", { args: [1, 64, 64] }) }), _jsxs("group", { ref: group, children: [_jsx("mesh", { material: body, children: _jsx("sphereGeometry", { args: [0.995, 96, 96] }) }), _jsx(Dots, { data: data }), CITIES.map((city, index) => (_jsx(Arc, { from: HOME, to: city, offset: index / CITIES.length }, index))), CITIES.map((city, index) => (_jsx(Marker, { latitude: city[0], longitude: city[1] }, `marker${index}`))), _jsx(Marker, { latitude: HOME.latitude, longitude: HOME.longitude, home: true })] })] }));
34
+ }
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/component/globe/world/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AACrG,OAAO,EAAE,WAAW,EAAE,MAAM,4DAA4D,CAAC;AACzF,OAAO,EAAE,GAAG,EAAE,MAAM,oDAAoD,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,uDAAuD,CAAC;AAG/E,2GAA2G;AAC3G,MAAM,UAAU,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAmB;IACnD,MAAM,KAAK,GAAG,MAAM,CAAQ,IAAI,CAAC,CAAC;IAElC,QAAQ,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE;QAC3B,MAAM,MAAM,GAAG,KAAK,CAAC,OAAO,CAAC;QAC7B,IAAI,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AE,EAAE,EAAE,CAAC,GAAI,GACpC,EACP,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,GAAI,EACnB,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC3B,KAAC,GAAG,IAAa,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,IAA1D,KAAK,CAAyD,CACzE,CAAC,EACD,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAC3B,KAAC,MAAM,IAAwB,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,IAAvD,SAAS,KAAK,EAAE,CAA2C,CACzE,CAAC,EACF,KAAC,MAAM,IAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,SAAG,IAC7D,IACP,CACJ,CAAC;AACJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { GlobeDrag } from "@sharadox/sharadox-web-library/hook/globe-drag/type";
2
+ export interface WorldProperties {
3
+ /** Float32 [latitude, longitude] land pairs. */
4
+ data: Float32Array;
5
+ /** Supplies the rotation each frame. */
6
+ drag: GlobeDrag;
7
+ }
8
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../../source/component/globe/world/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qDAAqD,CAAC;AAErF,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,IAAI,EAAE,YAAY,CAAC;IACnB,wCAAwC;IACxC,IAAI,EAAE,SAAS,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../source/component/globe/world/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { HeroProperties } from "@sharadox/sharadox-web-library/component/hero/type";
2
+ /** First screen: the slogan rising line by line beside the interactive globe. */
3
+ export declare function Hero({ locale }: HeroProperties): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/hero/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAC;AAQzF,iFAAiF;AACjF,wBAAgB,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,cAAc,+BA4D9C"}
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { motion } from "motion/react";
4
+ import dynamic from "next/dynamic";
5
+ import { Button } from "@sharadox/sharadox-web-library/component/button";
6
+ import { Eyebrow } from "@sharadox/sharadox-web-library/component/eyebrow";
7
+ import { GlobePlaceholder } from "@sharadox/sharadox-web-library/component/globe/placeholder";
8
+ import { HERO } from "@sharadox/sharadox-web-library/content/hero";
9
+ import { translate } from "@sharadox/web-library/internationalization/translate";
10
+ import styles from "./index.module.css";
11
+ const Globe = dynamic(() => import("@sharadox/sharadox-web-library/component/globe"), {
12
+ ssr: false,
13
+ loading: () => _jsx(GlobePlaceholder, {}),
14
+ });
15
+ const EASE = [0.22, 1, 0.36, 1];
16
+ /** First screen: the slogan rising line by line beside the interactive globe. */
17
+ export function Hero({ locale }) {
18
+ const lines = HERO.lines[locale];
19
+ return (_jsxs("section", { className: styles.hero, children: [_jsx("div", { className: styles.grid, "aria-hidden": true }), _jsxs("div", { className: styles.copy, children: [_jsx(motion.div, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 1, delay: 0.1 }, children: _jsxs(Eyebrow, { children: [_jsx("span", { className: styles.live, "aria-hidden": true }), " ", translate(HERO.eyebrow, locale)] }) }), _jsx("h1", { className: styles.title, children: lines.map((line, index) => (_jsx("span", { className: styles.line, children: _jsx(motion.span, { className: index === lines.length - 1 ? `${styles.lineInner} ${styles.dim}` : styles.lineInner, initial: { y: "110%" }, animate: { y: "0%" }, transition: { duration: 1.1, delay: 0.2 + index * 0.12, ease: EASE }, children: line }) }, index))) }), _jsx(motion.p, { className: styles.subtitle, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.75, ease: EASE }, children: translate(HERO.subtitle, locale) }), _jsxs(motion.div, { className: styles.actions, initial: { opacity: 0, y: 14 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.9, delay: 0.9, ease: EASE }, children: [_jsx(Button, { href: "#contact", arrow: true, children: translate(HERO.primary, locale) }), _jsx(Button, { href: "#services", variant: "ghost", children: translate(HERO.secondary, locale) })] })] }), _jsxs(motion.div, { className: styles.globe, initial: { opacity: 0, scale: 0.92 }, animate: { opacity: 1, scale: 1 }, transition: { duration: 1.8, delay: 0.3, ease: EASE }, children: [_jsx(Globe, {}), _jsx("span", { className: `${styles.hint} monospace`, "aria-hidden": true, children: translate(HERO.drag, locale) })] })] }));
20
+ }
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/hero/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,OAAO,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,iDAAiD,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,kDAAkD,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4DAA4D,CAAC;AAC9F,OAAO,EAAE,IAAI,EAAE,MAAM,6CAA6C,CAAC;AACnE,OAAO,EAAE,SA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AC,SAAS,EAAE,MAAM,CAAC,GAC3B,IACE,IACT,EACN,MAAC,MAAM,CAAC,GAAG,IACT,SAAS,EAAE,MAAM,CAAC,KAAK,EACvB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EACpC,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,EACjC,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,aAErD,KAAC,KAAK,KAAG,EACT,eAAM,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,iCACxC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,GACxB,IACI,IACL,CACX,CAAC;AACJ,CAAC"}
@@ -0,0 +1,127 @@
1
+ .hero {
2
+ position: relative;
3
+ min-height: 100svh;
4
+ max-width: var(--maximum-width);
5
+ margin: 0 auto;
6
+ padding: 96px var(--padding) 40px;
7
+ display: grid;
8
+ grid-template-columns: 1fr 1.05fr;
9
+ align-items: center;
10
+ gap: 24px;
11
+ }
12
+ @media (max-width: 900px) {
13
+ .hero {
14
+ grid-template-columns: 1fr;
15
+ padding-top: 72px;
16
+ gap: 0;
17
+ }
18
+ }
19
+
20
+ .grid {
21
+ position: absolute;
22
+ inset: 0 -50vw;
23
+ z-index: -1;
24
+ pointer-events: none;
25
+ background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
26
+ background-size: 72px 72px;
27
+ mask-image: radial-gradient(60% 60% at 62% 50%, #000 10%, transparent 70%);
28
+ opacity: 0.55;
29
+ }
30
+ @media (max-width: 900px) {
31
+ .grid {
32
+ mask-image: radial-gradient(70% 40% at 50% 28%, #000 10%, transparent 70%);
33
+ }
34
+ }
35
+
36
+ .copy {
37
+ position: relative;
38
+ z-index: 2;
39
+ }
40
+
41
+ .live {
42
+ width: 7px;
43
+ height: 7px;
44
+ border-radius: 50%;
45
+ background: #fff;
46
+ box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
47
+ animation: live 2.4s infinite;
48
+ }
49
+
50
+ @keyframes live {
51
+ 70% {
52
+ box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
53
+ }
54
+ 100% {
55
+ box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
56
+ }
57
+ }
58
+ .title {
59
+ margin: 26px 0 26px;
60
+ font-size: clamp(3rem, 7.2vw, 6.6rem);
61
+ letter-spacing: -0.06em;
62
+ line-height: 0.95;
63
+ }
64
+ @media (max-width: 900px) {
65
+ .title {
66
+ margin-top: 18px;
67
+ }
68
+ }
69
+
70
+ .line {
71
+ display: block;
72
+ overflow: hidden;
73
+ padding-bottom: 0.06em;
74
+ }
75
+
76
+ .lineInner {
77
+ display: inline-block;
78
+ }
79
+
80
+ .dim {
81
+ background: linear-gradient(180deg, #fff 10%, #6b6b6b 120%);
82
+ -webkit-background-clip: text;
83
+ background-clip: text;
84
+ color: transparent;
85
+ }
86
+
87
+ .subtitle {
88
+ max-width: 30rem;
89
+ font-size: clamp(1.05rem, 1.4vw, 1.2rem);
90
+ color: var(--foreground-2);
91
+ line-height: 1.55;
92
+ }
93
+
94
+ .actions {
95
+ display: flex;
96
+ flex-wrap: wrap;
97
+ gap: 12px;
98
+ margin-top: 34px;
99
+ }
100
+
101
+ .globe {
102
+ position: relative;
103
+ aspect-ratio: 1;
104
+ width: 132%;
105
+ margin: -6% -26% -6% 0;
106
+ justify-self: end;
107
+ }
108
+ @media (max-width: 900px) {
109
+ .globe {
110
+ order: -1;
111
+ width: 112%;
112
+ margin: 0 -6%;
113
+ justify-self: center;
114
+ }
115
+ }
116
+
117
+ .hint {
118
+ position: absolute;
119
+ left: 50%;
120
+ bottom: 13%;
121
+ transform: translateX(-50%);
122
+ font-size: 11.5px;
123
+ letter-spacing: 0.06em;
124
+ text-transform: uppercase;
125
+ color: var(--foreground-3);
126
+ pointer-events: none;
127
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
2
+ export interface HeroProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/hero/type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAEjF,MAAM,WAAW,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/hero/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { LanguageSwitchProperties } from "@sharadox/sharadox-web-library/component/language-switch/type";
2
+ /** EN/PT pill toggle. */
3
+ export declare function LanguageSwitch({ locale }: LanguageSwitchProperties): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/language-switch/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+DAA+D,CAAC;AAE9G,yBAAyB;AACzB,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BAUlE"}
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import Link from "next/link";
3
+ import { LOCALES } from "@sharadox/sharadox-web-library/utility/locale";
4
+ import styles from "./index.module.css";
5
+ /** EN/PT pill toggle. */
6
+ export function LanguageSwitch({ locale }) {
7
+ return (_jsx("div", { className: styles.switch, role: "group", "aria-label": "Language", children: LOCALES.map((other) => (_jsx(Link, { href: `/${other}`, hrefLang: other, "aria-current": other === locale ? "true" : undefined, children: other.toUpperCase() }, other))) }));
8
+ }
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/language-switch/index.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAGzC,yBAAyB;AACzB,MAAM,UAAU,cAAc,CAAC,EAAE,MAAM,EAA4B;IACjE,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,EAAC,OAAO,gBAAY,UAAU,YAC9D,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CACtB,KAAC,IAAI,IAAa,IAAI,EAAE,IAAI,KAAK,EAAE,EAAE,QAAQ,EAAE,KAAK,kBAAgB,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,YACtG,KAAK,CAAC,WAAW,EAAE,IADX,KAAK,CAET,CACR,CAAC,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ .switch {
2
+ display: flex;
3
+ padding: 3px;
4
+ border: 1px solid var(--line-2);
5
+ border-radius: 99px;
6
+ }
7
+ .switch a {
8
+ font: 500 11px/1 var(--monospace);
9
+ padding: 6px 9px;
10
+ border-radius: 99px;
11
+ color: var(--foreground-3);
12
+ transition: color 0.2s, background 0.2s;
13
+ }
14
+ .switch a[aria-current] {
15
+ background: #fff;
16
+ color: #000;
17
+ }
@@ -0,0 +1,5 @@
1
+ import type { Locale } from "@sharadox/sharadox-web-library/utility/locale/type";
2
+ export interface LanguageSwitchProperties {
3
+ locale: Locale;
4
+ }
5
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../source/component/language-switch/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/language-switch/type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ /** Endless strip of the technologies we work with. */
2
+ export declare function Marquee(): import("react").JSX.Element;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/component/marquee/index.tsx"],"names":[],"mappings":"AAGA,sDAAsD;AACtD,wBAAgB,OAAO,gCAatB"}
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { STACK } from "@sharadox/sharadox-web-library/content/stack";
3
+ import styles from "./index.module.css";
4
+ /** Endless strip of the technologies we work with. */
5
+ export function Marquee() {
6
+ const row = [...STACK, ...STACK];
7
+ return (_jsx("div", { className: styles.marquee, "aria-label": STACK.join(", "), children: _jsx("div", { className: styles.track, "aria-hidden": true, children: row.map((technology, index) => (_jsx("span", { className: `${styles.pill} monospace`, children: technology }, index))) }) }));
8
+ }
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../source/component/marquee/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,8CAA8C,CAAC;AACrE,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAEzC,sDAAsD;AACtD,MAAM,UAAU,OAAO;IACrB,MAAM,GAAG,GAAG,CAAC,GAAG,KAAK,EAAE,GAAG,KAAK,CAAC,CAAC;IACjC,OAAO,CACL,cAAK,SAAS,EAAE,MAAM,CAAC,OAAO,gBAAc,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,YAC1D,cAAK,SAAS,EAAE,MAAM,CAAC,KAAK,iCACzB,GAAG,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,eAAkB,SAAS,EAAE,GAAG,MAAM,CAAC,IAAI,YAAY,YACpD,UAAU,IADF,KAAK,CAET,CACR,CAAC,GACE,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,28 @@
1
+ .marquee {
2
+ overflow: hidden;
3
+ border-block: 1px solid var(--line);
4
+ padding: 22px 0;
5
+ mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
6
+ }
7
+
8
+ .track {
9
+ display: flex;
10
+ gap: 12px;
11
+ width: max-content;
12
+ animation: marquee 40s linear infinite;
13
+ }
14
+
15
+ .pill {
16
+ padding: 9px 16px;
17
+ border-radius: 99px;
18
+ border: 1px solid var(--line-2);
19
+ font-size: 13px;
20
+ color: var(--foreground-2);
21
+ white-space: nowrap;
22
+ }
23
+
24
+ @keyframes marquee {
25
+ to {
26
+ transform: translateX(calc(-50% - 6px));
27
+ }
28
+ }
@@ -0,0 +1,4 @@
1
+ import type { NavigationProperties } from "@sharadox/sharadox-web-library/component/navigation/type";
2
+ /** Fixed top bar that frosts once the page scrolls. */
3
+ export declare function Navigation({ locale }: NavigationProperties): import("react").JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useEffect, useState } from "react";
4
+ import { Button } from "@sharadox/sharadox-web-library/component/button";
5
+ import { LanguageSwitch } from "@sharadox/sharadox-web-library/component/language-switch";
6
+ import { Wordmark } from "@sharadox/sharadox-web-library/component/wordmark";
7
+ import { NAVIGATION } from "@sharadox/sharadox-web-library/content/navigation";
8
+ import { translate } from "@sharadox/web-library/internationalization/translate";
9
+ import styles from "./index.module.css";
10
+ /** Fixed top bar that frosts once the page scrolls. */
11
+ export function Navigation({ locale }) {
12
+ const [scrolled, setScrolled] = useState(false);
13
+ useEffect(() => {
14
+ const update = () => setScrolled(scrollY > 24);
15
+ update();
16
+ addEventListener("scroll", update, { passive: true });
17
+ return () => removeEventListener("scroll", update);
18
+ }, []);
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) })] })] }) }));
20
+ }
21
+ //# sourceMappingURL=index.js.map