[as] feat: 내행정지원 페이지

This commit is contained in:
2026-08-11 17:45:28 +09:00
parent e8870d3bcb
commit fe92ba3c27
12 changed files with 700 additions and 19 deletions
+3 -8
View File
@@ -5,16 +5,11 @@ import { useMenuStore } from "../lib/use-menu-store";
function PageLayout({ children }: { children: React.ReactNode }) {
const currentMenuInfo = useMenuStore((state) => state.currentMenuInfo);
const menuPaths = currentMenuInfo?.menuPath
?.split(">")
.map((path) => path.trim());
const menuPaths = currentMenuInfo?.menuPath?.split(">").map((path) => path.trim());
return (
<div className="bg-container h-auto min-h-full pb-2">
<PageTitle
title={currentMenuInfo?.menuKornNm ?? ""}
menuPaths={menuPaths ?? []}
/>
<div className="h-auto min-h-full bg-container pb-2">
<PageTitle title={currentMenuInfo?.menuKornNm ?? ""} menuPaths={menuPaths ?? []} />
{children}
</div>
);