// Story 7.3: Featured creators section component 'use client'; import Link from 'next/link'; import { ArrowRight } from 'lucide-react'; import { FeaturedCreatorCard } from './featured-creator-card'; import type { FeaturedCreator } from '../types/discovery.types'; interface FeaturedCreatorsSectionProps { creators: FeaturedCreator[]; isLoading?: boolean; } export function FeaturedCreatorsSection({ creators, isLoading = false }: FeaturedCreatorsSectionProps) { if (isLoading) { return ( Featured Creators {[...Array(10)].map((_, i) => ( ))} ); } if (creators.length === 0) { return ( Featured Creators No featured creators available at this time. Check back soon for new creators! ); } return ( {/* Section header */} Featured Creators View All Creators {/* Creator grid - responsive layout with mobile carousel */} {creators.map((creator, index) => ( ))} {/* Mobile carousel hint */} Swipe to see more creators ); }
No featured creators available at this time.
Check back soon for new creators!