import { useState } from 'react'
import { Check, Minus, ChevronDown } from 'lucide-react'
import { useTranslation } from '../../i18n'
export function VerdictSection({ pros, cons }: { pros: string[]; cons: string[] }) {
const { t } = useTranslation()
const [open, setOpen] = useState(false)
// On desktop always show, on mobile toggle
return (
{/* Header — clickable on mobile */}
{/* Collapsed summary on mobile */}
{!open && (
{pros.length > 0 && (
)}
{cons.length > 0 && (
)}
)}
{/* Content — always visible on desktop, toggled on mobile */}
{pros.length > 0 && (
{t('journey.verdict.lovedIt')}
{pros.length}
{pros.map((p, i) => (
{p}
))}
)}
{cons.length > 0 && (
{t('journey.verdict.couldBeBetter')}
{cons.length}
{cons.map((c, i) => (
{c}
))}
)}
)
}