Shorten header animation

pull/114/head
J M Rossy 2 months ago
parent c1accbe2fe
commit 774f856a3f
  1. 2
      src/components/nav/Header.tsx

@ -25,7 +25,7 @@ export function Header({ pathName }: { pathName: string }) {
return ( return (
<header <header
className={`z-10 sticky top-0 px-2 sm:px-6 lg:px-12 w-full bg-blue-500 transition-all ease-in-out duration-300 ${ className={`z-10 sticky top-0 px-2 sm:px-6 lg:px-12 w-full bg-blue-500 transition-all ease-in-out duration-200 ${
animateHeader ? 'py-1 border-b border-white' : 'py-4 sm:py-5' animateHeader ? 'py-1 border-b border-white' : 'py-4 sm:py-5'
}`} }`}
> >

Loading…
Cancel
Save