This commit is contained in:
2025-08-27 18:51:25 +02:00
parent 16b965c457
commit 24c2a245b6
6 changed files with 49 additions and 3 deletions

View File

@@ -83,11 +83,12 @@ export function Header() {
const pathname = usePathname()
const isHomepage = pathname === '/'
const isStoryPage = pathname === '/story'
const isExperiencesPage = pathname === '/experiences'
const headerClasses = clsx(
{
'bg-transparent': isHomepage,
'bg-[#1e0f01]': !isHomepage && !isStoryPage,
'bg-transparent': isHomepage || isExperiencesPage,
'bg-[#1e0f01]': !isHomepage && !isStoryPage && !isExperiencesPage,
'bg-transparent backdrop-blur-sm': isStoryPage,
'fixed top-0 left-0 right-0 z-50': isStoryPage,
}