feat: 관리자 페이지 모바일 반응형 사이드바 토글 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-30 22:11:00 +09:00
parent 22c9a2f2de
commit fc96b665f5
3 changed files with 84 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
import type { Metadata } from 'next';
import AdminSidebar from './components/AdminSidebar';
import AdminShell from './components/AdminShell';
export const metadata: Metadata = {
title: '관리자 패널 — 쟁승메이드',
@@ -7,12 +7,5 @@ export const metadata: Metadata = {
};
export default function AdminLayout({ children }: { children: React.ReactNode }) {
return (
<div className="flex h-screen bg-slate-950 overflow-hidden">
<AdminSidebar />
<main className="flex-1 overflow-y-auto">
{children}
</main>
</div>
);
return <AdminShell>{children}</AdminShell>;
}