import { AdminPermissionGate } from "@/components/admin/admin-permission-gate";
import { RulesOddsConfigScreen } from "@/modules/rules/rules-odds-config-screen";
import { buildPageMetadata } from "@/lib/page-metadata";
import { PRD_RULES_ODDS_ACCESS_ANY } from "@/lib/admin-prd";
import type { Metadata } from "next";

export const metadata: Metadata = buildPageMetadata("config", "nav.rulesOddsTitle");

export default function AdminRulesOddsPage() {
  return (
    <AdminPermissionGate requiredAny={PRD_RULES_ODDS_ACCESS_ANY}>
      <RulesOddsConfigScreen />
    </AdminPermissionGate>
  );
}
