21 lines
566 B
TypeScript
21 lines
566 B
TypeScript
"use client";
|
|
|
|
import { useEffect } from "react";
|
|
import Link from "next/link";
|
|
|
|
export default function LogoutPage() {
|
|
useEffect(() => {
|
|
document.cookie = "portal-role=; path=/; max-age=0";
|
|
}, []);
|
|
|
|
return (
|
|
<div className="container mx-auto px-4 py-12 max-w-md">
|
|
<h1 className="text-3xl font-bold text-neutral-900">Signed out</h1>
|
|
<p className="mt-4 text-neutral-600">You have been signed out.</p>
|
|
<Link href="/" className="mt-6 inline-block text-primary-600 hover:underline">
|
|
Return to home
|
|
</Link>
|
|
</div>
|
|
);
|
|
}
|