'use client'
import { lazy, Suspense } from 'react'
import { ProductGridSkeleton } from '@/components/ui/LazyLoader'
// Lazy load heavy components - Client side only
const ProductGrid = lazy(() => import('@/components/shop/ProductGrid'))
const OurValues = lazy(() => import('@/components/sections/OurValues'))
const AboutSection = lazy(() => import('@/components/sections/AboutSection'))
const HeroSection = lazy(() => import('@/components/sections/HeroSection'))
const CertificationsSection = lazy(() => import('@/components/sections/CertificationsSection'))
const KashminaSection = lazy(() => import('@/components/sections/KashminaSection'))
const ManufacturingSection = lazy(() => import('@/components/sections/ManufacturingSection'))
const StatsSection = lazy(() => import('@/components/sections/StatsSection'))
const SustainabilitySection = lazy(() => import('@/components/sections/SustainabilitySection'))
const NewsSection = lazy(() => import('@/components/sections/NewsSection'))
// Lazy Product Grid with skeleton
export function LazyProductGrid(props: any) {
return (
}>
)
}
// Lazy Our Values with skeleton
export function LazyOurValues() {
const fallback = (
{Array.from({ length: 4 }).map((_, i) => (
))}
)
return (
)
}
// Lazy About Section with skeleton
export function LazyAboutSection() {
const fallback = (
)
return (
)
}
// Lazy Hero Section with skeleton
export function LazyHeroSection() {
const fallback = (
)
return (
)
}
// Lazy Certifications Section with skeleton
export function LazyCertificationsSection() {
const fallback = (
{Array.from({ length: 7 }).map((_, i) => (
))}
)
return (
)
}
// Lazy Kashmina Section with skeleton
export function LazyKashminaSection() {
const fallback = (
{Array.from({ length: 5 }).map((_, i) => (
))}
{Array.from({ length: 4 }).map((_, i) => (
))}
)
return (
)
}
// Lazy Manufacturing Section with skeleton
export function LazyManufacturingSection() {
const fallback = (
{Array.from({ length: 4 }).map((_, i) => (
))}
)
return (
)
}
// Lazy Stats Section with skeleton
export function LazyStatsSection() {
const fallback = (
{Array.from({ length: 6 }).map((_, i) => (
))}
)
return (
)
}
// Lazy Sustainability Section with skeleton
export function LazySustainabilitySection() {
const fallback = (
{Array.from({ length: 4 }).map((_, i) => (
))}
)
return (
)
}
// Lazy News Section with skeleton
export function LazyNewsSection() {
const fallback = (
{Array.from({ length: 6 }).map((_, i) => (
))}
)
return (
)
}