diff --git a/components/_shared/image_header/ImageHeader.tsx b/components/_shared/image_header/ImageHeader.tsx index e21afc9..12d42cb 100644 --- a/components/_shared/image_header/ImageHeader.tsx +++ b/components/_shared/image_header/ImageHeader.tsx @@ -32,8 +32,16 @@ const ImageHeader: React.FC = ({ return ( <> -
-
+
+
= ({ // 'md:ml-[-7rem] md:mr-[-7rem] xl:mr-0' } w-[calc(100%] md:w-auto - bg-center bg-no-repeat bg-cover" + bg-center bg-no-repeat bg-cover `} >
@@ -53,7 +61,7 @@ const ImageHeader: React.FC = ({ priority={true} width={909} height={655} - className={`xl:object-contain + className={`lg:object-cover ${AR('xl:rounded-l-[40px]', 'xl:rounded-r-[40px]')} `} /> @@ -67,9 +75,7 @@ const ImageHeader: React.FC = ({ //'ml-[-2.5rem] md:ml-[-7rem] md:mr-[-7rem] xl:ml-[-3.0rem]' }`} > -
+
{/* 5rem (ml) + 5rem (body padding) = 10rem*/}
= ({

{children} diff --git a/components/home/NavTemplate.tsx b/components/home/NavTemplate.tsx index 9d39a87..db9e7ef 100644 --- a/components/home/NavTemplate.tsx +++ b/components/home/NavTemplate.tsx @@ -40,7 +40,7 @@ const NavBar: React.FC<{ menu: any; logo: string }> = ({ menu, logo }) => { return ( - {({ open }) => ( + {({ open, close }) => ( <>