import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { CREW_LOOKING_FOR_LABELS } from '@/lib/types'; import { CREW_LOOKING_FOR_KEYS } from '@/lib/labelKeys'; import { useTranslation } from '@/contexts/language'; import { Megaphone } from 'lucide-react'; /** * Display a crew's open calls ("looking for a filmer / editor / new members"). * This is the crew ↔ Lab hiring pipeline: crews broadcast what they need, and * matching Lab providers can reach out. Slugs map to Lab scenes. */ export function CrewLookingForCard({ lookingFor }: { lookingFor: string[] }) { const { t } = useTranslation(); if (!lookingFor || lookingFor.length === 0) return null; return ( {t('socialUi.lookingFor.title')}

{t('socialUi.lookingFor.subtitle')}

{lookingFor.map((slug) => { const meta = CREW_LOOKING_FOR_LABELS[slug]; return ( {meta?.emoji ?? '🛹'} {CREW_LOOKING_FOR_KEYS[slug] ? t(CREW_LOOKING_FOR_KEYS[slug]) : (meta?.label ?? slug)} ); })}
); }