forked from veda/www_veda_2025
ok
This commit is contained in:
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user