import React from 'react'; import type { MapNode, MapTheme } from '../../types/mapTypes'; import { Trophy, CheckCircle2, RotateCcw, X, Sparkles } from 'lucide-react'; interface ExpeditionLogModalProps { isOpen: boolean; onClose: () => void; nodes: MapNode[]; theme: MapTheme; onReset: () => void; } export const ExpeditionLogModal: React.FC = ({ isOpen, onClose, nodes, theme, onReset, }) => { if (!isOpen) return null; const isDark = theme.id !== 'parchment'; const totalCount = nodes.length; return (
{/* Close Button */} {/* Header with Trophy */}

Expedition Completed!

All {totalCount} Waypoints and the entire ancient trail are now fully illuminated.

{/* Expedition Statistics Grid */}
{totalCount} Nodes Solved
7 Biomes Crossed
1,620m Peak Citadel
{/* Trail Highlights */}
{nodes.length > 0 && (
Waypoint 1: {nodes[0].name}
)} {nodes.length > 25 && (
Waypoint 25: {nodes[24].name}
)} {nodes.length > 50 && (
Waypoint 50: {nodes[49].name}
)} {nodes.length > 75 && (
Waypoint 75: {nodes[74].name}
)} {nodes.length > 0 && (
Final Milestone: {nodes[nodes.length - 1].name}
)}
{/* Action Buttons */}
); };