Skip to content

Commit

Permalink
code of conduct added
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityyaX committed Mar 19, 2024
1 parent e812950 commit e078ac5
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 e078ac5

Please sign in to comment.