Initial commit: ANOUMA website with Payload CMS, WebRTC meetings, and booking system

- Next.js 16 App Router site with the ANOUMA design system
- Payload CMS (PostgreSQL) for offers, events, posts and page content
- WebRTC video-call system with custom signaling server
- SMTP email reminders and booking-request notifications
- Customer accounts, calendar-based availability, and booking workflow
This commit is contained in:
maro
2026-08-25 16:40:51 +02:00
commit 45261a0461
138 changed files with 23263 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
"use client";
import { useRouter } from "next/navigation";
export function LogoutButton({ className }: { className?: string }) {
const router = useRouter();
async function handleLogout() {
await fetch("/api/customers/logout", { method: "POST", credentials: "include" });
router.push("/");
router.refresh();
}
return (
<button type="button" onClick={handleLogout} className={className}>
Abmelden
</button>
);
}