"use client";

import { WarningsPanel } from "@/components/warnings/warnings-panel";
import { useI18n } from "@/lib/i18n";

export function WarningsPageContent() {
  const { t } = useI18n();
  return (
    <div className="space-y-5">
      <div>
        <p className="section-kicker">{t("warnings.section")}</p>
        <h1 className="mt-2 text-3xl font-semibold tracking-tight">{t("warnings.title")}</h1>
        <p className="mt-2 max-w-2xl text-sm leading-6 text-muted">{t("warnings.description")}</p>
      </div>
      <WarningsPanel />
    </div>
  );
}
