import React from 'react'; import { Archive, AlertTriangle, X } from 'lucide-react'; import { Button, Card } from '../common'; import type { Event } from '../../types'; interface BulkArchiveModalProps { isOpen: boolean; onClose: () => void; onConfirm: () => void; selectedEvents: Event[]; isLoading?: boolean; } export const BulkArchiveModal: React.FC = ({ isOpen, onClose, onConfirm, selectedEvents, isLoading = false, }) => { if (!isOpen) return null; return (

Confirm Bulk Archive

You are about to archive {selectedEvents.length} event{selectedEvents.length > 1 ? 's' : ''}. This action will:

  • Create a ZIP archive of all photos for each event
  • Make the galleries inaccessible to guests
  • Remove the events from active listings
  • Free up storage space by compressing photos

Events to be archived:

    {selectedEvents.map((event) => (
  • • {event.event_name} ({event.event_type})
  • ))}
); }; BulkArchiveModal.displayName = 'BulkArchiveModal';