1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-01 04:29:18 +00:00

NORY-36: add error page for unauthorised users

This commit is contained in:
Markus Thielker 2024-12-15 04:28:26 +01:00
parent 9f497ce99d
commit 66775a001e
No known key found for this signature in database
10 changed files with 54 additions and 35 deletions

View file

@ -5,9 +5,9 @@ interface ErrorDisplayProps {
export async function ErrorDisplay({ title, message }: ErrorDisplayProps) {
return (
<div className="space-y-4">
<>
<p className="text-3xl font-bold leading-tight tracking-tight">{title}</p>
<p className="text-lg font-light">{message}</p>
</div>
</>
);
}