Skip to content

Commit

Permalink
Changed navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
noamkassoff committed Jan 14, 2025
1 parent 5ffdb5e commit afc3724
Showing 1 changed file with 26 additions and 18 deletions.
44 changes: 26 additions & 18 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ export default function Navbar({ onOptionSelect }: any) {
}}
onClick={() => onOptionSelect("home")}
>
<Typography id="mvhackstext"
sx={{
<Typography
id="mvhackstext"
sx={{
color: "white",
paddingLeft: "10%",
marginRight: "auto",
Expand Down Expand Up @@ -279,7 +280,7 @@ export default function Navbar({ onOptionSelect }: any) {
justifyContent: "center",
"&:hover": {
backgroundColor: "black !important",
textDecoration:"none",
textDecoration: "none",
},
}}
>
Expand All @@ -292,7 +293,7 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h4"
>
Apply
Alert
</Typography>
</Link>
</List>
Expand Down Expand Up @@ -387,11 +388,12 @@ export default function Navbar({ onOptionSelect }: any) {
backgroundColor: "transparent",
},
}}
href="https://docs.google.com/forms/d/e/1FAIpQLSefTr6730BXSMYYdAnDXS5hFu_NZ5FHyzNYkv2MYqZoxvkgyQ/viewform"
component="button"
color="neutral"
level="h3"
underline="none"
variant="plain"
onClick={() => onOptionSelect("info")}
>
<Typography
sx={{
Expand All @@ -402,7 +404,7 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h3"
>
Apply
Info
</Typography>
</Link>
<Link
Expand All @@ -417,7 +419,7 @@ export default function Navbar({ onOptionSelect }: any) {
level="h3"
underline="none"
variant="plain"
onClick={() => onOptionSelect("info")}
onClick={() => onOptionSelect("schedule")}
>
<Typography
sx={{
Expand All @@ -428,7 +430,7 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h3"
>
Info
Schedule
</Typography>
</Link>
<Link
Expand All @@ -443,7 +445,7 @@ export default function Navbar({ onOptionSelect }: any) {
level="h3"
underline="none"
variant="plain"
onClick={() => onOptionSelect("schedule")}
onClick={() => onOptionSelect("faqs")}
>
<Typography
sx={{
Expand All @@ -454,7 +456,7 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h3"
>
Schedule
Faqs
</Typography>
</Link>
<Link
Expand All @@ -469,7 +471,7 @@ export default function Navbar({ onOptionSelect }: any) {
level="h3"
underline="none"
variant="plain"
onClick={() => onOptionSelect("faqs")}
onClick={() => onOptionSelect("sponsor")}
>
<Typography
sx={{
Expand All @@ -480,7 +482,7 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h3"
>
Faqs
Sponsors
</Typography>
</Link>
<Link
Expand All @@ -495,7 +497,7 @@ export default function Navbar({ onOptionSelect }: any) {
level="h3"
underline="none"
variant="plain"
onClick={() => onOptionSelect("sponsor")}
onClick={() => onOptionSelect("team")}
>
<Typography
sx={{
Expand All @@ -506,22 +508,28 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h3"
>
Sponsors
Team
</Typography>
</Link>
<Link
style={{ margin: 10, color: "white", paddingLeft: 10 }}
style={{
margin: 10,
color: "white",
paddingLeft: 10,
border: "2px solid white",
borderRadius: "5px",
}}
sx={{
"&:hover": {
backgroundColor: "transparent",
borderColor: "rgb(200,172,212)",
},
}}
component="button"
href="https://docs.google.com/forms/d/e/1FAIpQLSefTr6730BXSMYYdAnDXS5hFu_NZ5FHyzNYkv2MYqZoxvkgyQ/viewform"
color="neutral"
level="h3"
underline="none"
variant="plain"
onClick={() => onOptionSelect("team")}
>
<Typography
sx={{
Expand All @@ -532,7 +540,7 @@ export default function Navbar({ onOptionSelect }: any) {
}}
level="h3"
>
Team
Alert
</Typography>
</Link>
</Box>
Expand Down

0 comments on commit afc3724

Please sign in to comment.