Skip to content

Commit

Permalink
feat: revert sticky nav (#118)
Browse files Browse the repository at this point in the history
* feat: conditionally apply sticky nav

* feat: remove sticky nav
  • Loading branch information
KevinWu098 authored May 9, 2024
1 parent 3a50040 commit dcae5b0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 10 deletions.
25 changes: 21 additions & 4 deletions src/app/components/Nav/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ const Nav = () => {
href={link}
className="item social center"
>
<Icon w="24" h="24" hoverable src={icons.nav} />
<Icon
w="24"
h="24"
hoverable
src={icons.nav}
/>
</a>
))}
</>
Expand Down Expand Up @@ -73,8 +78,17 @@ const Nav = () => {
<>
<Space w="8" />
{socials.map(({ name, icons, link }) => (
<a key={name} href={link} className="item social center">
<Icon w="24" h="24" hoverable src={icons.nav} />
<a
key={name}
href={link}
className="item social center"
>
<Icon
w="24"
h="24"
hoverable
src={icons.nav}
/>
</a>
))}
</>
Expand Down Expand Up @@ -112,7 +126,10 @@ const Nav = () => {
<Text size="L">{label}</Text>
</Link>
))}
<Link to="/join" className="item center button fill sky">
<Link
to="/join"
className="item center button fill sky"
>
<Text size="L">Join</Text>
</Link>
</div>
Expand Down
6 changes: 0 additions & 6 deletions src/app/components/Nav/Nav.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
@import "app/styles/variables";

nav {
position: sticky;
top: 0;
z-index: 1000;
}

#navSpacer {
height: 88px;
display: block;
Expand Down

0 comments on commit dcae5b0

Please sign in to comment.