// Scoped 404 for the /admin subtree (e.g. /admin/nope when no page matches).
import type { ReactNode } from 'react'
import { T } from '@voltro/i18n'

export default function AdminNotFound(): ReactNode {
  return (
    <div className="admin">
      <main>
        <h1><T id="notFound.heading" /></h1>
        <p className="muted"><T id="notFound.body" /></p>
        <p style={{ marginTop: '1rem' }}><a href="/admin"><T id="notFound.back" /></a></p>
      </main>
    </div>
  )
}
