From 2e8b0f54372a78eda4c0cce6abeffb6f9b2eb62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A7=80=EC=B2=A0?= Date: Thu, 7 Aug 2025 16:33:11 +0900 Subject: [PATCH] =?UTF-8?q?=ED=91=B8=ED=84=B0=EC=97=86=EB=8A=94=20?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=95=84=EC=9B=83=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/components/src/ui/layout/index.ts | 1 + .../components/src/ui/layout/nofooter.tsx | 44 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 packages/common/components/src/ui/layout/nofooter.tsx diff --git a/packages/common/components/src/ui/layout/index.ts b/packages/common/components/src/ui/layout/index.ts index 30c069b90..4cf557384 100644 --- a/packages/common/components/src/ui/layout/index.ts +++ b/packages/common/components/src/ui/layout/index.ts @@ -1,2 +1,3 @@ export { BaseLayout } from "./base"; export { VBaseLayout } from "./vbase"; +export { NoFooterLayout } from "./nofooter"; diff --git a/packages/common/components/src/ui/layout/nofooter.tsx b/packages/common/components/src/ui/layout/nofooter.tsx new file mode 100644 index 000000000..2f398ec57 --- /dev/null +++ b/packages/common/components/src/ui/layout/nofooter.tsx @@ -0,0 +1,44 @@ +import type { QueryClient } from "@tanstack/react-query"; +import { QueryProvider } from "../../provider/query-provider"; +import { PopupProvider } from "../../provider/popup-provider"; +import { ClientIpGuard } from "../../lib/client-ip-guard"; +import type { MenuItem } from "../../api"; +import { SidebarProvider } from "../sidebar"; +import { LNB } from "../lnb"; +import { Header } from "../header"; +import "./common.css"; + +export function NoFooterLayout({ + children, + queryClient, + currentPath, + handleMenuClick, +}: { + children: React.ReactNode; + queryClient?: QueryClient; + currentPath?: string; + handleMenuClick?: (item: MenuItem) => void; +}) { + return ( + + + + +
+
+
+ +
+
{children}
+
+
+
+
+
+
+
+ ); +}