diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-16 13:38:26 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-16 13:38:26 +0200 |
| commit | 49d467cd83522983da0a59892838d65f605fa78f (patch) | |
| tree | e405fca919948bd18966fbee108c649ebdfcc40d /apps/web/src/components/ui/drag-overlay.tsx | |
| parent | 13db27c173a844239a3847369ee55216f7439c9e (diff) | |
| parent | 96f7516c94cc922519e5369ef132b62d9a52e85c (diff) | |
| download | opencut-49d467cd83522983da0a59892838d65f605fa78f.tar.gz | |
Merge branch 'staging' into pr/vishesh711/284
Diffstat (limited to 'apps/web/src/components/ui/drag-overlay.tsx')
| -rw-r--r-- | apps/web/src/components/ui/drag-overlay.tsx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/apps/web/src/components/ui/drag-overlay.tsx b/apps/web/src/components/ui/drag-overlay.tsx deleted file mode 100644 index ba6fe08f..00000000 --- a/apps/web/src/components/ui/drag-overlay.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { Upload } from "lucide-react";
-
-interface DragOverlayProps {
- isVisible: boolean;
- title?: string;
- description?: string;
-}
-
-export function DragOverlay({
- isVisible,
- title = "Drop files here",
- description = "Images, videos, and audio files",
-}: DragOverlayProps) {
- if (!isVisible) return null;
-
- return (
- <div className="absolute inset-0 bg-accent/20 backdrop-blur-lg border-2 border-dashed border-accent flex items-center justify-center z-10 pointer-events-none">
- <div className="text-center">
- <Upload className="h-8 w-8 text-accent mx-auto mb-2" />
- <p className="text-sm font-medium text-accent">{title}</p>
- <p className="text-xs text-muted-foreground">{description}</p>
- </div>
- </div>
- );
-}
|
