This commit is contained in:
2025-08-28 14:32:49 +02:00
parent 3ca4017584
commit ce6c25a180
8 changed files with 33 additions and 46 deletions

View File

@@ -27,7 +27,7 @@ function MobileNavIcon({ open }) {
return (
<svg
aria-hidden="true"
className="h-3.5 w-3.5 overflow-visible stroke-slate-700"
className="h-3.5 w-3.5 overflow-visible stroke-bg-darkbrown"
fill="none"
strokeWidth={2}
strokeLinecap="round"
@@ -81,15 +81,11 @@ function MobileNavigation() {
export function Header() {
const pathname = usePathname()
const isHomepage = pathname === '/'
const isStoryPage = pathname === '/story'
const isExperiencesPage = pathname === '/experiences'
const headerClasses = clsx(
'bg-bg-sand',
{
'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,
}
)