Migrate from Supabase to Appwrite with core functionality and UI components

This commit is contained in:
hansoo
2025-05-05 08:58:27 +09:00
parent fdfdf15166
commit f83bb384af
79 changed files with 2373 additions and 199 deletions

View File

@@ -0,0 +1,30 @@
import React from 'react';
import { HelpCircle } from "lucide-react";
import { TestResults } from '@/lib/supabase/tests/types';
interface TroubleshootingTipsProps {
testResults: TestResults;
}
const TroubleshootingTips: React.FC<TroubleshootingTipsProps> = ({ testResults }) => {
if (!(!testResults.restApi && testResults.auth)) return null;
return (
<div className="bg-yellow-50 border border-yellow-200 rounded p-2 mt-2">
<div className="flex items-start gap-1">
<HelpCircle className="h-4 w-4 text-yellow-600 mt-0.5 flex-shrink-0" />
<div>
<p className="text-xs text-yellow-800 font-medium"> API/DB </p>
<ul className="list-disc text-xs text-yellow-700 pl-4 mt-1">
<li> CORS </li>
<li>Supabase CORS </li>
<li> </li>
</ul>
</div>
</div>
</div>
);
};
export default TroubleshootingTips;