'use client' export interface SocialLink { platform: 'twitter' | 'instagram' | 'facebook' | 'youtube' | 'spotify' | 'soundcloud' | 'website' url: string } export interface SocialLinksProps { links: SocialLink[] size?: 'sm' | 'md' | 'lg' } export function SocialLinks({ links, size = 'md' }: SocialLinksProps) { const sizeClasses = { sm: 'w-8 h-8', md: 'w-10 h-10', lg: 'w-12 h-12' } const iconSize = { sm: 'w-4 h-4', md: 'w-5 h-5', lg: 'w-6 h-6' } const getPlatformIcon = (platform: SocialLink['platform']) => { const className = iconSize[size] switch (platform) { case 'twitter': return ( ) case 'instagram': return ( ) case 'facebook': return ( ) case 'youtube': return ( ) case 'spotify': return ( ) case 'soundcloud': return ( ) case 'website': return ( ) default: return null } } const getPlatformColor = (platform: SocialLink['platform']) => { switch (platform) { case 'twitter': return 'hover:bg-blue-500' case 'instagram': return 'hover:bg-pink-500' case 'facebook': return 'hover:bg-blue-600' case 'youtube': return 'hover:bg-red-500' case 'spotify': return 'hover:bg-green-500' case 'soundcloud': return 'hover:bg-orange-500' default: return 'hover:bg-zinc-700' } } return (