diff --git a/components/modals/image-viewer-modal.tsx b/components/modals/image-viewer-modal.tsx new file mode 100644 index 0000000..0d16c44 --- /dev/null +++ b/components/modals/image-viewer-modal.tsx @@ -0,0 +1,60 @@ +import { Dialog, DialogContent } from "@/components/ui/dialog"; +import { X, ChevronLeft, ChevronRight } from "lucide-react"; +import Image from "next/image"; +import { Button } from "@/components/ui/button"; + +interface ImageViewerModalProps { + isOpen: boolean; + onClose: () => void; + imageUrl: string; + onNavigate?: (direction: 'prev' | 'next') => void; +} + +export function ImageViewerModal({ isOpen, onClose, imageUrl, onNavigate }: ImageViewerModalProps) { + return ( + + +
+ + + {onNavigate && ( + <> + + + + )} + +
+ Full size image +
+
+
+
+ ); +} \ No newline at end of file