Skip to content

Commit

Permalink
Make Navbar sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinzi-c committed Jul 22, 2024
1 parent b71526e commit faf2064
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions web/src/app/components/AuthForms/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ export function LoginForm() {
</Button>
<Flex justify="center" gap="md" mt="md" mr="md">
<Button variant="filled" color="green" onClick={() => handleLoginAs('student')}>
Login as Student
Student
</Button>
<Button variant="filled" color="blue" onClick={() => handleLoginAs('sponsor')}>
Login as Sponsor
Sponsor
</Button>
<Button variant="filled" color="violet" onClick={() => handleLoginAs('alumni')}>
Login as Alumni
Alumni
</Button>
<Button variant="filled" color="red" onClick={() => handleLoginAs('admin')}>
Login as Admin
Admin
</Button>
</Flex>
<Text ta="center" mt="xl">
Expand Down
2 changes: 1 addition & 1 deletion web/src/app/components/Navbar/Navbar.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.Navbar {
position: absolute;
position: fixed;
z-index: 2;
width: 100vw;
background-color: rgba(000, 000, 000, 0.5);
Expand Down

0 comments on commit faf2064

Please sign in to comment.