"use client"; import { ArrowRight, CheckCircle2 } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; interface RoundNextPanelProps { /** Next colony to do, or null when the round is complete. */ next: { id: string; code: string } | null; /** Colonies inspected in this round (for the closing message). */ doneCount: number; /** Saved without a network: it syncs later. */ savedOffline: boolean; onNext: () => void; onEnd: () => void; } /** After a save in a round: one main step - on to the next colony. */ export function RoundNextPanel({ next, doneCount, savedOffline, onNext, onEnd }: RoundNextPanelProps) { return (

Gespeichert

{savedOffline ? (

Kein Netzwerk – die Durchsicht wird synchronisiert, sobald du wieder Netz hast.

) : null} {next ? ( <> ) : ( <>

Runde abgeschlossen – alle {doneCount} Völker

)}
); }