File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
import { logout } from '@/app/(protected)/_actions';
export function AdminHeader() {
return (
<header className="flex items-center justify-between border-b border-foreground/15 bg-background px-6 py-4">
<span className="text-base font-semibold text-foreground">
에듀페이 관리자
</span>
<form action={logout}>
<button
type="submit"
className="border border-foreground/25 px-3 py-1.5 text-sm text-foreground"
>
로그아웃
</button>
</form>
</header>
);
}