From 61e121739da5ea91a4498f484a20a05c85f4f952 Mon Sep 17 00:00:00 2001 From: Hugo Montenegro Date: Wed, 13 Aug 2025 11:36:59 +0100 Subject: [PATCH] hotfix for maurits --- src/components/Global/Layout/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Global/Layout/index.tsx b/src/components/Global/Layout/index.tsx index 5f687200b..8bbac06cc 100644 --- a/src/components/Global/Layout/index.tsx +++ b/src/components/Global/Layout/index.tsx @@ -9,6 +9,7 @@ import { usePathname } from 'next/navigation' import React, { useEffect, useRef, useState } from 'react' import { twMerge } from 'tailwind-merge' import Modal from '../Modal' +import Header from '@/components/Global/Header' type LayoutProps = { children: React.ReactNode className?: string @@ -27,6 +28,8 @@ const Layout = ({ children, className }: LayoutProps) => { const path = usePathname() const isTryNow = path === '/pay' + const isLanding = path === '/' + const showHeader = !isLanding && !isTryNow useEffect(() => { setIsReady(true) @@ -43,6 +46,7 @@ const Layout = ({ children, className }: LayoutProps) => {
+ {showHeader &&
}