/** * Landing Section: Team / About * * Responsive grid of team member cards. */ import { motion } from 'framer-motion' import { Twitter, Github, Linkedin } from 'lucide-react' import { StaggerContainer, staggerChild, GlassCard, SectionHeading, cn } from '../primitives' interface TeamMember { name: string role: string socials?: { twitter?: string github?: string linkedin?: string } } const TEAM_MEMBERS: TeamMember[] = [ { name: 'Alex Rivera', role: 'Founder & CEO', socials: { twitter: '#', linkedin: '#' } }, { name: 'Jordan Lee', role: 'Head of Engineering', socials: { github: '#', linkedin: '#' } }, { name: 'Sam Patel', role: 'Lead Designer', socials: { twitter: '#' } }, { name: 'Morgan Chen', role: 'Product Manager', socials: { linkedin: '#' } }, ] const SOCIAL_ICONS = { twitter: Twitter, github: Github, linkedin: Linkedin } as const export default function TeamSection() { return (
{TEAM_MEMBERS.map(member => (
{member.name.split(' ').map(n => n[0]).join('')}

{member.name}

{member.role}

{member.socials && Object.keys(member.socials).length > 0 && (
{(Object.entries(member.socials) as Array<[keyof typeof SOCIAL_ICONS, string]>).map( ([platform, url]) => { const Icon = SOCIAL_ICONS[platform] if (!url) return null return ( ) }, )}
)}
))}
) }