import { firaMono, firaSans } from "@/app/[lang]/(live)/fonts"

import styles from "./page.module.css"

import { LangParams, LayoutArgs, StatusParams } from "@/types/params"

export default function MiddlewareError({
  params,
}: LayoutArgs<LangParams & StatusParams>) {
  return (
    <div
      className={`${firaMono.variable} ${firaSans.variable} ${styles.layout}`}
    >
      Middleware Error {params.lang}: {params.status}
    </div>
  )
}
