From bb461fa9fbefa1895dd0e49eba8f7eebe4906cb4 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sat, 16 Aug 2025 21:44:23 +0200 Subject: refactor: move export button to component --- apps/web/src/components/export-button.tsx | 58 +++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 apps/web/src/components/export-button.tsx (limited to 'apps/web/src/components/export-button.tsx') diff --git a/apps/web/src/components/export-button.tsx b/apps/web/src/components/export-button.tsx new file mode 100644 index 00000000..0e1c8774 --- /dev/null +++ b/apps/web/src/components/export-button.tsx @@ -0,0 +1,58 @@ +"use client"; + +import { useState } from "react"; +import { TransitionUpIcon } from "./icons"; +import { Dialog, DialogContent, DialogHeader, DialogTitle } from "./ui/dialog"; + +export function ExportButton() { + const [isExportDialogOpen, setIsExportDialogOpen] = useState(false); + + const handleExport = () => { + setIsExportDialogOpen(true); + }; + + return ( + <> + + + + ); +} + +function ExportDialog({ + isOpen, + onOpenChange, +}: { + isOpen: boolean; + onOpenChange: (open: boolean) => void; +}) { + return ( + + + + Export Project + +
+

+ Export functionality is not ready yet. We're currently working on a + custom pipeline to make this possible. +

+
+
+
+ ); +} -- cgit v1.3.1