'use client'; import Link from 'next/link'; import { Badge } from '@/components/ui/badge'; import type { ResidentialInterestRow } from './residential-interest-columns'; import { RESIDENTIAL_STAGE_LABELS } from './residential-interest-filters'; /** * Mobile / grid card for the residential interests list. Mirrors the * footprint of on the main list - same touch target * conventions (entire card is clickable, generous padding, truncated * meta below the title). */ export function ResidentialInterestCard({ interest, portSlug, }: { interest: ResidentialInterestRow; portSlug: string; }) { return (

{interest.clientName ?? '-'}

{RESIDENTIAL_STAGE_LABELS[interest.pipelineStage] ?? interest.pipelineStage} {interest.source ? ( {interest.source} ) : null}
{new Date(interest.updatedAt).toLocaleDateString()}
{interest.preferences ? (

{interest.preferences}

) : null} {interest.notes ? (

{interest.notes}

) : null} ); }