Restore frontend.

Will probably replace existing website with this one.
This commit is contained in:
Sam
2024-12-31 15:33:46 +10:00
parent 08d9dd1125
commit 203b069521
81 changed files with 15544 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { ClipboardCheck } from "lucide-react";
import { toast } from "sonner";
export default function handleCopy(type: string, value: string) {
navigator.clipboard.writeText(value);
toast.success(`copied ${type} to clipboard`, {
icon: <ClipboardCheck className="h-4 w-4" />,
});
}