feat: added button styling and updated login layout

This commit is contained in:
Dominik 2025-04-19 01:24:28 +02:00 committed by SomeCodecat
parent d86c86e137
commit 77ef7038d2
9 changed files with 196 additions and 29 deletions

View file

@ -0,0 +1,15 @@
import { signOut } from '@/auth';
import Button from '../Button';
export function Logout() {
return (
<form
action={async () => {
'use server';
await signOut();
}}
>
<Button type='submit'>Sign Out</Button>
</form>
);
}