From 09373eb4a3f792d96d97d81f4fb86539d76e5702 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 30 Jun 2025 19:58:36 +0200 Subject: feat: implement project management features with storage integration, including project creation, deletion, and renaming dialogs --- apps/web/src/components/delete-project-dialog.tsx | 53 +++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 apps/web/src/components/delete-project-dialog.tsx (limited to 'apps/web/src/components/delete-project-dialog.tsx') diff --git a/apps/web/src/components/delete-project-dialog.tsx b/apps/web/src/components/delete-project-dialog.tsx new file mode 100644 index 00000000..db709647 --- /dev/null +++ b/apps/web/src/components/delete-project-dialog.tsx @@ -0,0 +1,53 @@ +import { Button } from "@/components/ui/button"; +import { + Dialog, + DialogContent, + DialogDescription, + DialogFooter, + DialogHeader, + DialogTitle, +} from "@/components/ui/dialog"; + +export function DeleteProjectDialog({ + isOpen, + onOpenChange, + onConfirm, +}: { + isOpen: boolean; + onOpenChange: (open: boolean) => void; + onConfirm: () => void; +}) { + return ( + + { + e.preventDefault(); + e.stopPropagation(); + }} + > + + Delete Project + + Are you sure you want to delete this project? This action cannot be + undone. + + + + + + + + + ); +} -- cgit v1.3.1