diff --git a/client/components/SupabaseStatus.tsx b/client/components/SupabaseStatus.tsx new file mode 100644 index 00000000..87a3add7 --- /dev/null +++ b/client/components/SupabaseStatus.tsx @@ -0,0 +1,45 @@ +import React from 'react'; +import { isSupabaseConfigured } from '@/lib/supabase'; +import { Alert, AlertDescription } from '@/components/ui/alert'; +import { Button } from '@/components/ui/button'; +import { Database, ExternalLink, Info } from 'lucide-react'; + +export default function SupabaseStatus() { + if (isSupabaseConfigured) { + return null; // Don't show anything if Supabase is properly configured + } + + return ( +
+ + + +
+ Demo Mode: Supabase is not configured. + Set up your database to enable full functionality. +
+
+ + +
+
+
+
+ ); +}