"use client";

import { MenuManagement } from "@/components/admin/MenuManagement";
import { ScrollToTop } from "@/components/common/ScrollToTop";

export default function MenuPage() {
  return (
    <div className="flex min-h-screen flex-col bg-background">
      <div className="space-y-6 p-6">
        {/* 페이지 헤더 */}
        <div className="space-y-2 border-b pb-4">
          <h1 className="text-3xl font-bold tracking-tight">메뉴 관리</h1>
          <p className="text-sm text-muted-foreground">시스템 메뉴를 관리하고 화면을 할당합니다</p>
        </div>

        {/* 메인 컨텐츠 */}
        <MenuManagement />
      </div>

      {/* Scroll to Top 버튼 (모바일/태블릿 전용) */}
      <ScrollToTop />
    </div>
  );
}
