@sonordev/agency-site-kit 0.3.0 → 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 -30
- 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 -8
- 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 -19
- package/dist/portfolio/index.d.cts +133 -7
- package/dist/portfolio/index.d.ts +133 -7
- package/dist/portfolio/index.js +6 -6
- 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 -139
- 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 -137
- 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-2UNKXWQM.js +0 -630
- package/dist/chunk-2UNKXWQM.js.map +0 -1
- package/dist/chunk-2Y4O3LWM.js +0 -53
- package/dist/chunk-2Y4O3LWM.js.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-EE75WRCM.cjs.map +0 -1
- package/dist/chunk-FDFVLYAM.cjs +0 -637
- package/dist/chunk-FDFVLYAM.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-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
|
@@ -0,0 +1,535 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7ZHRMWJU_cjs = require('./chunk-7ZHRMWJU.cjs');
|
|
4
|
+
var dynamic = require('next/dynamic');
|
|
5
|
+
var HeroSection = require('@sonordev/agency-site-kit/portfolio/sections/HeroSection');
|
|
6
|
+
var ChallengesSection = require('@sonordev/agency-site-kit/portfolio/sections/ChallengesSection');
|
|
7
|
+
var ResultsSection = require('@sonordev/agency-site-kit/portfolio/sections/ResultsSection');
|
|
8
|
+
var TechStackSection = require('@sonordev/agency-site-kit/portfolio/sections/TechStackSection');
|
|
9
|
+
var ServicesSection = require('@sonordev/agency-site-kit/portfolio/sections/ServicesSection');
|
|
10
|
+
var TestimonialSection = require('@sonordev/agency-site-kit/portfolio/sections/TestimonialSection');
|
|
11
|
+
var SpeedComparisonSection = require('@sonordev/agency-site-kit/portfolio/sections/SpeedComparisonSection');
|
|
12
|
+
var DesignSystemSection = require('@sonordev/agency-site-kit/portfolio/sections/DesignSystemSection');
|
|
13
|
+
var DetailsSection = require('@sonordev/agency-site-kit/portfolio/sections/DetailsSection');
|
|
14
|
+
var PortfolioAnalytics = require('@sonordev/agency-site-kit/portfolio/components/PortfolioAnalytics');
|
|
15
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
16
|
+
var ScrollReveal = require('@sonordev/agency-site-kit/portfolio/primitives/ScrollReveal');
|
|
17
|
+
var Image = require('next/image');
|
|
18
|
+
var Link = require('next/link');
|
|
19
|
+
var GlassCard = require('@sonordev/agency-site-kit/portfolio/primitives/GlassCard');
|
|
20
|
+
var client = require('@sonordev/agency-site-kit/portfolio/client');
|
|
21
|
+
|
|
22
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
|
+
|
|
24
|
+
var dynamic__default = /*#__PURE__*/_interopDefault(dynamic);
|
|
25
|
+
var HeroSection__default = /*#__PURE__*/_interopDefault(HeroSection);
|
|
26
|
+
var ChallengesSection__default = /*#__PURE__*/_interopDefault(ChallengesSection);
|
|
27
|
+
var ResultsSection__default = /*#__PURE__*/_interopDefault(ResultsSection);
|
|
28
|
+
var TechStackSection__default = /*#__PURE__*/_interopDefault(TechStackSection);
|
|
29
|
+
var ServicesSection__default = /*#__PURE__*/_interopDefault(ServicesSection);
|
|
30
|
+
var TestimonialSection__default = /*#__PURE__*/_interopDefault(TestimonialSection);
|
|
31
|
+
var SpeedComparisonSection__default = /*#__PURE__*/_interopDefault(SpeedComparisonSection);
|
|
32
|
+
var DesignSystemSection__default = /*#__PURE__*/_interopDefault(DesignSystemSection);
|
|
33
|
+
var DetailsSection__default = /*#__PURE__*/_interopDefault(DetailsSection);
|
|
34
|
+
var PortfolioAnalytics__default = /*#__PURE__*/_interopDefault(PortfolioAnalytics);
|
|
35
|
+
var ScrollReveal__default = /*#__PURE__*/_interopDefault(ScrollReveal);
|
|
36
|
+
var Image__default = /*#__PURE__*/_interopDefault(Image);
|
|
37
|
+
var Link__default = /*#__PURE__*/_interopDefault(Link);
|
|
38
|
+
var GlassCard__default = /*#__PURE__*/_interopDefault(GlassCard);
|
|
39
|
+
|
|
40
|
+
var StrategySection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/StrategySection'), { ssr: true });
|
|
41
|
+
var GallerySection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/GallerySection'), { ssr: true });
|
|
42
|
+
var VideoSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/VideoSection'), { ssr: true });
|
|
43
|
+
var TeamSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/TeamSection'), { ssr: true });
|
|
44
|
+
var FeatureSpotlightSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/FeatureSpotlightSection'), { ssr: true });
|
|
45
|
+
var BeforeAfterSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/BeforeAfterSection'), { ssr: true });
|
|
46
|
+
var MetricsTimelineSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/MetricsTimelineSection'), { ssr: true });
|
|
47
|
+
var ConversionFunnelSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/ConversionFunnelSection'), { ssr: true });
|
|
48
|
+
var PerformanceSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/PerformanceSection'), { ssr: true });
|
|
49
|
+
var SiteArchitectureSection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/SiteArchitectureSection'), { ssr: true });
|
|
50
|
+
var CTASection = dynamic__default.default(() => import('@sonordev/agency-site-kit/portfolio/sections/CTASection'), { ssr: true });
|
|
51
|
+
function renderSection(section, item, index) {
|
|
52
|
+
const key = `${section.sectionType}-${index}`;
|
|
53
|
+
switch (section.sectionType) {
|
|
54
|
+
case "portfolioHero":
|
|
55
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
56
|
+
HeroSection__default.default,
|
|
57
|
+
{
|
|
58
|
+
data: section.data,
|
|
59
|
+
screenshots: item.hero_screenshots ?? void 0,
|
|
60
|
+
liveUrl: item.live_url ?? void 0
|
|
61
|
+
},
|
|
62
|
+
key
|
|
63
|
+
);
|
|
64
|
+
case "portfolioChallenges":
|
|
65
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ChallengesSection__default.default, { data: section.data }, key);
|
|
66
|
+
case "portfolioStrategy":
|
|
67
|
+
return /* @__PURE__ */ jsxRuntime.jsx(StrategySection, { data: section.data }, key);
|
|
68
|
+
case "portfolioResults":
|
|
69
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
70
|
+
ResultsSection__default.default,
|
|
71
|
+
{
|
|
72
|
+
data: section.data,
|
|
73
|
+
metricsDelta: item.metricsDelta,
|
|
74
|
+
metricsRefreshedAt: item.metrics_last_refreshed_at
|
|
75
|
+
},
|
|
76
|
+
key
|
|
77
|
+
);
|
|
78
|
+
case "portfolioTechStack":
|
|
79
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TechStackSection__default.default, { data: section.data }, key);
|
|
80
|
+
case "portfolioServices":
|
|
81
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ServicesSection__default.default, { data: section.data }, key);
|
|
82
|
+
case "portfolioTestimonial":
|
|
83
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TestimonialSection__default.default, { data: section.data }, key);
|
|
84
|
+
case "portfolioGallery":
|
|
85
|
+
return /* @__PURE__ */ jsxRuntime.jsx(GallerySection, { data: section.data }, key);
|
|
86
|
+
case "portfolioVideo":
|
|
87
|
+
return /* @__PURE__ */ jsxRuntime.jsx(VideoSection, { data: section.data }, key);
|
|
88
|
+
case "portfolioTeam":
|
|
89
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TeamSection, { data: section.data }, key);
|
|
90
|
+
case "portfolioFeatureSpotlight":
|
|
91
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FeatureSpotlightSection, { data: section.data }, key);
|
|
92
|
+
case "portfolioBeforeAfter":
|
|
93
|
+
return /* @__PURE__ */ jsxRuntime.jsx(BeforeAfterSection, { data: section.data }, key);
|
|
94
|
+
case "portfolioMetricsTimeline":
|
|
95
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MetricsTimelineSection, { data: section.data }, key);
|
|
96
|
+
case "portfolioConversionFunnel":
|
|
97
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ConversionFunnelSection, { data: section.data }, key);
|
|
98
|
+
case "portfolioPerformance":
|
|
99
|
+
return /* @__PURE__ */ jsxRuntime.jsx(PerformanceSection, { data: section.data }, key);
|
|
100
|
+
case "portfolioSpeedComparison":
|
|
101
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SpeedComparisonSection__default.default, { data: section.data }, key);
|
|
102
|
+
case "portfolioSiteArchitecture":
|
|
103
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SiteArchitectureSection, { data: chunk7ZHRMWJU_cjs.sanitizeSiteArchitectureData(section.data) }, key);
|
|
104
|
+
case "portfolioDesignSystem":
|
|
105
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DesignSystemSection__default.default, { data: section.data }, key);
|
|
106
|
+
case "portfolioDetails":
|
|
107
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DetailsSection__default.default, { data: section.data }, key);
|
|
108
|
+
case "portfolioCTA":
|
|
109
|
+
return /* @__PURE__ */ jsxRuntime.jsx(CTASection, { data: section.data }, key);
|
|
110
|
+
case "portfolioSeo":
|
|
111
|
+
return null;
|
|
112
|
+
default:
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
var SECTION_ORDER = {
|
|
117
|
+
portfolioHero: 0,
|
|
118
|
+
portfolioChallenges: 1,
|
|
119
|
+
portfolioStrategy: 2,
|
|
120
|
+
portfolioResults: 3,
|
|
121
|
+
portfolioPerformance: 4,
|
|
122
|
+
portfolioSpeedComparison: 5,
|
|
123
|
+
portfolioSiteArchitecture: 6,
|
|
124
|
+
portfolioTechStack: 7,
|
|
125
|
+
portfolioDesignSystem: 8,
|
|
126
|
+
portfolioServices: 9,
|
|
127
|
+
portfolioBeforeAfter: 10,
|
|
128
|
+
portfolioTestimonial: 11,
|
|
129
|
+
portfolioMetricsTimeline: 12,
|
|
130
|
+
portfolioConversionFunnel: 13,
|
|
131
|
+
portfolioDetails: 14,
|
|
132
|
+
portfolioSeo: 15,
|
|
133
|
+
portfolioCTA: 16
|
|
134
|
+
};
|
|
135
|
+
function PortfolioPage({ item }) {
|
|
136
|
+
const sortedSections = item.sectionsOrdered ? [...item.sections].sort(
|
|
137
|
+
(a, b) => (a.sectionType === "portfolioHero" ? 0 : 1) - (b.sectionType === "portfolioHero" ? 0 : 1)
|
|
138
|
+
) : [...item.sections].sort(
|
|
139
|
+
(a, b) => (SECTION_ORDER[a.sectionType] ?? 99) - (SECTION_ORDER[b.sectionType] ?? 99)
|
|
140
|
+
);
|
|
141
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("article", { className: "flex w-full min-w-0 max-w-full flex-col overflow-x-clip", children: [
|
|
142
|
+
sortedSections.map((section, index) => {
|
|
143
|
+
const rendered = renderSection(section, item, index);
|
|
144
|
+
if (!rendered) return null;
|
|
145
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
146
|
+
"div",
|
|
147
|
+
{
|
|
148
|
+
className: "w-full",
|
|
149
|
+
"data-portfolio-section": section.sectionType,
|
|
150
|
+
children: rendered
|
|
151
|
+
},
|
|
152
|
+
`wrapper-${section.sectionType}-${index}`
|
|
153
|
+
);
|
|
154
|
+
}),
|
|
155
|
+
/* @__PURE__ */ jsxRuntime.jsx(PortfolioAnalytics__default.default, { slug: item.slug })
|
|
156
|
+
] });
|
|
157
|
+
}
|
|
158
|
+
function jsonLd(value) {
|
|
159
|
+
return JSON.stringify(value).replace(/</g, "\\u003c");
|
|
160
|
+
}
|
|
161
|
+
function PortfolioSchema({ item, url, publisher }) {
|
|
162
|
+
const headline = item.seo?.metaTitle || item.title;
|
|
163
|
+
const description = item.seo?.metaDescription || item.description;
|
|
164
|
+
const keywords = [
|
|
165
|
+
...item.seo?.keywords ?? [],
|
|
166
|
+
item.category,
|
|
167
|
+
...item.services
|
|
168
|
+
].filter(Boolean);
|
|
169
|
+
const org = publisher ? {
|
|
170
|
+
"@type": "Organization",
|
|
171
|
+
name: publisher.name,
|
|
172
|
+
...publisher.url ? { url: publisher.url } : {},
|
|
173
|
+
...publisher.logo ? { logo: { "@type": "ImageObject", url: publisher.logo } } : {}
|
|
174
|
+
} : void 0;
|
|
175
|
+
const schema = {
|
|
176
|
+
"@context": "https://schema.org",
|
|
177
|
+
"@type": "Article",
|
|
178
|
+
headline,
|
|
179
|
+
...description ? { description } : {},
|
|
180
|
+
...item.hero_image ? { image: [item.hero_image] } : {},
|
|
181
|
+
url,
|
|
182
|
+
mainEntityOfPage: { "@type": "WebPage", "@id": url },
|
|
183
|
+
...item.published_at ? { datePublished: item.published_at } : {},
|
|
184
|
+
...item.metrics_last_refreshed_at || item.published_at ? { dateModified: item.metrics_last_refreshed_at || item.published_at } : {},
|
|
185
|
+
...keywords.length ? { keywords: keywords.join(", ") } : {},
|
|
186
|
+
...org ? { author: org, publisher: org } : {},
|
|
187
|
+
...item.details?.industry ? { about: item.details.industry } : {}
|
|
188
|
+
};
|
|
189
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
190
|
+
"script",
|
|
191
|
+
{
|
|
192
|
+
type: "application/ld+json",
|
|
193
|
+
dangerouslySetInnerHTML: { __html: jsonLd(schema) }
|
|
194
|
+
}
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
function PortfolioCard({ item, className = "", basePath = "/work" }) {
|
|
198
|
+
const thumbnailSrc = item.hero_screenshots?.desktop || item.hero_image || (item.project_id ? `/portfolio-previews/${item.slug}.png` : void 0);
|
|
199
|
+
const kpis = Array.isArray(item.kpis) ? item.kpis : [];
|
|
200
|
+
const services = Array.isArray(item.services) ? item.services : [];
|
|
201
|
+
const kpiPreview = kpis.slice(0, 3);
|
|
202
|
+
const servicePreview = services.slice(0, 3);
|
|
203
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Link__default.default, { href: `${basePath}/${item.slug}`, className: `block group ${className}`, children: /* @__PURE__ */ jsxRuntime.jsx(GlassCard__default.default, { padding: "sm", hover: true, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
204
|
+
thumbnailSrc && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
205
|
+
"div",
|
|
206
|
+
{
|
|
207
|
+
className: "relative w-full overflow-hidden rounded-xl",
|
|
208
|
+
style: { aspectRatio: "16/10" },
|
|
209
|
+
children: [
|
|
210
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
211
|
+
Image__default.default,
|
|
212
|
+
{
|
|
213
|
+
src: thumbnailSrc,
|
|
214
|
+
alt: item.hero_image_alt || item.title,
|
|
215
|
+
fill: true,
|
|
216
|
+
sizes: "(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw",
|
|
217
|
+
className: "object-cover object-top transition-transform duration-500 group-hover:scale-105"
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
221
|
+
"span",
|
|
222
|
+
{
|
|
223
|
+
className: "absolute top-3 left-3 px-3 py-1 rounded-full text-[11px] uppercase tracking-wider font-semibold",
|
|
224
|
+
style: {
|
|
225
|
+
background: "color-mix(in srgb, var(--sk-primary, #6366f1) 80%, transparent)",
|
|
226
|
+
color: "#ffffff",
|
|
227
|
+
backdropFilter: "blur(8px)"
|
|
228
|
+
},
|
|
229
|
+
children: item.category?.replace(/[-_]/g, " ").replace(/\b\w/g, (c) => c.toUpperCase())
|
|
230
|
+
}
|
|
231
|
+
)
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 px-2 pb-2", children: [
|
|
236
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
237
|
+
"h3",
|
|
238
|
+
{
|
|
239
|
+
className: "text-lg font-semibold line-clamp-1",
|
|
240
|
+
style: { color: "var(--sk-text-primary, #ffffff)" },
|
|
241
|
+
children: item.title
|
|
242
|
+
}
|
|
243
|
+
),
|
|
244
|
+
item.subtitle && /* @__PURE__ */ jsxRuntime.jsx(
|
|
245
|
+
"p",
|
|
246
|
+
{
|
|
247
|
+
className: "text-sm line-clamp-2",
|
|
248
|
+
style: { color: "var(--sk-text-tertiary, #71717a)" },
|
|
249
|
+
children: item.subtitle
|
|
250
|
+
}
|
|
251
|
+
),
|
|
252
|
+
kpiPreview.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-4 mt-1", children: kpiPreview.map((kpi, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col", children: [
|
|
253
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
254
|
+
"span",
|
|
255
|
+
{
|
|
256
|
+
className: "text-base font-bold",
|
|
257
|
+
style: { color: "var(--sk-primary, #6366f1)" },
|
|
258
|
+
children: [
|
|
259
|
+
kpi.prefix || "",
|
|
260
|
+
kpi.value.toLocaleString(),
|
|
261
|
+
kpi.suffix
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
),
|
|
265
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
266
|
+
"span",
|
|
267
|
+
{
|
|
268
|
+
className: "text-[10px] uppercase tracking-wider font-medium",
|
|
269
|
+
style: { color: "var(--sk-text-tertiary, #71717a)" },
|
|
270
|
+
children: kpi.label
|
|
271
|
+
}
|
|
272
|
+
)
|
|
273
|
+
] }, i)) }),
|
|
274
|
+
servicePreview.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap gap-1.5 mt-2", children: [
|
|
275
|
+
servicePreview.map((service) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
276
|
+
"span",
|
|
277
|
+
{
|
|
278
|
+
className: "px-2.5 py-0.5 rounded-full text-[11px] font-medium",
|
|
279
|
+
style: {
|
|
280
|
+
background: "var(--sk-surface, rgba(255,255,255,0.05))",
|
|
281
|
+
color: "var(--sk-text-secondary, #a1a1aa)",
|
|
282
|
+
border: "1px solid var(--sk-border, rgba(255,255,255,0.1))"
|
|
283
|
+
},
|
|
284
|
+
children: service
|
|
285
|
+
},
|
|
286
|
+
service
|
|
287
|
+
)),
|
|
288
|
+
services.length > 3 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
289
|
+
"span",
|
|
290
|
+
{
|
|
291
|
+
className: "px-2.5 py-0.5 rounded-full text-[11px] font-medium",
|
|
292
|
+
style: {
|
|
293
|
+
background: "var(--sk-surface, rgba(255,255,255,0.05))",
|
|
294
|
+
color: "var(--sk-text-tertiary, #71717a)"
|
|
295
|
+
},
|
|
296
|
+
children: [
|
|
297
|
+
"+",
|
|
298
|
+
item.services.length - 3
|
|
299
|
+
]
|
|
300
|
+
}
|
|
301
|
+
)
|
|
302
|
+
] })
|
|
303
|
+
] })
|
|
304
|
+
] }) }) });
|
|
305
|
+
}
|
|
306
|
+
function PortfolioGrid({ items, className = "", basePath = "/work" }) {
|
|
307
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ScrollReveal__default.default, { stagger: 0.1, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
308
|
+
"div",
|
|
309
|
+
{
|
|
310
|
+
className: `grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 ${className}`,
|
|
311
|
+
style: {
|
|
312
|
+
gap: "var(--sk-grid-gap, 24px)"
|
|
313
|
+
},
|
|
314
|
+
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsx(PortfolioCard, { item, basePath }, item.id))
|
|
315
|
+
}
|
|
316
|
+
) });
|
|
317
|
+
}
|
|
318
|
+
function CategoryLink({
|
|
319
|
+
href,
|
|
320
|
+
label,
|
|
321
|
+
active
|
|
322
|
+
}) {
|
|
323
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
324
|
+
"a",
|
|
325
|
+
{
|
|
326
|
+
href,
|
|
327
|
+
"aria-current": active ? "page" : void 0,
|
|
328
|
+
className: "px-4 py-1.5 rounded-full text-sm font-medium transition-colors",
|
|
329
|
+
style: {
|
|
330
|
+
background: active ? "color-mix(in srgb, var(--sk-primary, #6366f1) 15%, transparent)" : "var(--sk-surface, rgba(255,255,255,0.05))",
|
|
331
|
+
color: active ? "var(--sk-primary, #6366f1)" : "var(--sk-text-secondary, #a1a1aa)",
|
|
332
|
+
border: `1px solid ${active ? "color-mix(in srgb, var(--sk-primary, #6366f1) 25%, transparent)" : "var(--sk-border, rgba(255,255,255,0.1))"}`
|
|
333
|
+
},
|
|
334
|
+
children: label
|
|
335
|
+
}
|
|
336
|
+
);
|
|
337
|
+
}
|
|
338
|
+
function PageLink({ href, label, disabled }) {
|
|
339
|
+
if (disabled) {
|
|
340
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
341
|
+
"span",
|
|
342
|
+
{
|
|
343
|
+
"aria-disabled": "true",
|
|
344
|
+
className: "px-4 py-2 rounded-xl text-sm font-medium opacity-40",
|
|
345
|
+
style: {
|
|
346
|
+
background: "var(--sk-surface, rgba(255,255,255,0.05))",
|
|
347
|
+
color: "var(--sk-text-tertiary, #71717a)",
|
|
348
|
+
border: "1px solid var(--sk-border, rgba(255,255,255,0.1))"
|
|
349
|
+
},
|
|
350
|
+
children: label
|
|
351
|
+
}
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
355
|
+
"a",
|
|
356
|
+
{
|
|
357
|
+
href,
|
|
358
|
+
className: "px-4 py-2 rounded-xl text-sm font-medium transition-colors",
|
|
359
|
+
style: {
|
|
360
|
+
background: "var(--sk-surface, rgba(255,255,255,0.05))",
|
|
361
|
+
color: "var(--sk-text-secondary, #a1a1aa)",
|
|
362
|
+
border: "1px solid var(--sk-border, rgba(255,255,255,0.1))"
|
|
363
|
+
},
|
|
364
|
+
children: label
|
|
365
|
+
}
|
|
366
|
+
);
|
|
367
|
+
}
|
|
368
|
+
async function PortfolioIndex({
|
|
369
|
+
basePath = "/work",
|
|
370
|
+
category = null,
|
|
371
|
+
page = 1,
|
|
372
|
+
pageSize = 12,
|
|
373
|
+
heading,
|
|
374
|
+
emptyState,
|
|
375
|
+
showCategories = true,
|
|
376
|
+
className = ""
|
|
377
|
+
}) {
|
|
378
|
+
const currentPage = Math.max(1, Math.floor(page));
|
|
379
|
+
const categories = await chunk7ZHRMWJU_cjs.getPortfolioCategories();
|
|
380
|
+
const activeCategory = category ? categories.find((c) => chunk7ZHRMWJU_cjs.slugifyCategory(c) === category) ?? null : null;
|
|
381
|
+
const { items, total } = await chunk7ZHRMWJU_cjs.getPortfolioItems({
|
|
382
|
+
category: activeCategory ?? void 0,
|
|
383
|
+
limit: pageSize,
|
|
384
|
+
offset: (currentPage - 1) * pageSize
|
|
385
|
+
});
|
|
386
|
+
const totalPages = Math.max(1, Math.ceil(total / pageSize));
|
|
387
|
+
const pageHref = (p) => {
|
|
388
|
+
const base = activeCategory ? `${basePath}/category/${chunk7ZHRMWJU_cjs.slugifyCategory(activeCategory)}` : basePath;
|
|
389
|
+
return p <= 1 ? base : `${base}?page=${p}`;
|
|
390
|
+
};
|
|
391
|
+
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: `w-full ${className}`, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-7xl mx-auto px-6", children: [
|
|
392
|
+
heading,
|
|
393
|
+
showCategories && categories.length > 1 && /* @__PURE__ */ jsxRuntime.jsxs("nav", { "aria-label": "Portfolio categories", className: "flex flex-wrap gap-2 mb-10", children: [
|
|
394
|
+
/* @__PURE__ */ jsxRuntime.jsx(CategoryLink, { href: basePath, label: "All", active: !activeCategory }),
|
|
395
|
+
categories.map((c) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
396
|
+
CategoryLink,
|
|
397
|
+
{
|
|
398
|
+
href: `${basePath}/category/${chunk7ZHRMWJU_cjs.slugifyCategory(c)}`,
|
|
399
|
+
label: c,
|
|
400
|
+
active: activeCategory === c
|
|
401
|
+
},
|
|
402
|
+
c
|
|
403
|
+
))
|
|
404
|
+
] }),
|
|
405
|
+
items.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(PortfolioGrid, { items, basePath }) : emptyState ?? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
406
|
+
"div",
|
|
407
|
+
{
|
|
408
|
+
className: "flex flex-col items-center gap-3 py-24 rounded-2xl text-center",
|
|
409
|
+
style: {
|
|
410
|
+
background: "var(--sk-surface, rgba(255,255,255,0.03))",
|
|
411
|
+
border: "1px dashed var(--sk-border, rgba(255,255,255,0.1))"
|
|
412
|
+
},
|
|
413
|
+
children: [
|
|
414
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
415
|
+
"span",
|
|
416
|
+
{
|
|
417
|
+
className: "text-lg font-semibold",
|
|
418
|
+
style: { color: "var(--sk-text-primary, #ffffff)" },
|
|
419
|
+
children: "Case studies coming soon"
|
|
420
|
+
}
|
|
421
|
+
),
|
|
422
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", style: { color: "var(--sk-text-tertiary, #71717a)" }, children: activeCategory ? `Nothing published in ${activeCategory} yet.` : "We're writing up our latest work right now." })
|
|
423
|
+
]
|
|
424
|
+
}
|
|
425
|
+
),
|
|
426
|
+
totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
427
|
+
"nav",
|
|
428
|
+
{
|
|
429
|
+
"aria-label": "Portfolio pages",
|
|
430
|
+
className: "flex items-center justify-center gap-3 mt-12",
|
|
431
|
+
children: [
|
|
432
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
433
|
+
PageLink,
|
|
434
|
+
{
|
|
435
|
+
href: pageHref(currentPage - 1),
|
|
436
|
+
label: "\u2190 Previous",
|
|
437
|
+
disabled: currentPage <= 1
|
|
438
|
+
}
|
|
439
|
+
),
|
|
440
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-sm", style: { color: "var(--sk-text-tertiary, #71717a)" }, children: [
|
|
441
|
+
"Page ",
|
|
442
|
+
currentPage,
|
|
443
|
+
" of ",
|
|
444
|
+
totalPages
|
|
445
|
+
] }),
|
|
446
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
447
|
+
PageLink,
|
|
448
|
+
{
|
|
449
|
+
href: pageHref(currentPage + 1),
|
|
450
|
+
label: "Next \u2192",
|
|
451
|
+
disabled: currentPage >= totalPages
|
|
452
|
+
}
|
|
453
|
+
)
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
)
|
|
457
|
+
] }) });
|
|
458
|
+
}
|
|
459
|
+
var PULSE_CSS = `
|
|
460
|
+
.sk-skeleton{animation:sk-skeleton-pulse 1.6s ease-in-out infinite;background:var(--sk-surface,rgba(255,255,255,0.06));border:1px solid var(--sk-border,rgba(255,255,255,0.08));border-radius:16px}
|
|
461
|
+
@keyframes sk-skeleton-pulse{0%,100%{opacity:.55}50%{opacity:1}}
|
|
462
|
+
@media (prefers-reduced-motion:reduce){.sk-skeleton{animation:none}}
|
|
463
|
+
`;
|
|
464
|
+
function SkeletonStyles() {
|
|
465
|
+
return /* @__PURE__ */ jsxRuntime.jsx("style", { href: "sk-skeletons", precedence: "default", children: PULSE_CSS });
|
|
466
|
+
}
|
|
467
|
+
function PortfolioIndexSkeleton({ cards = 6 }) {
|
|
468
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full py-16", children: [
|
|
469
|
+
/* @__PURE__ */ jsxRuntime.jsx(SkeletonStyles, {}),
|
|
470
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "max-w-7xl mx-auto px-6", children: [
|
|
471
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-9 w-56 mb-4" }),
|
|
472
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-5 w-80 mb-10" }),
|
|
473
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6", children: Array.from({ length: cards }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-3", children: [
|
|
474
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton w-full", style: { aspectRatio: "16/10" } }),
|
|
475
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-5 w-3/4" }),
|
|
476
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-4 w-1/2" })
|
|
477
|
+
] }, i)) })
|
|
478
|
+
] })
|
|
479
|
+
] });
|
|
480
|
+
}
|
|
481
|
+
function PortfolioPageSkeleton() {
|
|
482
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("article", { className: "w-full", children: [
|
|
483
|
+
/* @__PURE__ */ jsxRuntime.jsx(SkeletonStyles, {}),
|
|
484
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-7xl mx-auto px-6 py-24", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-12 items-start", children: [
|
|
485
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-5", children: [
|
|
486
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-7 w-32", style: { borderRadius: "9999px" } }),
|
|
487
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-12 w-full" }),
|
|
488
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-12 w-4/5" }),
|
|
489
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-5 w-full" }),
|
|
490
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton h-5 w-2/3" })
|
|
491
|
+
] }),
|
|
492
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "sk-skeleton w-full", style: { aspectRatio: "11/5" } })
|
|
493
|
+
] }) })
|
|
494
|
+
] });
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
// src/types.ts
|
|
498
|
+
var PORTFOLIO_SECTION_TYPES = [
|
|
499
|
+
"portfolioHero",
|
|
500
|
+
"portfolioChallenges",
|
|
501
|
+
"portfolioStrategy",
|
|
502
|
+
"portfolioResults",
|
|
503
|
+
"portfolioTechStack",
|
|
504
|
+
"portfolioServices",
|
|
505
|
+
"portfolioTestimonial",
|
|
506
|
+
"portfolioGallery",
|
|
507
|
+
"portfolioVideo",
|
|
508
|
+
"portfolioTeam",
|
|
509
|
+
"portfolioFeatureSpotlight",
|
|
510
|
+
"portfolioBeforeAfter",
|
|
511
|
+
"portfolioMetricsTimeline",
|
|
512
|
+
"portfolioConversionFunnel",
|
|
513
|
+
"portfolioPerformance",
|
|
514
|
+
"portfolioSpeedComparison",
|
|
515
|
+
"portfolioSiteArchitecture",
|
|
516
|
+
"portfolioDesignSystem",
|
|
517
|
+
"portfolioDetails",
|
|
518
|
+
"portfolioSeo",
|
|
519
|
+
"portfolioCTA"
|
|
520
|
+
];
|
|
521
|
+
|
|
522
|
+
exports.PORTFOLIO_SECTION_TYPES = PORTFOLIO_SECTION_TYPES;
|
|
523
|
+
exports.PortfolioIndex = PortfolioIndex;
|
|
524
|
+
exports.PortfolioIndexSkeleton = PortfolioIndexSkeleton;
|
|
525
|
+
exports.PortfolioPage = PortfolioPage;
|
|
526
|
+
exports.PortfolioPageSkeleton = PortfolioPageSkeleton;
|
|
527
|
+
exports.PortfolioSchema = PortfolioSchema;
|
|
528
|
+
Object.keys(client).forEach(function (k) {
|
|
529
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
530
|
+
enumerable: true,
|
|
531
|
+
get: function () { return client[k]; }
|
|
532
|
+
});
|
|
533
|
+
});
|
|
534
|
+
//# sourceMappingURL=chunk-L7E3UHQC.cjs.map
|
|
535
|
+
//# sourceMappingURL=chunk-L7E3UHQC.cjs.map
|