Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushiksheel committed Dec 11, 2022
1 parent 79303cb commit 9be5733
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export default function NavComp() {
const currentPath=params.pathname

return (
<Navbar className="navbar" expand="lg">
<Navbar className="navbar" expand="lg" style={{position:'sticky',height:'fit-content',top:0,zIndex:2}}>
<Container>
<Navbar.Brand style={{ color: "white", fontWeight: "bold" }} href="#">
MoviesHub
</Navbar.Brand>

<Navbar.Toggle aria-controls="navbarScroll" />
<Navbar.Toggle
style={{background:'white'}}
aria-controls="navbarScroll" />
<Navbar.Collapse id="navbarScroll">
<Nav
className="me-auto my-2 my-lg-0 d-flex gap-3"
Expand Down

0 comments on commit 9be5733

Please sign in to comment.