Ui for admin. Logout successfull. Admin not reachable from homepage. Neither is logoutpage. Update for Architecture file.

This commit is contained in:
Domonkos
2026-01-28 16:52:47 +01:00
parent 086e5a867d
commit a094a35a8b
9 changed files with 1384 additions and 156 deletions

View File

@@ -0,0 +1,11 @@
"use client";
export default function LogoutButton() {
const backend = process.env.NEXT_PUBLIC_BACKEND_URL ?? "http://localhost:8080";
return (
<form action={`${backend}/logout`} method="post">
<button type="submit">Logout</button>
</form>
);
}