Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Navbar position fixed to top and enhance styling #147

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/shared/header/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const Header = ({ isMobileMenuOpen, onBurgerClick, absolute }) => {

return (
<header
className={`safe-paddings ${
absolute ? `absolute ${!!display && 'top-12'} left-0 right-0` : ''
} z-40 w-full`}
className={`safe-paddings
${absolute && "fixed bg-gradient-to-b from-black/50 backdrop-blur-md"}
z-40 w-full`}
>
<div className="container flex items-center justify-between py-5 md:py-4 sm:py-3.5">
<Link href="/" passHref>
Expand Down