Files
xrlms/src/app/menu/layout.tsx

16 lines
412 B
TypeScript
Raw Normal View History

2025-11-18 06:19:26 +09:00
import type { ReactNode } from "react";
import MenuSidebar from "./MenuSidebar";
export default function MenuLayout({ children }: { children: ReactNode }) {
return (
<div className="mx-auto flex w-full max-w-[1440px]">
<aside className="w-[320px] border-r border-[#dee1e6] px-4 py-6">
<MenuSidebar />
</aside>
<section className="flex-1">{children}</section>
</div>
);
}