diff --git a/apps/client/app/components/layout/header/index.tsx b/apps/client/app/components/layout/header/index.tsx index 8305bb83..44b05b7d 100644 --- a/apps/client/app/components/layout/header/index.tsx +++ b/apps/client/app/components/layout/header/index.tsx @@ -9,6 +9,7 @@ import { UserAccountMobileNav, UserAccountNav } from './user-account/index.tsx' import { Button } from '@/components/button/index.tsx' import { APP_NAME, PAGES } from '@/constants/index.ts' import useScroll from '@/hooks/use-scroll.ts' +import { classNames } from '@/lib/classNames.ts' import { useAuth } from '@/providers/auth/index.tsx' const navigation = (isLoggedIn: boolean) => [ @@ -26,27 +27,28 @@ const navigation = (isLoggedIn: boolean) => [ interface Props { isHeroSearchInVisible: boolean shouldHeaderBlur?: boolean + searchQuery?: string } export const Header = ({ isHeroSearchInVisible, shouldHeaderBlur = true, + searchQuery, }: Props) => { const { isLoggedIn } = useAuth() const [mobileMenuOpen, setMobileMenuOpen] = useState(false) const scrolled = useScroll(50) const headerBlurred = shouldHeaderBlur - ? 'bg-white/95 backdrop-blur-xl sticky top-0 z-50' - : 'sticky top-0 z-50 bg-white' + ? 'bg-white/95 backdrop-blur-xl sticky top-0 z-50 shadow-lg' + : 'sticky top-0 z-50 bg-white ' return (
@@ -132,19 +135,19 @@ export function SearchModule() { -
- -
-
-

{queryParam}

-
+ {activeTab === 'Photos' ? ( +
+ +
+ ) : null} +