'use client'; import React from 'react'; import { Button, Link } from '@theme/components'; import { useLocalization } from '@akinon/next/hooks'; /** * The code-owned 500 markup, shared by the real error boundary's fallback and * the /500 preview page. Mirrors PzErrorPage's server-error branch, minus the * `reset` dependency an error boundary alone can provide. */ export default function ServerErrorContent() { const { t } = useLocalization(); const reloadPage = () => { if (typeof window !== 'undefined') { window.location.reload(); } }; return (
500

{t('common.page_500.title')}

{t('common.page_500.description')}

{t('common.page_500.link_text')}
); }