Track frontend as regular files instead of a submodule

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dev
2026-11-02 15:52:53 +08:00
co-authored by Cursor
parent 328b6917a3
commit 41ca22f59e
100 changed files with 7316 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
import React from 'react';
interface LoaderProps {
message?: string;
}
const Loader: React.FC<LoaderProps> = ({ message = "Loading..." }) => {
return (
<div className="fixed inset-0 bg-slate-900/50 dark:bg-black/70 flex flex-col items-center justify-center z-50">
<div className="w-16 h-16 border-4 border-t-green-500 border-r-green-500 border-b-green-500 border-l-slate-200 dark:border-l-slate-600 rounded-full animate-spin"></div>
<p className="mt-4 text-white text-lg font-semibold">{message}</p>
</div>
);
};
export default Loader;