@sonordev/agency-site-kit 0.3.1 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (374) hide show
  1. package/README.md +302 -0
  2. package/bin/setup.mjs +79 -0
  3. package/dist/{chunk-RXBK2EOE.js → chunk-4IES23GV.js} +3 -3
  4. package/dist/{chunk-RXBK2EOE.js.map → chunk-4IES23GV.js.map} +1 -1
  5. package/dist/{chunk-WNR4KNG4.cjs → chunk-5MEZU3OG.cjs} +4 -4
  6. package/dist/{chunk-WNR4KNG4.cjs.map → chunk-5MEZU3OG.cjs.map} +1 -1
  7. package/dist/chunk-7D4H36UF.js +13 -0
  8. package/dist/chunk-7D4H36UF.js.map +1 -0
  9. package/dist/chunk-7ZHRMWJU.cjs +306 -0
  10. package/dist/chunk-7ZHRMWJU.cjs.map +1 -0
  11. package/dist/chunk-CVT7I5BQ.js +71 -0
  12. package/dist/chunk-CVT7I5BQ.js.map +1 -0
  13. package/dist/chunk-HQGAX2LI.cjs +8 -0
  14. package/dist/chunk-HQGAX2LI.cjs.map +1 -0
  15. package/dist/chunk-K2BGTDSN.js +45 -0
  16. package/dist/chunk-K2BGTDSN.js.map +1 -0
  17. package/dist/chunk-KXLROAO5.js +291 -0
  18. package/dist/chunk-KXLROAO5.js.map +1 -0
  19. package/dist/chunk-L4EOQVRJ.js +6 -0
  20. package/dist/chunk-L4EOQVRJ.js.map +1 -0
  21. package/dist/chunk-NI4FVCLS.cjs +32 -0
  22. package/dist/chunk-NI4FVCLS.cjs.map +1 -0
  23. package/dist/chunk-NLGUPJZA.js +507 -0
  24. package/dist/chunk-NLGUPJZA.js.map +1 -0
  25. package/dist/chunk-QDXZ27R7.js +33 -0
  26. package/dist/chunk-QDXZ27R7.js.map +1 -0
  27. package/dist/chunk-QGSW43TM.cjs +538 -0
  28. package/dist/chunk-QGSW43TM.cjs.map +1 -0
  29. package/dist/{chunk-TVFXN6W6.js → chunk-QL6KVIFR.js} +8 -4
  30. package/dist/chunk-QL6KVIFR.js.map +1 -0
  31. package/dist/chunk-RWQ675N6.js +165 -0
  32. package/dist/chunk-RWQ675N6.js.map +1 -0
  33. package/dist/chunk-UXUU7FVT.cjs +171 -0
  34. package/dist/chunk-UXUU7FVT.cjs.map +1 -0
  35. package/dist/chunk-XJ434N7I.js +30 -0
  36. package/dist/chunk-XJ434N7I.js.map +1 -0
  37. package/dist/{chunk-EE75WRCM.cjs → chunk-XOWSXZYW.cjs} +8 -4
  38. package/dist/chunk-XOWSXZYW.cjs.map +1 -0
  39. package/dist/chunk-ZBPF7TLZ.cjs +16 -0
  40. package/dist/chunk-ZBPF7TLZ.cjs.map +1 -0
  41. package/dist/chunk-ZINKVJQU.js +67 -0
  42. package/dist/chunk-ZINKVJQU.js.map +1 -0
  43. package/dist/index.cjs +53 -30
  44. package/dist/index.cjs.map +1 -1
  45. package/dist/index.d.cts +17 -9
  46. package/dist/index.d.ts +17 -9
  47. package/dist/index.js +8 -9
  48. package/dist/index.js.map +1 -1
  49. package/dist/layout/index.cjs +3 -3
  50. package/dist/layout/index.d.cts +1 -1
  51. package/dist/layout/index.d.ts +1 -1
  52. package/dist/layout/index.js +2 -2
  53. package/dist/portfolio/client.cjs +376 -12
  54. package/dist/portfolio/client.cjs.map +1 -1
  55. package/dist/portfolio/client.d.cts +27 -85
  56. package/dist/portfolio/client.d.ts +27 -85
  57. package/dist/portfolio/client.js +182 -4
  58. package/dist/portfolio/client.js.map +1 -1
  59. package/dist/portfolio/components/PortfolioAnalytics.cjs +87 -0
  60. package/dist/portfolio/components/PortfolioAnalytics.cjs.map +1 -0
  61. package/dist/portfolio/components/PortfolioAnalytics.d.cts +5 -0
  62. package/dist/portfolio/components/PortfolioAnalytics.d.ts +5 -0
  63. package/dist/portfolio/components/PortfolioAnalytics.js +9 -0
  64. package/dist/portfolio/components/PortfolioAnalytics.js.map +1 -0
  65. package/dist/portfolio/components/PortfolioErrorFallback.cjs +65 -0
  66. package/dist/portfolio/components/PortfolioErrorFallback.cjs.map +1 -0
  67. package/dist/portfolio/components/PortfolioErrorFallback.d.cts +22 -0
  68. package/dist/portfolio/components/PortfolioErrorFallback.d.ts +22 -0
  69. package/dist/portfolio/components/PortfolioErrorFallback.js +9 -0
  70. package/dist/portfolio/components/PortfolioErrorFallback.js.map +1 -0
  71. package/dist/portfolio/components/PortfolioLeadCTA.cjs +91 -0
  72. package/dist/portfolio/components/PortfolioLeadCTA.cjs.map +1 -0
  73. package/dist/portfolio/components/PortfolioLeadCTA.d.cts +34 -0
  74. package/dist/portfolio/components/PortfolioLeadCTA.d.ts +34 -0
  75. package/dist/portfolio/components/PortfolioLeadCTA.js +9 -0
  76. package/dist/portfolio/components/PortfolioLeadCTA.js.map +1 -0
  77. package/dist/portfolio/index.cjs +43 -19
  78. package/dist/portfolio/index.d.cts +210 -7
  79. package/dist/portfolio/index.d.ts +210 -7
  80. package/dist/portfolio/index.js +7 -7
  81. package/dist/portfolio/primitives/AnimatedCounter.cjs +88 -0
  82. package/dist/portfolio/primitives/AnimatedCounter.cjs.map +1 -0
  83. package/dist/portfolio/primitives/AnimatedCounter.d.cts +22 -0
  84. package/dist/portfolio/primitives/AnimatedCounter.d.ts +22 -0
  85. package/dist/portfolio/primitives/AnimatedCounter.js +68 -0
  86. package/dist/portfolio/primitives/AnimatedCounter.js.map +1 -0
  87. package/dist/portfolio/primitives/AnnotatedImage.cjs +320 -0
  88. package/dist/portfolio/primitives/AnnotatedImage.cjs.map +1 -0
  89. package/dist/portfolio/primitives/AnnotatedImage.d.cts +18 -0
  90. package/dist/portfolio/primitives/AnnotatedImage.d.ts +18 -0
  91. package/dist/portfolio/primitives/AnnotatedImage.js +264 -0
  92. package/dist/portfolio/primitives/AnnotatedImage.js.map +1 -0
  93. package/dist/portfolio/primitives/BeforeAfterSlider.cjs +348 -0
  94. package/dist/portfolio/primitives/BeforeAfterSlider.cjs.map +1 -0
  95. package/dist/portfolio/primitives/BeforeAfterSlider.d.cts +13 -0
  96. package/dist/portfolio/primitives/BeforeAfterSlider.d.ts +13 -0
  97. package/dist/portfolio/primitives/BeforeAfterSlider.js +292 -0
  98. package/dist/portfolio/primitives/BeforeAfterSlider.js.map +1 -0
  99. package/dist/portfolio/primitives/DeviceTrifolio.cjs +298 -0
  100. package/dist/portfolio/primitives/DeviceTrifolio.cjs.map +1 -0
  101. package/dist/portfolio/primitives/DeviceTrifolio.d.cts +14 -0
  102. package/dist/portfolio/primitives/DeviceTrifolio.d.ts +14 -0
  103. package/dist/portfolio/primitives/DeviceTrifolio.js +242 -0
  104. package/dist/portfolio/primitives/DeviceTrifolio.js.map +1 -0
  105. package/dist/portfolio/primitives/FrequencyBarSkeleton.cjs +88 -0
  106. package/dist/portfolio/primitives/FrequencyBarSkeleton.cjs.map +1 -0
  107. package/dist/portfolio/primitives/FrequencyBarSkeleton.d.cts +10 -0
  108. package/dist/portfolio/primitives/FrequencyBarSkeleton.d.ts +10 -0
  109. package/dist/portfolio/primitives/FrequencyBarSkeleton.js +68 -0
  110. package/dist/portfolio/primitives/FrequencyBarSkeleton.js.map +1 -0
  111. package/dist/portfolio/primitives/GlassCard.cjs +45 -0
  112. package/dist/portfolio/primitives/GlassCard.cjs.map +1 -0
  113. package/dist/portfolio/primitives/GlassCard.d.cts +11 -0
  114. package/dist/portfolio/primitives/GlassCard.d.ts +11 -0
  115. package/dist/portfolio/primitives/GlassCard.js +43 -0
  116. package/dist/portfolio/primitives/GlassCard.js.map +1 -0
  117. package/dist/portfolio/primitives/MetricBadge.cjs +74 -0
  118. package/dist/portfolio/primitives/MetricBadge.cjs.map +1 -0
  119. package/dist/portfolio/primitives/MetricBadge.d.cts +9 -0
  120. package/dist/portfolio/primitives/MetricBadge.d.ts +9 -0
  121. package/dist/portfolio/primitives/MetricBadge.js +54 -0
  122. package/dist/portfolio/primitives/MetricBadge.js.map +1 -0
  123. package/dist/portfolio/primitives/SVGChart.cjs +316 -0
  124. package/dist/portfolio/primitives/SVGChart.cjs.map +1 -0
  125. package/dist/portfolio/primitives/SVGChart.d.cts +18 -0
  126. package/dist/portfolio/primitives/SVGChart.d.ts +18 -0
  127. package/dist/portfolio/primitives/SVGChart.js +296 -0
  128. package/dist/portfolio/primitives/SVGChart.js.map +1 -0
  129. package/dist/portfolio/primitives/ScrollReveal.cjs +97 -0
  130. package/dist/portfolio/primitives/ScrollReveal.cjs.map +1 -0
  131. package/dist/portfolio/primitives/ScrollReveal.d.cts +27 -0
  132. package/dist/portfolio/primitives/ScrollReveal.d.ts +27 -0
  133. package/dist/portfolio/primitives/ScrollReveal.js +77 -0
  134. package/dist/portfolio/primitives/ScrollReveal.js.map +1 -0
  135. package/dist/portfolio/primitives/SplitHeadline.cjs +107 -0
  136. package/dist/portfolio/primitives/SplitHeadline.cjs.map +1 -0
  137. package/dist/portfolio/primitives/SplitHeadline.d.cts +24 -0
  138. package/dist/portfolio/primitives/SplitHeadline.d.ts +24 -0
  139. package/dist/portfolio/primitives/SplitHeadline.js +87 -0
  140. package/dist/portfolio/primitives/SplitHeadline.js.map +1 -0
  141. package/dist/portfolio/sections/BeforeAfterSection.cjs +271 -0
  142. package/dist/portfolio/sections/BeforeAfterSection.cjs.map +1 -0
  143. package/dist/portfolio/sections/BeforeAfterSection.d.cts +9 -0
  144. package/dist/portfolio/sections/BeforeAfterSection.d.ts +9 -0
  145. package/dist/{BeforeAfterSection-6BHFLY4Y.js → portfolio/sections/BeforeAfterSection.js} +66 -27
  146. package/dist/portfolio/sections/BeforeAfterSection.js.map +1 -0
  147. package/dist/portfolio/sections/CTASection.cjs +123 -0
  148. package/dist/portfolio/sections/CTASection.cjs.map +1 -0
  149. package/dist/portfolio/sections/CTASection.d.cts +9 -0
  150. package/dist/portfolio/sections/CTASection.d.ts +9 -0
  151. package/dist/portfolio/sections/CTASection.js +93 -0
  152. package/dist/portfolio/sections/CTASection.js.map +1 -0
  153. package/dist/{ChallengesSection-IZ3DHECS.cjs → portfolio/sections/ChallengesSection.cjs} +13 -7
  154. package/dist/portfolio/sections/ChallengesSection.cjs.map +1 -0
  155. package/dist/portfolio/sections/ChallengesSection.d.cts +9 -0
  156. package/dist/portfolio/sections/ChallengesSection.d.ts +9 -0
  157. package/dist/{ChallengesSection-GEQGVSJN.js → portfolio/sections/ChallengesSection.js} +6 -5
  158. package/dist/portfolio/sections/ChallengesSection.js.map +1 -0
  159. package/dist/portfolio/sections/ConversionFunnelSection.cjs +263 -0
  160. package/dist/portfolio/sections/ConversionFunnelSection.cjs.map +1 -0
  161. package/dist/portfolio/sections/ConversionFunnelSection.d.cts +9 -0
  162. package/dist/portfolio/sections/ConversionFunnelSection.d.ts +9 -0
  163. package/dist/{ConversionFunnelSection-D3GE4NKE.js → portfolio/sections/ConversionFunnelSection.js} +60 -56
  164. package/dist/portfolio/sections/ConversionFunnelSection.js.map +1 -0
  165. package/dist/{DesignSystemSection-KXIQXITF.cjs → portfolio/sections/DesignSystemSection.cjs} +13 -7
  166. package/dist/portfolio/sections/DesignSystemSection.cjs.map +1 -0
  167. package/dist/portfolio/sections/DesignSystemSection.d.cts +32 -0
  168. package/dist/portfolio/sections/DesignSystemSection.d.ts +32 -0
  169. package/dist/{DesignSystemSection-2R5BRBGO.js → portfolio/sections/DesignSystemSection.js} +5 -4
  170. package/dist/portfolio/sections/DesignSystemSection.js.map +1 -0
  171. package/dist/{DetailsSection-TTUZAPZZ.cjs → portfolio/sections/DetailsSection.cjs} +12 -6
  172. package/dist/portfolio/sections/DetailsSection.cjs.map +1 -0
  173. package/dist/portfolio/sections/DetailsSection.d.cts +9 -0
  174. package/dist/portfolio/sections/DetailsSection.d.ts +9 -0
  175. package/dist/{DetailsSection-A6PZQUQL.js → portfolio/sections/DetailsSection.js} +5 -4
  176. package/dist/portfolio/sections/DetailsSection.js.map +1 -0
  177. package/dist/portfolio/sections/FeatureSpotlightSection.cjs +267 -0
  178. package/dist/portfolio/sections/FeatureSpotlightSection.cjs.map +1 -0
  179. package/dist/portfolio/sections/FeatureSpotlightSection.d.cts +9 -0
  180. package/dist/portfolio/sections/FeatureSpotlightSection.d.ts +9 -0
  181. package/dist/{FeatureSpotlightSection-B7P3JGNL.js → portfolio/sections/FeatureSpotlightSection.js} +39 -33
  182. package/dist/portfolio/sections/FeatureSpotlightSection.js.map +1 -0
  183. package/dist/portfolio/sections/GallerySection.cjs +321 -0
  184. package/dist/portfolio/sections/GallerySection.cjs.map +1 -0
  185. package/dist/portfolio/sections/GallerySection.d.cts +9 -0
  186. package/dist/portfolio/sections/GallerySection.d.ts +9 -0
  187. package/dist/{GallerySection-VMKORC47.js → portfolio/sections/GallerySection.js} +65 -18
  188. package/dist/portfolio/sections/GallerySection.js.map +1 -0
  189. package/dist/portfolio/sections/HeroSection.cjs +180 -0
  190. package/dist/portfolio/sections/HeroSection.cjs.map +1 -0
  191. package/dist/portfolio/sections/HeroSection.d.cts +15 -0
  192. package/dist/portfolio/sections/HeroSection.d.ts +15 -0
  193. package/dist/portfolio/sections/HeroSection.js +171 -0
  194. package/dist/portfolio/sections/HeroSection.js.map +1 -0
  195. package/dist/{MetricsTimelineSection-4L6DUHJ5.cjs → portfolio/sections/MetricsTimelineSection.cjs} +102 -61
  196. package/dist/portfolio/sections/MetricsTimelineSection.cjs.map +1 -0
  197. package/dist/portfolio/sections/MetricsTimelineSection.d.cts +9 -0
  198. package/dist/portfolio/sections/MetricsTimelineSection.d.ts +9 -0
  199. package/dist/{MetricsTimelineSection-6BT5GNFV.js → portfolio/sections/MetricsTimelineSection.js} +45 -29
  200. package/dist/portfolio/sections/MetricsTimelineSection.js.map +1 -0
  201. package/dist/portfolio/sections/PerformanceSection.cjs +336 -0
  202. package/dist/portfolio/sections/PerformanceSection.cjs.map +1 -0
  203. package/dist/portfolio/sections/PerformanceSection.d.cts +22 -0
  204. package/dist/portfolio/sections/PerformanceSection.d.ts +22 -0
  205. package/dist/{PerformanceSection-MGCEIXDX.js → portfolio/sections/PerformanceSection.js} +59 -104
  206. package/dist/portfolio/sections/PerformanceSection.js.map +1 -0
  207. package/dist/{ResultsSection-XLGMMQKY.cjs → portfolio/sections/ResultsSection.cjs} +23 -10
  208. package/dist/portfolio/sections/ResultsSection.cjs.map +1 -0
  209. package/dist/portfolio/sections/ResultsSection.d.cts +13 -0
  210. package/dist/portfolio/sections/ResultsSection.d.ts +13 -0
  211. package/dist/{ResultsSection-DFUJ5U6M.js → portfolio/sections/ResultsSection.js} +14 -7
  212. package/dist/portfolio/sections/ResultsSection.js.map +1 -0
  213. package/dist/portfolio/sections/ServicesSection.cjs +129 -0
  214. package/dist/portfolio/sections/ServicesSection.cjs.map +1 -0
  215. package/dist/portfolio/sections/ServicesSection.d.cts +9 -0
  216. package/dist/portfolio/sections/ServicesSection.d.ts +9 -0
  217. package/dist/portfolio/sections/ServicesSection.js +122 -0
  218. package/dist/portfolio/sections/ServicesSection.js.map +1 -0
  219. package/dist/{SiteArchitectureSection-J7BPBERH.cjs → portfolio/sections/SiteArchitectureSection.cjs} +117 -93
  220. package/dist/portfolio/sections/SiteArchitectureSection.cjs.map +1 -0
  221. package/dist/portfolio/sections/SiteArchitectureSection.d.cts +21 -0
  222. package/dist/portfolio/sections/SiteArchitectureSection.d.ts +21 -0
  223. package/dist/{SiteArchitectureSection-TE22OAWV.js → portfolio/sections/SiteArchitectureSection.js} +47 -48
  224. package/dist/portfolio/sections/SiteArchitectureSection.js.map +1 -0
  225. package/dist/{SpeedComparisonSection-EZKFQVGW.cjs → portfolio/sections/SpeedComparisonSection.cjs} +13 -7
  226. package/dist/portfolio/sections/SpeedComparisonSection.cjs.map +1 -0
  227. package/dist/portfolio/sections/SpeedComparisonSection.d.cts +20 -0
  228. package/dist/portfolio/sections/SpeedComparisonSection.d.ts +20 -0
  229. package/dist/{SpeedComparisonSection-Y3K7OFZQ.js → portfolio/sections/SpeedComparisonSection.js} +6 -5
  230. package/dist/portfolio/sections/SpeedComparisonSection.js.map +1 -0
  231. package/dist/portfolio/sections/StrategySection.cjs +233 -0
  232. package/dist/portfolio/sections/StrategySection.cjs.map +1 -0
  233. package/dist/portfolio/sections/StrategySection.d.cts +9 -0
  234. package/dist/portfolio/sections/StrategySection.d.ts +9 -0
  235. package/dist/{StrategySection-DI5RSCJU.js → portfolio/sections/StrategySection.js} +60 -26
  236. package/dist/portfolio/sections/StrategySection.js.map +1 -0
  237. package/dist/portfolio/sections/TeamSection.cjs +162 -0
  238. package/dist/portfolio/sections/TeamSection.cjs.map +1 -0
  239. package/dist/portfolio/sections/TeamSection.d.cts +9 -0
  240. package/dist/portfolio/sections/TeamSection.d.ts +9 -0
  241. package/dist/portfolio/sections/TeamSection.js +106 -0
  242. package/dist/portfolio/sections/TeamSection.js.map +1 -0
  243. package/dist/portfolio/sections/TechStackSection.cjs +106 -0
  244. package/dist/portfolio/sections/TechStackSection.cjs.map +1 -0
  245. package/dist/portfolio/sections/TechStackSection.d.cts +9 -0
  246. package/dist/portfolio/sections/TechStackSection.d.ts +9 -0
  247. package/dist/portfolio/sections/TechStackSection.js +99 -0
  248. package/dist/portfolio/sections/TechStackSection.js.map +1 -0
  249. package/dist/{TestimonialSection-XPTFUQIN.cjs → portfolio/sections/TestimonialSection.cjs} +47 -28
  250. package/dist/portfolio/sections/TestimonialSection.cjs.map +1 -0
  251. package/dist/portfolio/sections/TestimonialSection.d.cts +9 -0
  252. package/dist/portfolio/sections/TestimonialSection.d.ts +9 -0
  253. package/dist/{TestimonialSection-6RGSMXQB.js → portfolio/sections/TestimonialSection.js} +40 -27
  254. package/dist/portfolio/sections/TestimonialSection.js.map +1 -0
  255. package/dist/portfolio/sections/VideoSection.cjs +181 -0
  256. package/dist/portfolio/sections/VideoSection.cjs.map +1 -0
  257. package/dist/portfolio/sections/VideoSection.d.cts +9 -0
  258. package/dist/portfolio/sections/VideoSection.d.ts +9 -0
  259. package/dist/{VideoSection-4A2HC6K6.js → portfolio/sections/VideoSection.js} +21 -13
  260. package/dist/portfolio/sections/VideoSection.js.map +1 -0
  261. package/dist/portfolio/server.cjs +56 -144
  262. package/dist/portfolio/server.cjs.map +1 -1
  263. package/dist/portfolio/server.d.cts +157 -7
  264. package/dist/portfolio/server.d.ts +157 -7
  265. package/dist/portfolio/server.js +3 -142
  266. package/dist/portfolio/server.js.map +1 -1
  267. package/dist/preview.cjs +56 -0
  268. package/dist/preview.cjs.map +1 -0
  269. package/dist/preview.d.cts +31 -0
  270. package/dist/preview.d.ts +31 -0
  271. package/dist/preview.js +54 -0
  272. package/dist/preview.js.map +1 -0
  273. package/dist/{types-DL4t_Cfa.d.ts → types-0tVPy4pU.d.cts} +7 -1
  274. package/dist/{types-DL4t_Cfa.d.cts → types-0tVPy4pU.d.ts} +7 -1
  275. package/dist/types-D0nb6KAx.d.cts +299 -0
  276. package/dist/types-D0nb6KAx.d.ts +299 -0
  277. package/package.json +38 -14
  278. package/templates/api-portfolio-preview.ts +6 -0
  279. package/templates/api-revalidate.ts +5 -0
  280. package/templates/work-category-page.tsx +40 -0
  281. package/templates/work-error.tsx +3 -0
  282. package/templates/work-loading.tsx +1 -0
  283. package/templates/work-page.tsx +37 -0
  284. package/templates/work-slug-loading.tsx +1 -0
  285. package/templates/work-slug-page.tsx +41 -0
  286. package/dist/BeforeAfterSection-6BHFLY4Y.js.map +0 -1
  287. package/dist/BeforeAfterSection-JTORBR3A.cjs +0 -181
  288. package/dist/BeforeAfterSection-JTORBR3A.cjs.map +0 -1
  289. package/dist/CTASection-4JKLXEUF.cjs +0 -111
  290. package/dist/CTASection-4JKLXEUF.cjs.map +0 -1
  291. package/dist/CTASection-BJA72XIL.js +0 -106
  292. package/dist/CTASection-BJA72XIL.js.map +0 -1
  293. package/dist/ChallengesSection-GEQGVSJN.js.map +0 -1
  294. package/dist/ChallengesSection-IZ3DHECS.cjs.map +0 -1
  295. package/dist/ConversionFunnelSection-AUUSJ5HQ.cjs +0 -209
  296. package/dist/ConversionFunnelSection-AUUSJ5HQ.cjs.map +0 -1
  297. package/dist/ConversionFunnelSection-D3GE4NKE.js.map +0 -1
  298. package/dist/DesignSystemSection-2R5BRBGO.js.map +0 -1
  299. package/dist/DesignSystemSection-KXIQXITF.cjs.map +0 -1
  300. package/dist/DetailsSection-A6PZQUQL.js.map +0 -1
  301. package/dist/DetailsSection-TTUZAPZZ.cjs.map +0 -1
  302. package/dist/FeatureSpotlightSection-B7P3JGNL.js.map +0 -1
  303. package/dist/FeatureSpotlightSection-WRHXS7TU.cjs +0 -210
  304. package/dist/FeatureSpotlightSection-WRHXS7TU.cjs.map +0 -1
  305. package/dist/GallerySection-VMKORC47.js.map +0 -1
  306. package/dist/GallerySection-WJ4PQDBI.cjs +0 -219
  307. package/dist/GallerySection-WJ4PQDBI.cjs.map +0 -1
  308. package/dist/MetricsTimelineSection-4L6DUHJ5.cjs.map +0 -1
  309. package/dist/MetricsTimelineSection-6BT5GNFV.js.map +0 -1
  310. package/dist/PerformanceSection-24TVVFZA.cjs +0 -356
  311. package/dist/PerformanceSection-24TVVFZA.cjs.map +0 -1
  312. package/dist/PerformanceSection-MGCEIXDX.js.map +0 -1
  313. package/dist/ResultsSection-DFUJ5U6M.js.map +0 -1
  314. package/dist/ResultsSection-XLGMMQKY.cjs.map +0 -1
  315. package/dist/ServicesSection-D5V3Q4GR.js +0 -118
  316. package/dist/ServicesSection-D5V3Q4GR.js.map +0 -1
  317. package/dist/ServicesSection-WJMGK2MF.cjs +0 -120
  318. package/dist/ServicesSection-WJMGK2MF.cjs.map +0 -1
  319. package/dist/SiteArchitectureSection-J7BPBERH.cjs.map +0 -1
  320. package/dist/SiteArchitectureSection-TE22OAWV.js.map +0 -1
  321. package/dist/SpeedComparisonSection-EZKFQVGW.cjs.map +0 -1
  322. package/dist/SpeedComparisonSection-Y3K7OFZQ.js.map +0 -1
  323. package/dist/StrategySection-CJ7Y6OFQ.cjs +0 -174
  324. package/dist/StrategySection-CJ7Y6OFQ.cjs.map +0 -1
  325. package/dist/StrategySection-DI5RSCJU.js.map +0 -1
  326. package/dist/TeamSection-DZVSNZE6.cjs +0 -112
  327. package/dist/TeamSection-DZVSNZE6.cjs.map +0 -1
  328. package/dist/TeamSection-HGKFW6PQ.js +0 -107
  329. package/dist/TeamSection-HGKFW6PQ.js.map +0 -1
  330. package/dist/TechStackSection-2AQ7RGY3.js +0 -93
  331. package/dist/TechStackSection-2AQ7RGY3.js.map +0 -1
  332. package/dist/TechStackSection-VTNNZR5V.cjs +0 -95
  333. package/dist/TechStackSection-VTNNZR5V.cjs.map +0 -1
  334. package/dist/TestimonialSection-6RGSMXQB.js.map +0 -1
  335. package/dist/TestimonialSection-XPTFUQIN.cjs.map +0 -1
  336. package/dist/VideoSection-4A2HC6K6.js.map +0 -1
  337. package/dist/VideoSection-G3DFS7UH.cjs +0 -118
  338. package/dist/VideoSection-G3DFS7UH.cjs.map +0 -1
  339. package/dist/chunk-2Y4O3LWM.js +0 -53
  340. package/dist/chunk-2Y4O3LWM.js.map +0 -1
  341. package/dist/chunk-633UMQQH.cjs +0 -31
  342. package/dist/chunk-633UMQQH.cjs.map +0 -1
  343. package/dist/chunk-7CFFAKDM.js +0 -74
  344. package/dist/chunk-7CFFAKDM.js.map +0 -1
  345. package/dist/chunk-APG2QSMB.js +0 -131
  346. package/dist/chunk-APG2QSMB.js.map +0 -1
  347. package/dist/chunk-AVCH4LMG.cjs +0 -620
  348. package/dist/chunk-AVCH4LMG.cjs.map +0 -1
  349. package/dist/chunk-AYBUHRFS.js +0 -613
  350. package/dist/chunk-AYBUHRFS.js.map +0 -1
  351. package/dist/chunk-EE75WRCM.cjs.map +0 -1
  352. package/dist/chunk-IKBK7HYX.cjs +0 -79
  353. package/dist/chunk-IKBK7HYX.cjs.map +0 -1
  354. package/dist/chunk-KEOHORIH.cjs +0 -79
  355. package/dist/chunk-KEOHORIH.cjs.map +0 -1
  356. package/dist/chunk-OA5ZM4OA.cjs +0 -139
  357. package/dist/chunk-OA5ZM4OA.cjs.map +0 -1
  358. package/dist/chunk-TVFXN6W6.js.map +0 -1
  359. package/dist/chunk-VVTK4OL6.js +0 -28
  360. package/dist/chunk-VVTK4OL6.js.map +0 -1
  361. package/dist/chunk-XCKXHK44.js +0 -15
  362. package/dist/chunk-XCKXHK44.js.map +0 -1
  363. package/dist/chunk-XONXEFJY.cjs +0 -58
  364. package/dist/chunk-XONXEFJY.cjs.map +0 -1
  365. package/dist/chunk-XQNJED46.cjs +0 -19
  366. package/dist/chunk-XQNJED46.cjs.map +0 -1
  367. package/dist/chunk-YB4B3OMC.js +0 -74
  368. package/dist/chunk-YB4B3OMC.js.map +0 -1
  369. package/dist/portfolio/sections.cjs +0 -20
  370. package/dist/portfolio/sections.cjs.map +0 -1
  371. package/dist/portfolio/sections.d.cts +0 -42
  372. package/dist/portfolio/sections.d.ts +0 -42
  373. package/dist/portfolio/sections.js +0 -4
  374. package/dist/portfolio/sections.js.map +0 -1
@@ -1,620 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkXONXEFJY_cjs = require('./chunk-XONXEFJY.cjs');
4
- var chunk633UMQQH_cjs = require('./chunk-633UMQQH.cjs');
5
- var chunkKEOHORIH_cjs = require('./chunk-KEOHORIH.cjs');
6
- var chunkIKBK7HYX_cjs = require('./chunk-IKBK7HYX.cjs');
7
- var dynamic = require('next/dynamic');
8
- var react = require('react');
9
- var gsap2 = require('gsap');
10
- var ScrollTrigger = require('gsap/ScrollTrigger');
11
- var jsxRuntime = require('react/jsx-runtime');
12
-
13
- function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
14
-
15
- var dynamic__default = /*#__PURE__*/_interopDefault(dynamic);
16
- var gsap2__default = /*#__PURE__*/_interopDefault(gsap2);
17
-
18
- function SplitHeadline({
19
- children,
20
- tag: Tag = "h2",
21
- className,
22
- style,
23
- delay = 0,
24
- duration = 0.8,
25
- staggerAmount = 0.02
26
- }) {
27
- const ref = react.useRef(null);
28
- const splitContent = react.useMemo(() => {
29
- const words = children.split(" ");
30
- return words.map((word, wi) => /* @__PURE__ */ jsxRuntime.jsxs("span", { style: { display: "inline-block", whiteSpace: "nowrap" }, children: [
31
- word.split("").map((char, ci) => /* @__PURE__ */ jsxRuntime.jsx(
32
- "span",
33
- {
34
- className: "split-char",
35
- style: { display: "inline-block" },
36
- children: char
37
- },
38
- ci
39
- )),
40
- wi < words.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("span", { style: { display: "inline-block" }, children: "\xA0" })
41
- ] }, wi));
42
- }, [children]);
43
- react.useEffect(() => {
44
- gsap2__default.default.registerPlugin(ScrollTrigger.ScrollTrigger);
45
- const el = ref.current;
46
- if (!el) return;
47
- const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
48
- if (prefersReducedMotion) {
49
- gsap2__default.default.set(el.querySelectorAll(".split-char"), { opacity: 1, y: 0 });
50
- return;
51
- }
52
- const chars = el.querySelectorAll(".split-char");
53
- const ctx = gsap2__default.default.context(() => {
54
- gsap2__default.default.fromTo(
55
- chars,
56
- {
57
- opacity: 0,
58
- y: 20
59
- },
60
- {
61
- opacity: 1,
62
- y: 0,
63
- duration,
64
- delay,
65
- stagger: staggerAmount,
66
- ease: "power2.out",
67
- scrollTrigger: {
68
- trigger: el,
69
- start: "top 85%",
70
- toggleActions: "play none none none"
71
- }
72
- }
73
- );
74
- }, el);
75
- return () => ctx.revert();
76
- }, [delay, duration, staggerAmount]);
77
- return /* @__PURE__ */ jsxRuntime.jsx(
78
- Tag,
79
- {
80
- ref,
81
- className,
82
- style: {
83
- overflowX: "clip",
84
- overflowY: "hidden",
85
- overflowWrap: "break-word",
86
- wordBreak: "break-word",
87
- ...style
88
- },
89
- children: splitContent
90
- }
91
- );
92
- }
93
- function useScaledIframe(viewportWidth) {
94
- const containerRef = react.useRef(null);
95
- const [scale, setScale] = react.useState(1);
96
- react.useEffect(() => {
97
- const container = containerRef.current;
98
- if (!container) return;
99
- const updateScale = () => {
100
- const containerWidth = container.offsetWidth;
101
- setScale(containerWidth / viewportWidth);
102
- };
103
- updateScale();
104
- const resizeObserver = new ResizeObserver(updateScale);
105
- resizeObserver.observe(container);
106
- return () => resizeObserver.disconnect();
107
- }, [viewportWidth]);
108
- return { containerRef, scale };
109
- }
110
- function useIframeLoadDetection() {
111
- const [loaded, setLoaded] = react.useState(false);
112
- const iframeRef = react.useRef(null);
113
- const onLoad = react.useCallback(() => {
114
- const iframe = iframeRef.current;
115
- if (!iframe) return;
116
- setTimeout(() => {
117
- try {
118
- const doc = iframe.contentDocument;
119
- if (!doc?.body) {
120
- return;
121
- }
122
- const numElements = doc.querySelectorAll("*").length;
123
- if (numElements > 20) setLoaded(true);
124
- } catch {
125
- setLoaded(true);
126
- }
127
- }, 1500);
128
- }, []);
129
- return { iframeRef, loaded, onLoad };
130
- }
131
- function MacBookFrame({ url, screenshot }) {
132
- const viewportWidth = 1440;
133
- const viewportHeight = 900;
134
- const { containerRef, scale } = useScaledIframe(viewportWidth);
135
- const { iframeRef, loaded: iframeLoaded, onLoad: onIframeLoad } = useIframeLoadDetection();
136
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
137
- /* @__PURE__ */ jsxRuntime.jsx(
138
- "div",
139
- {
140
- className: "relative rounded-t-[10px] p-[4px] pb-0",
141
- style: {
142
- background: "linear-gradient(135deg, #e8e8ed 0%, #d1d1d6 100%)",
143
- boxShadow: "0 -4px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.9)"
144
- },
145
- children: /* @__PURE__ */ jsxRuntime.jsxs(
146
- "div",
147
- {
148
- className: "relative rounded-t-[7px] px-[8px] pt-[8px] pb-0",
149
- style: { background: "#0a0a0a" },
150
- children: [
151
- /* @__PURE__ */ jsxRuntime.jsx(
152
- "div",
153
- {
154
- className: "absolute top-0 left-1/2 -translate-x-1/2 w-[70px] h-[18px] flex items-center justify-center z-10",
155
- style: { background: "#0a0a0a", borderRadius: "0 0 10px 10px" },
156
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-[5px] h-[5px] rounded-full", style: { background: "#2a3a2a", boxShadow: "0 0 0 1px #1a1a1a" } })
157
- }
158
- ),
159
- /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: "relative overflow-hidden rounded-t-[3px]", style: { aspectRatio: `${viewportWidth}/${viewportHeight}`, background: "#0a0a0a" }, children: [
160
- screenshot && /* @__PURE__ */ jsxRuntime.jsx("img", { src: screenshot, alt: "Desktop preview", style: { width: "100%", height: "100%", objectFit: "cover", objectPosition: "top center", display: "block", position: "absolute", inset: 0, zIndex: 2, opacity: iframeLoaded ? 0 : 1, transition: "opacity 0.8s ease", pointerEvents: "none" } }),
161
- url && /* @__PURE__ */ jsxRuntime.jsx("iframe", { src: url, title: "Desktop", loading: "eager", scrolling: "no", tabIndex: -1, sandbox: "allow-scripts allow-same-origin", ref: iframeRef, onLoad: onIframeLoad, className: "border-0 pointer-events-none", style: { position: "absolute", top: 0, left: 0, width: `${viewportWidth}px`, height: `${viewportHeight}px`, transformOrigin: "top left", transform: `scale(${scale})` } })
162
- ] })
163
- ]
164
- }
165
- )
166
- }
167
- ),
168
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[8px]", style: { background: "#0a0a0a", boxShadow: "0 1px 4px rgba(0,0,0,0.3)" } }),
169
- /* @__PURE__ */ jsxRuntime.jsx(
170
- "div",
171
- {
172
- className: "relative h-[12px] rounded-b-[10px]",
173
- style: {
174
- background: "linear-gradient(to bottom, #e0e0e5, #c8c8cd 20%, #b0b0b5 80%, #a0a0a5)",
175
- boxShadow: "0 4px 15px rgba(0,0,0,0.3)"
176
- },
177
- children: /* @__PURE__ */ jsxRuntime.jsx(
178
- "div",
179
- {
180
- className: "absolute top-0 left-1/2 -translate-x-1/2 w-[25%] h-[4px] rounded-b-[4px]",
181
- style: { background: "linear-gradient(to bottom, #909095, #a8a8ad)" }
182
- }
183
- )
184
- }
185
- )
186
- ] });
187
- }
188
- function IPadFrame({ url, screenshot }) {
189
- const viewportWidth = 768;
190
- const viewportHeight = 1024;
191
- const { containerRef, scale } = useScaledIframe(viewportWidth);
192
- const { iframeRef, loaded: iframeLoaded, onLoad: onIframeLoad } = useIframeLoadDetection();
193
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative p-[1.5%]", style: { background: "linear-gradient(135deg, #e8e8ed 0%, #d1d1d6 100%)", borderRadius: "8% / 6%", boxShadow: "0 30px 60px -15px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.9) inset, inset 0 1px 0 rgba(255,255,255,0.8)" }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative p-[2%]", style: { background: "#0a0a0a", borderRadius: "6% / 4.5%" }, children: [
194
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-[1.2%] left-1/2 -translate-x-1/2 w-[1.8%] aspect-square rounded-full z-10", style: { background: "#1a1a1f" } }),
195
- /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: "relative overflow-hidden", style: { borderRadius: "2%", aspectRatio: `${viewportWidth}/${viewportHeight}`, background: "#0a0a0a" }, children: [
196
- screenshot && /* @__PURE__ */ jsxRuntime.jsx("img", { src: screenshot, alt: "Tablet preview", style: { width: "100%", height: "100%", objectFit: "cover", objectPosition: "top center", display: "block", position: "absolute", inset: 0, zIndex: 2, opacity: iframeLoaded ? 0 : 1, transition: "opacity 0.8s ease", pointerEvents: "none" } }),
197
- url && /* @__PURE__ */ jsxRuntime.jsx("iframe", { src: url, title: "Tablet", loading: "eager", scrolling: "no", tabIndex: -1, sandbox: "allow-scripts allow-same-origin", ref: iframeRef, onLoad: onIframeLoad, className: "border-0 pointer-events-none", style: { position: "absolute", top: 0, left: 0, width: `${viewportWidth}px`, height: `${viewportHeight}px`, transformOrigin: "top left", transform: `scale(${scale})` } })
198
- ] })
199
- ] }) });
200
- }
201
- function IPhoneFrame({ url, screenshot }) {
202
- const viewportWidth = 393;
203
- const viewportHeight = 852;
204
- const { containerRef, scale } = useScaledIframe(viewportWidth);
205
- const { iframeRef, loaded: iframeLoaded, onLoad: onIframeLoad } = useIframeLoadDetection();
206
- return /* @__PURE__ */ jsxRuntime.jsxs(
207
- "div",
208
- {
209
- className: "relative p-[2.5%]",
210
- style: {
211
- background: "linear-gradient(135deg, #e8e8ed 0%, #d1d1d6 100%)",
212
- borderRadius: "18% / 8%",
213
- boxShadow: "0 30px 60px -15px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.9) inset, inset 0 1px 0 rgba(255,255,255,0.8)"
214
- },
215
- children: [
216
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-0 top-[18%] w-[1%] h-[6%] rounded-l-sm", style: { background: "#c8c8cd" } }),
217
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-0 top-[26%] w-[1%] h-[10%] rounded-l-sm", style: { background: "#c8c8cd" } }),
218
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-0 top-[38%] w-[1%] h-[10%] rounded-l-sm", style: { background: "#c8c8cd" } }),
219
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-0 top-[22%] w-[1%] h-[12%] rounded-r-sm", style: { background: "#c8c8cd" } }),
220
- /* @__PURE__ */ jsxRuntime.jsxs(
221
- "div",
222
- {
223
- className: "relative p-[3%]",
224
- style: { background: "#0a0a0a", borderRadius: "14% / 6%" },
225
- children: [
226
- /* @__PURE__ */ jsxRuntime.jsx(
227
- "div",
228
- {
229
- className: "absolute top-[2.5%] left-1/2 -translate-x-1/2 w-[28%] h-[3.5%] rounded-full z-10",
230
- style: { background: "#1a1a1a" }
231
- }
232
- ),
233
- /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: "relative overflow-hidden", style: { borderRadius: "8% / 4%", aspectRatio: `${viewportWidth}/${viewportHeight}`, background: "#0a0a0a" }, children: [
234
- screenshot && /* @__PURE__ */ jsxRuntime.jsx("img", { src: screenshot, alt: "Mobile preview", style: { width: "100%", height: "100%", objectFit: "cover", objectPosition: "top center", display: "block", position: "absolute", inset: 0, zIndex: 2, opacity: iframeLoaded ? 0 : 1, transition: "opacity 0.8s ease", pointerEvents: "none" } }),
235
- url && /* @__PURE__ */ jsxRuntime.jsx("iframe", { src: url, title: "Mobile", loading: "eager", scrolling: "no", tabIndex: -1, sandbox: "allow-scripts allow-same-origin", ref: iframeRef, onLoad: onIframeLoad, className: "border-0 pointer-events-none", style: { position: "absolute", top: 0, left: 0, width: `${viewportWidth}px`, height: `${viewportHeight}px`, transformOrigin: "top left", transform: `scale(${scale})` } })
236
- ] }),
237
- /* @__PURE__ */ jsxRuntime.jsx(
238
- "div",
239
- {
240
- className: "absolute bottom-[2%] left-1/2 -translate-x-1/2 w-[34%] h-[1%] rounded-full",
241
- style: { background: "rgba(255,255,255,0.25)" }
242
- }
243
- )
244
- ]
245
- }
246
- )
247
- ]
248
- }
249
- );
250
- }
251
- function DeviceTrifolio({
252
- url,
253
- screenshots,
254
- className = "",
255
- disableAnimation = false
256
- }) {
257
- const trifolioRef = react.useRef(null);
258
- const frameUrl = url || "";
259
- react.useEffect(() => {
260
- gsap2__default.default.registerPlugin(ScrollTrigger.ScrollTrigger);
261
- const container = trifolioRef.current;
262
- if (!container || disableAnimation) return;
263
- const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
264
- if (prefersReducedMotion) return;
265
- const macbook = container.querySelector('[data-device="macbook"]');
266
- const ipad = container.querySelector('[data-device="ipad"]');
267
- const iphone = container.querySelector('[data-device="iphone"]');
268
- if (!macbook || !ipad || !iphone) return;
269
- const ctx = gsap2__default.default.context(() => {
270
- gsap2__default.default.set(container, { opacity: 0 });
271
- gsap2__default.default.set(macbook, { opacity: 0, y: 40 });
272
- gsap2__default.default.set(ipad, { opacity: 0, x: -60, y: 30 });
273
- gsap2__default.default.set(iphone, { opacity: 0, x: 60, y: 30 });
274
- const tl = gsap2__default.default.timeline({
275
- scrollTrigger: {
276
- trigger: container,
277
- start: "top bottom",
278
- toggleActions: "play none none none"
279
- }
280
- });
281
- tl.to(container, { opacity: 1, duration: 0.3 }).to(macbook, { opacity: 1, y: 0, duration: 0.7, ease: "power2.out" }, 0.1).to(ipad, { opacity: 1, x: 0, y: 0, duration: 0.6, ease: "power2.out" }, 0.25).to(iphone, { opacity: 1, x: 0, y: 0, duration: 0.6, ease: "power2.out" }, 0.4);
282
- }, container);
283
- return () => ctx.revert();
284
- }, [disableAnimation]);
285
- return /* @__PURE__ */ jsxRuntime.jsxs(
286
- "div",
287
- {
288
- ref: trifolioRef,
289
- "data-screenshot-target": "device-trifolio",
290
- className: `relative w-full min-w-0 max-w-full overflow-x-clip ${className}`,
291
- style: { aspectRatio: "11/5", minHeight: "200px" },
292
- children: [
293
- /* @__PURE__ */ jsxRuntime.jsx(
294
- "div",
295
- {
296
- "data-device": "macbook",
297
- className: "absolute left-1/2 -translate-x-1/2 bottom-0 w-[65%] z-10",
298
- children: /* @__PURE__ */ jsxRuntime.jsx(MacBookFrame, { url: frameUrl, screenshot: screenshots?.desktop })
299
- }
300
- ),
301
- /* @__PURE__ */ jsxRuntime.jsx(
302
- "div",
303
- {
304
- "data-device": "ipad",
305
- className: "absolute left-[8%] bottom-0 w-[28%] z-20",
306
- children: /* @__PURE__ */ jsxRuntime.jsx(IPadFrame, { url: frameUrl, screenshot: screenshots?.tablet })
307
- }
308
- ),
309
- /* @__PURE__ */ jsxRuntime.jsx(
310
- "div",
311
- {
312
- "data-device": "iphone",
313
- className: "absolute right-[10%] bottom-0 w-[14%] z-30",
314
- children: /* @__PURE__ */ jsxRuntime.jsx(IPhoneFrame, { url: frameUrl, screenshot: screenshots?.mobile })
315
- }
316
- )
317
- ]
318
- }
319
- );
320
- }
321
- function HeroSection({ data, screenshots, liveUrl }) {
322
- const bgRef = react.useRef(null);
323
- const deviceRef = react.useRef(null);
324
- const shots = screenshots || data.screenshots;
325
- const url = liveUrl || data.liveUrl;
326
- react.useEffect(() => {
327
- gsap2__default.default.registerPlugin(ScrollTrigger.ScrollTrigger);
328
- const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
329
- if (prefersReducedMotion) return;
330
- const ctx = gsap2__default.default.context(() => {
331
- if (bgRef.current) {
332
- gsap2__default.default.to(bgRef.current, {
333
- yPercent: 30,
334
- ease: "none",
335
- scrollTrigger: {
336
- trigger: bgRef.current.parentElement,
337
- start: "top top",
338
- end: "bottom top",
339
- scrub: true
340
- }
341
- });
342
- }
343
- });
344
- return () => ctx.revert();
345
- }, []);
346
- return /* @__PURE__ */ jsxRuntime.jsxs(
347
- "section",
348
- {
349
- className: "relative overflow-hidden w-full",
350
- style: {
351
- minHeight: "90vh",
352
- display: "flex",
353
- flexDirection: "column",
354
- justifyContent: "center",
355
- background: "var(--sk-bg, #0a0a0a)"
356
- },
357
- children: [
358
- /* @__PURE__ */ jsxRuntime.jsx(
359
- "div",
360
- {
361
- ref: bgRef,
362
- className: "absolute inset-0 pointer-events-none",
363
- style: {
364
- background: `radial-gradient(ellipse at 50% 20%, color-mix(in srgb, var(--sk-primary, #6366f1) 15%, transparent) 0%, transparent 70%)`,
365
- willChange: "transform"
366
- }
367
- }
368
- ),
369
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative z-10 max-w-7xl mx-auto w-full min-w-0 px-4 sm:px-6 py-24 lg:py-32", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 min-w-0 lg:grid-cols-2 gap-12 lg:gap-16 items-start", children: [
370
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 max-w-full flex-col gap-6", children: [
371
- /* @__PURE__ */ jsxRuntime.jsx(chunkIKBK7HYX_cjs.ScrollReveal, { y: 20, duration: 0.6, children: /* @__PURE__ */ jsxRuntime.jsx(
372
- "span",
373
- {
374
- className: "inline-flex items-center self-start px-4 py-1.5 rounded-full text-sm font-medium",
375
- style: {
376
- background: "color-mix(in srgb, var(--sk-primary, #6366f1) 15%, transparent)",
377
- color: "var(--sk-primary, #6366f1)",
378
- border: "1px solid color-mix(in srgb, var(--sk-primary, #6366f1) 25%, transparent)"
379
- },
380
- children: data.category?.replace(/[-_]/g, " ").replace(/\b\w/g, (c) => c.toUpperCase())
381
- }
382
- ) }),
383
- /* @__PURE__ */ jsxRuntime.jsx(
384
- SplitHeadline,
385
- {
386
- tag: "h1",
387
- className: "text-4xl md:text-5xl lg:text-6xl font-bold leading-tight",
388
- style: {
389
- color: "var(--sk-text-primary, #ffffff)",
390
- fontFamily: "var(--sk-font-heading, inherit)"
391
- },
392
- children: data.headline
393
- }
394
- ),
395
- /* @__PURE__ */ jsxRuntime.jsx(chunkIKBK7HYX_cjs.ScrollReveal, { y: 20, delay: 0.2, children: /* @__PURE__ */ jsxRuntime.jsx(
396
- "p",
397
- {
398
- className: "text-xl md:text-2xl font-medium",
399
- style: { color: "var(--sk-text-secondary, #a1a1aa)" },
400
- children: data.subheadline
401
- }
402
- ) }),
403
- /* @__PURE__ */ jsxRuntime.jsx(chunkIKBK7HYX_cjs.ScrollReveal, { y: 20, delay: 0.3, children: /* @__PURE__ */ jsxRuntime.jsx(
404
- "p",
405
- {
406
- className: "text-base md:text-lg leading-relaxed",
407
- style: { color: "var(--sk-text-tertiary, #71717a)" },
408
- children: data.description
409
- }
410
- ) }),
411
- data.services.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkIKBK7HYX_cjs.ScrollReveal, { y: 20, delay: 0.4, stagger: 0.05, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: data.services.map((service) => /* @__PURE__ */ jsxRuntime.jsx(
412
- "span",
413
- {
414
- className: "px-3 py-1 rounded-full text-xs font-medium",
415
- style: {
416
- background: "var(--sk-surface, rgba(255,255,255,0.05))",
417
- color: "var(--sk-text-secondary, #a1a1aa)",
418
- border: "1px solid var(--sk-border, rgba(255,255,255,0.1))"
419
- },
420
- children: service
421
- },
422
- service
423
- )) }) }),
424
- url && /* @__PURE__ */ jsxRuntime.jsx(chunkIKBK7HYX_cjs.ScrollReveal, { y: 20, delay: 0.5, children: /* @__PURE__ */ jsxRuntime.jsxs(
425
- "a",
426
- {
427
- href: url,
428
- target: "_blank",
429
- rel: "noopener noreferrer",
430
- className: "inline-flex items-center gap-2 self-start px-6 py-3 rounded-xl text-sm font-semibold transition-opacity hover:opacity-90",
431
- style: {
432
- background: "var(--sk-primary, #6366f1)",
433
- color: "#ffffff"
434
- },
435
- children: [
436
- "View Live Site",
437
- /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 3h7v7M13 3L3 13", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })
438
- ]
439
- }
440
- ) })
441
- ] }),
442
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 max-w-full flex-col gap-10 lg:pt-8", children: [
443
- (url || shots?.desktop || shots?.tablet || shots?.mobile) && /* @__PURE__ */ jsxRuntime.jsx("div", { ref: deviceRef, className: "min-w-0 max-w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
444
- DeviceTrifolio,
445
- {
446
- screenshots: {
447
- desktop: shots?.desktop,
448
- tablet: shots?.tablet,
449
- mobile: shots?.mobile
450
- },
451
- url
452
- }
453
- ) }),
454
- data.kpis.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkIKBK7HYX_cjs.ScrollReveal, { y: 30, delay: 0.6, stagger: 0.1, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-3", children: data.kpis.map((kpi, i) => /* @__PURE__ */ jsxRuntime.jsxs(chunkKEOHORIH_cjs.GlassCard, { padding: "sm", hover: false, className: "text-center", children: [
455
- /* @__PURE__ */ jsxRuntime.jsx(
456
- "div",
457
- {
458
- className: "text-2xl md:text-3xl font-bold",
459
- style: { color: "var(--sk-primary, #6366f1)" },
460
- children: /* @__PURE__ */ jsxRuntime.jsx(
461
- chunkXONXEFJY_cjs.AnimatedCounter,
462
- {
463
- value: kpi.value,
464
- suffix: kpi.suffix,
465
- prefix: kpi.prefix,
466
- duration: 2.5
467
- }
468
- )
469
- }
470
- ),
471
- /* @__PURE__ */ jsxRuntime.jsx(
472
- "div",
473
- {
474
- className: "text-xs mt-1 font-medium",
475
- style: { color: "var(--sk-text-secondary, #a1a1aa)" },
476
- children: kpi.label
477
- }
478
- )
479
- ] }, i)) }) })
480
- ] })
481
- ] }) })
482
- ]
483
- }
484
- );
485
- }
486
- var ChallengesSection = dynamic__default.default(() => import('./ChallengesSection-IZ3DHECS.cjs'), { ssr: true });
487
- var StrategySection = dynamic__default.default(() => import('./StrategySection-CJ7Y6OFQ.cjs'), { ssr: true });
488
- var ResultsSection = dynamic__default.default(() => import('./ResultsSection-XLGMMQKY.cjs'), { ssr: true });
489
- var TechStackSection = dynamic__default.default(() => import('./TechStackSection-VTNNZR5V.cjs'), { ssr: true });
490
- var ServicesSection = dynamic__default.default(() => import('./ServicesSection-WJMGK2MF.cjs'), { ssr: true });
491
- var TestimonialSection = dynamic__default.default(() => import('./TestimonialSection-XPTFUQIN.cjs'), { ssr: true });
492
- var GallerySection = dynamic__default.default(() => import('./GallerySection-WJ4PQDBI.cjs'), { ssr: true });
493
- var VideoSection = dynamic__default.default(() => import('./VideoSection-G3DFS7UH.cjs'), { ssr: true });
494
- var TeamSection = dynamic__default.default(() => import('./TeamSection-DZVSNZE6.cjs'), { ssr: true });
495
- var FeatureSpotlightSection = dynamic__default.default(() => import('./FeatureSpotlightSection-WRHXS7TU.cjs'), { ssr: true });
496
- var BeforeAfterSection = dynamic__default.default(() => import('./BeforeAfterSection-JTORBR3A.cjs'), { ssr: true });
497
- var MetricsTimelineSection = dynamic__default.default(() => import('./MetricsTimelineSection-4L6DUHJ5.cjs'), { ssr: true });
498
- var ConversionFunnelSection = dynamic__default.default(() => import('./ConversionFunnelSection-AUUSJ5HQ.cjs'), { ssr: true });
499
- var PerformanceSection = dynamic__default.default(() => import('./PerformanceSection-24TVVFZA.cjs'), { ssr: true });
500
- var SiteArchitectureSection = dynamic__default.default(() => import('./SiteArchitectureSection-J7BPBERH.cjs'), { ssr: true });
501
- var SpeedComparisonSection = dynamic__default.default(() => import('./SpeedComparisonSection-EZKFQVGW.cjs'), { ssr: true });
502
- var DesignSystemSection = dynamic__default.default(() => import('./DesignSystemSection-KXIQXITF.cjs'), { ssr: true });
503
- var DetailsSection = dynamic__default.default(() => import('./DetailsSection-TTUZAPZZ.cjs'), { ssr: true });
504
- var CTASection = dynamic__default.default(() => import('./CTASection-4JKLXEUF.cjs'), { ssr: true });
505
- function renderSection(section, item, index) {
506
- const key = `${section.sectionType}-${index}`;
507
- switch (section.sectionType) {
508
- case "portfolioHero":
509
- return /* @__PURE__ */ jsxRuntime.jsx(
510
- HeroSection,
511
- {
512
- data: section.data,
513
- screenshots: item.hero_screenshots ?? void 0,
514
- liveUrl: item.live_url ?? void 0
515
- },
516
- key
517
- );
518
- case "portfolioChallenges":
519
- return /* @__PURE__ */ jsxRuntime.jsx(ChallengesSection, { data: section.data }, key);
520
- case "portfolioStrategy":
521
- return /* @__PURE__ */ jsxRuntime.jsx(StrategySection, { data: section.data }, key);
522
- case "portfolioResults":
523
- return /* @__PURE__ */ jsxRuntime.jsx(ResultsSection, { data: section.data }, key);
524
- case "portfolioTechStack":
525
- return /* @__PURE__ */ jsxRuntime.jsx(TechStackSection, { data: section.data }, key);
526
- case "portfolioServices":
527
- return /* @__PURE__ */ jsxRuntime.jsx(ServicesSection, { data: section.data }, key);
528
- case "portfolioTestimonial":
529
- return /* @__PURE__ */ jsxRuntime.jsx(TestimonialSection, { data: section.data }, key);
530
- case "portfolioGallery":
531
- return /* @__PURE__ */ jsxRuntime.jsx(GallerySection, { data: section.data }, key);
532
- case "portfolioVideo":
533
- return /* @__PURE__ */ jsxRuntime.jsx(VideoSection, { data: section.data }, key);
534
- case "portfolioTeam":
535
- return /* @__PURE__ */ jsxRuntime.jsx(TeamSection, { data: section.data }, key);
536
- case "portfolioFeatureSpotlight":
537
- return /* @__PURE__ */ jsxRuntime.jsx(FeatureSpotlightSection, { data: section.data }, key);
538
- case "portfolioBeforeAfter":
539
- return /* @__PURE__ */ jsxRuntime.jsx(BeforeAfterSection, { data: section.data }, key);
540
- case "portfolioMetricsTimeline":
541
- return /* @__PURE__ */ jsxRuntime.jsx(MetricsTimelineSection, { data: section.data }, key);
542
- case "portfolioConversionFunnel":
543
- return /* @__PURE__ */ jsxRuntime.jsx(ConversionFunnelSection, { data: section.data }, key);
544
- case "portfolioPerformance":
545
- return /* @__PURE__ */ jsxRuntime.jsx(PerformanceSection, { data: section.data }, key);
546
- case "portfolioSpeedComparison":
547
- return /* @__PURE__ */ jsxRuntime.jsx(SpeedComparisonSection, { data: section.data }, key);
548
- case "portfolioSiteArchitecture":
549
- return /* @__PURE__ */ jsxRuntime.jsx(SiteArchitectureSection, { data: chunk633UMQQH_cjs.sanitizeSiteArchitectureData(section.data) }, key);
550
- case "portfolioDesignSystem":
551
- return /* @__PURE__ */ jsxRuntime.jsx(DesignSystemSection, { data: section.data }, key);
552
- case "portfolioDetails":
553
- return /* @__PURE__ */ jsxRuntime.jsx(DetailsSection, { data: section.data }, key);
554
- case "portfolioCTA":
555
- return /* @__PURE__ */ jsxRuntime.jsx(CTASection, { data: section.data }, key);
556
- case "portfolioSeo":
557
- return null;
558
- default:
559
- return null;
560
- }
561
- }
562
- var SECTION_ORDER = {
563
- portfolioHero: 0,
564
- portfolioChallenges: 1,
565
- portfolioStrategy: 2,
566
- portfolioResults: 3,
567
- portfolioPerformance: 4,
568
- portfolioSpeedComparison: 5,
569
- portfolioSiteArchitecture: 6,
570
- portfolioTechStack: 7,
571
- portfolioDesignSystem: 8,
572
- portfolioServices: 9,
573
- portfolioBeforeAfter: 10,
574
- portfolioTestimonial: 11,
575
- portfolioMetricsTimeline: 12,
576
- portfolioConversionFunnel: 13,
577
- portfolioDetails: 11,
578
- portfolioSeo: 12,
579
- portfolioCta: 13
580
- };
581
- function PortfolioPage({ item }) {
582
- const sortedSections = [...item.sections].sort(
583
- (a, b) => (SECTION_ORDER[a.sectionType] ?? 99) - (SECTION_ORDER[b.sectionType] ?? 99)
584
- );
585
- return /* @__PURE__ */ jsxRuntime.jsx("article", { className: "flex w-full min-w-0 max-w-full flex-col overflow-x-clip", children: sortedSections.map((section, index) => {
586
- const rendered = renderSection(section, item, index);
587
- if (!rendered) return null;
588
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full", children: rendered }, `wrapper-${section.sectionType}-${index}`);
589
- }) });
590
- }
591
-
592
- // src/types.ts
593
- var PORTFOLIO_SECTION_TYPES = [
594
- "portfolioHero",
595
- "portfolioChallenges",
596
- "portfolioStrategy",
597
- "portfolioResults",
598
- "portfolioTechStack",
599
- "portfolioServices",
600
- "portfolioTestimonial",
601
- "portfolioGallery",
602
- "portfolioVideo",
603
- "portfolioTeam",
604
- "portfolioFeatureSpotlight",
605
- "portfolioBeforeAfter",
606
- "portfolioMetricsTimeline",
607
- "portfolioConversionFunnel",
608
- "portfolioPerformance",
609
- "portfolioSpeedComparison",
610
- "portfolioSiteArchitecture",
611
- "portfolioDesignSystem",
612
- "portfolioDetails",
613
- "portfolioSeo",
614
- "portfolioCTA"
615
- ];
616
-
617
- exports.PORTFOLIO_SECTION_TYPES = PORTFOLIO_SECTION_TYPES;
618
- exports.PortfolioPage = PortfolioPage;
619
- //# sourceMappingURL=chunk-AVCH4LMG.cjs.map
620
- //# sourceMappingURL=chunk-AVCH4LMG.cjs.map