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:
parent
9f497ce99d
commit
66775a001e
10 changed files with 54 additions and 35 deletions
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue