Skip to content

Commit 5d96357

Browse files
authored
Merge pull request #179 from HackMerced/logolinking
Connected the Logo with the official website of MLH
2 parents 942f2fb + 5b2705c commit 5d96357

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/NavBar/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const Navbar: FC<{ backgroundColor?: string; textColor?: string; breakLineColor?
6262
<Menu.Wrapper>
6363
<Menu.Logo>
6464
{showBanner ? (
65-
<img className="MLH" src={MLH_BANNER} width="100" height="175" alt="MLH BANNER" />
65+
<a href="https://mlh.io/seasons/2021/events" target="_blank"><img className="MLH" src={MLH_BANNER} width="100" height="175" alt="MLH BANNER" /></a>
6666
) : (
6767
<div className="hm-text">HackMerced</div>
6868
)}
@@ -118,12 +118,14 @@ const Styles = {
118118
const { pathname } = useLocation();
119119
return pathname !== "/" ? "13vw" : "auto";
120120
}};
121+
}
121122
122123
@media only screen and (max-height: 400px) {
123124
height: ${(): string => {
124125
const { pathname } = useLocation();
125126
return pathname !== "/" ? "9vw" : "auto";
126127
}};
128+
}
127129
`,
128130
};
129131

0 commit comments

Comments
 (0)