chore: format project automatically before starting dev server

This commit is contained in:
2026-09-16 14:14:04 +03:30
parent 7c55b3916c
commit 812029fe84
66 changed files with 2088 additions and 1125 deletions
+11 -3
View File
@@ -16,7 +16,15 @@ export default function LoginPage() {
if (auth.isAuthenticated) router.replace('/dashboard');
else if (auth.ready) auth.openLogin(() => router.replace('/dashboard'));
}, [auth.isAuthenticated, auth.ready, auth.openLogin, router]);
return <main className="max-w-2xl mx-auto min-h-[70vh] px-5 pt-32 pb-20 text-center">
<div className="rounded-3xl border border-subtle bg-elevated p-10"><h1 className="text-3xl font-extrabold text-primary">{copy.login}</h1><p className="text-secondary mt-3 mb-7">{copy.protectedDescription}</p><Button type="primary" size="large" onClick={() => auth.openLogin(() => router.replace('/dashboard'))}>{copy.openLogin}</Button></div>
</main>;
return (
<main className="max-w-2xl mx-auto min-h-[70vh] px-5 pt-32 pb-20 text-center">
<div className="rounded-3xl border border-subtle bg-elevated p-10">
<h1 className="text-3xl font-extrabold text-primary">{copy.login}</h1>
<p className="text-secondary mt-3 mb-7">{copy.protectedDescription}</p>
<Button type="primary" size="large" onClick={() => auth.openLogin(() => router.replace('/dashboard'))}>
{copy.openLogin}
</Button>
</div>
</main>
);
}