diff --git a/apps/dm_new/app/(landing)/reuse/layout.tsx b/apps/dm_new/app/(landing)/reuse/layout.tsx index b6840bf71..7574782c9 100644 --- a/apps/dm_new/app/(landing)/reuse/layout.tsx +++ b/apps/dm_new/app/(landing)/reuse/layout.tsx @@ -3,7 +3,6 @@ import "./reuse.module.css"; -// import type { ReactNode } from "react"; import TopNav from "./_components/TopNav"; import { usePathname } from "next/navigation"; diff --git a/apps/dm_new/app/(with-layout)/intro/layout.tsx b/apps/dm_new/app/(with-layout)/intro/layout.tsx index 91e9e2e54..e025f4c80 100644 --- a/apps/dm_new/app/(with-layout)/intro/layout.tsx +++ b/apps/dm_new/app/(with-layout)/intro/layout.tsx @@ -5,7 +5,9 @@ export default function IntroLayout({ children }: { children: ReactNode }) { return (
-
{children}
+
+ {children} +
); } diff --git a/apps/dm_new/app/(with-layout)/layout.tsx b/apps/dm_new/app/(with-layout)/layout.tsx index 7ea176c6d..2c31919bc 100644 --- a/apps/dm_new/app/(with-layout)/layout.tsx +++ b/apps/dm_new/app/(with-layout)/layout.tsx @@ -1,13 +1,19 @@ // app/(with-layout)/layout.tsx +/** + * 메인을 제외한 메뉴안 페이지의 layout + */ + import "../reuse.module.css"; import { StoreProvider } from "../store"; import TopNav from "@/components/TopNav"; -export default function ReuseLandingLayout({ children }: { children: React.ReactNode }) { +export default function WithLayout({ children }: { children: React.ReactNode }) { return ( - -
{children}
{/* TopNav 높이만큼 */} +
{/* TopNav 높이만큼 */} + +
{children}
{/* Lnb 너비만큼 */} +
); } diff --git a/apps/dm_new/components/Lnb.tsx b/apps/dm_new/components/Lnb.tsx index a9a41d4a4..13c6523db 100644 --- a/apps/dm_new/components/Lnb.tsx +++ b/apps/dm_new/components/Lnb.tsx @@ -68,11 +68,21 @@ export default function Lnb() { }, [pathname, secondLevelMenus]); return ( -