import type { Metadata } from 'next' import Link from 'next/link' import { de } from '@/lib/i18n/de' export const metadata: Metadata = { title: de.auth.error.title } export default async function SignInErrorPage({ searchParams, }: { searchParams: Promise<{ grund?: string }> }) { const { grund } = await searchParams const reason = (grund ? de.auth.reasons[grund] : undefined) ?? de.auth.error return (

{reason.title}

{reason.body}

{de.auth.backToSignIn}

) }