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 &&
}