fix
This commit is contained in:
+2
-1
@@ -1043,11 +1043,12 @@ function AppContent() {
|
||||
: route.page === 'viewers'
|
||||
? '/viewers'
|
||||
: window.location.pathname
|
||||
const shouldShowFloatingNav = route.page !== 'home' || showFloatingNav
|
||||
|
||||
return (
|
||||
<main className="min-h-screen bg-bg text-text">
|
||||
<header
|
||||
className={`fixed inset-x-0 top-4 z-50 flex justify-center px-4 transition duration-300 ${showFloatingNav
|
||||
className={`fixed inset-x-0 top-4 z-50 flex justify-center px-4 transition duration-300 ${shouldShowFloatingNav
|
||||
? 'translate-y-0 opacity-100'
|
||||
: 'pointer-events-none -translate-y-8 opacity-0'
|
||||
}`}
|
||||
|
||||
Reference in New Issue
Block a user