From 3b9ce4776739c9f1f6716196c95800b63f2fe3ff Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Tue, 18 Mar 2025 13:56:01 +0800 Subject: [PATCH] fix layout notifikasi --- src/app/dev/notifikasi/layout.tsx | 20 +++++++++++++++---- .../_ui/ui_new_layout_notifikasi.tsx | 6 +++--- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/app/dev/notifikasi/layout.tsx b/src/app/dev/notifikasi/layout.tsx index 9e9d2461..180b94cc 100644 --- a/src/app/dev/notifikasi/layout.tsx +++ b/src/app/dev/notifikasi/layout.tsx @@ -1,5 +1,6 @@ -import { UIGlobal_LayoutHeaderTamplate } from "@/app_modules/_global/ui"; -import { Notifikasi_UiNewLayout } from "@/app_modules/notifikasi/_ui"; +import { Component_Header } from "@/app_modules/_global/component/new/component_header"; +import UI_NewLayoutTamplate, { UI_NewChildren, UI_NewHeader } from "@/app_modules/_global/ui/V2_layout_tamplate"; +import { UIChildrenNotifikasi } from "@/app_modules/notifikasi/_ui/ui_new_layout_notifikasi"; export default async function Layout({ children, @@ -8,11 +9,22 @@ export default async function Layout({ }) { return ( <> - } > {children} - + */} + + + + + + + + {children} + + + ); } diff --git a/src/app_modules/notifikasi/_ui/ui_new_layout_notifikasi.tsx b/src/app_modules/notifikasi/_ui/ui_new_layout_notifikasi.tsx index 7cb401ee..77d7e50a 100644 --- a/src/app_modules/notifikasi/_ui/ui_new_layout_notifikasi.tsx +++ b/src/app_modules/notifikasi/_ui/ui_new_layout_notifikasi.tsx @@ -46,7 +46,7 @@ export default function Notifikasi_UiNewLayout({ > - {children} + {children} @@ -76,7 +76,7 @@ function UIHeader({ header }: { header: React.ReactNode }) { ); } -function UIChildren({ children }: { children: React.ReactNode }) { +export function UIChildrenNotifikasi({ children }: { children: React.ReactNode }) { const router = useRouter(); const [mstrKategori, setMstrKategori] = useState(null); const [categoryPage, setCategoryPage] = useAtom(gs_notifikasi_kategori_app); @@ -100,7 +100,7 @@ function UIChildren({ children }: { children: React.ReactNode }) { Null ) : ( - +