code cleanup round 2

This commit is contained in:
lemonknowsall committed 2025-10-15 00:10:24 -07:00
1 parent aaf12120e6
commit 2ac097d8de
9 files changed
+326 -669

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import { Card, CardContent } from '@/components/ui/card';
import { Loader2 } from 'lucide-react';
interface LoadingScreenProps {
isLoading: boolean;
}
export function LoadingScreen({ isLoading }: LoadingScreenProps) {
if (!isLoading) return null;
return (
<div className="fixed inset-0 bg-background/80 backdrop-blur-sm flex items-center justify-center z-[200]">
<Card className="border-0 shadow-lg bg-background">
<CardContent className="flex items-center justify-center p-8">
<Loader2 className="h-8 w-8 animate-spin mr-3" />
</CardContent>
</Card>
</div>
);
}