import type { ReactNode } from "react"; import { NavLink } from "react-router"; import { PageBody, PageHero } from "../ui"; const ADMIN_SECTIONS = [ { path: "matches", label: "내전 관리" }, { path: "tournament-codes", label: "토너먼트 코드" }, { path: "legacy-import", label: "과거 기록 가져오기" }, { path: "legacy-matches", label: "과거 기록 정리" }, ] as const; /** * 운영 화면 공통 틀. 네 개의 운영 도구를 한 줄 탭으로 오갈 수 있게 한다. */ export function AdminPage({ communityId, title, description, actions, children, }: { communityId: string; title: string; description?: string; actions?: ReactNode; children: ReactNode; }) { return ( <> {children} ); } /** 운영 화면의 권한·설정 안내. */ export function AdminNotice({ title, children, }: { title: string; children?: ReactNode; }) { return (

{title}

{children && (
{children}
)}
); }