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