From adb8676974a53e66b3c0e63504dad3f6540c3a2d Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Wed, 1 Jan 2025 10:54:54 -0500 Subject: [PATCH] Header fix --- components/layout/Layout.js | 16 +++++++--------- components/layout/header/HeaderMerms.js | 18 +++++++++--------- public/css/merms.css | 20 ++++++++++++++++++++ 3 files changed, 36 insertions(+), 18 deletions(-) diff --git a/components/layout/Layout.js b/components/layout/Layout.js index da9de60..88e49d9 100644 --- a/components/layout/Layout.js +++ b/components/layout/Layout.js @@ -38,18 +38,16 @@ export default function Layout({ headerStyle, footerStyle, headTitle, breadcrumb
- {/*{!headerStyle && }*/} - {/*{headerStyle == 1 ? : null}*/} - {/*{headerStyle == 2 ? : null}*/} +
+
+ {breadcrumbTitle && } + {children} +
+
-
- {breadcrumbTitle && } - - {children} -
- + {/**/}
) diff --git a/components/layout/header/HeaderMerms.js b/components/layout/header/HeaderMerms.js index bae727c..4b2e438 100644 --- a/components/layout/header/HeaderMerms.js +++ b/components/layout/header/HeaderMerms.js @@ -3,30 +3,30 @@ import MobileMenu from "../MobileMenu" import Menu from "../Menu" export default function HeaderMerms({ scroll, isMobileMenu, handleMobileMenu, headerCls }) { console.log(headerCls); - + const headerCls2 ="nonnn" return ( <> -