Skip to content

Commit

Permalink
Merge pull request #46 from AdityyaX/main
Browse files Browse the repository at this point in the history
code of conduct added
  • Loading branch information
AdityyaX authored Mar 19, 2024
2 parents e812950 + e078ac5 commit 7890c26
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/containers/navbar/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ const Wrapper = styled.div`
.nav-content {
height: 35%;
background-color: rgba(50, 13, 136);
ul {
margin-left: 0; // Remove margin-left in mobile view
}
}
}
@media (min-width: 1001px) {
.nav-content {
ul {
margin-left: -40vh; // Set margin-left to -40vh in laptop view
}
}
}
`;
Expand Down Expand Up @@ -60,7 +71,7 @@ const NAVBAR = ({}) => {
</div>

<Wrapper toggle={toggle}>
<div className="nav-content" ref={navigation}>
<div className="nav-content" ref={navigation} >
<ul>
<li>
<Link to={`#home`} smooth>
Expand Down Expand Up @@ -98,6 +109,11 @@ const NAVBAR = ({}) => {
<span className="links">FAQ</span>{' '}
</Link>
</li>
<li>
<a href='https://drive.google.com/file/d/1-erC54DIgsqZ9wCTSaeX7zhj5a0aQS-d/view?usp=sharing'>
<span className="links">Guidelines</span>{' '}
</a>
</li>
<img
className="s-close"
onClick={() => setToggle(true)}
Expand Down

0 comments on commit 7890c26

Please sign in to comment.