import { Button } from './ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from './ui/card'; import StatBar from './StatBar'; import { cn } from '@/lib/utils'; import type { Preset } from '@shared/types'; interface Props { preset: Preset; loading?: boolean; onPick: (nationId: string) => void; onBack: () => void; } /** Pick which nation to lead, with a short world-context blurb above. */ export default function NationSelect({ preset, loading, onPick, onBack }: Props) { return (

{preset.title}

{preset.worldBackground}

Choose your nation

{preset.nations.map((n) => ( {n.name} {n.type} · {n.territory.length} region{n.territory.length === 1 ? '' : 's'} ))}
); }