Initial working state: CL3.5 complete (Plesk sync + suspend/unsuspend)

This commit is contained in:
2026-03-05 06:47:43 +00:00
commit a36d55eae5
53 changed files with 9925 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
"use client";
import { useRouter } from "next/navigation";
import { createSupabaseBrowserClient } from "@/lib/supabase/browser";
export function SignOutButton() {
const router = useRouter();
async function onSignOut() {
const supabase = createSupabaseBrowserClient();
await supabase.auth.signOut();
router.push("/login");
router.refresh();
}
return (
<button
type="button"
onClick={onSignOut}
className="rounded-lg border border-slate-300 px-3 py-1.5 text-sm text-slate-700"
>
Sign out
</button>
);
}