Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const App = props => {
<Route path="/projects" component={ProjectPageComponent} />
<Route path="/contact-us" component={HomePageComponent} />
<Route path="/contribute" component={HomePageComponent} />
<Route path="/sponsors" component={HomePageComponent} />
<Route component={PageNotFoundHandler} />
</Switch>
</main>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/home/homeBody/HomeSponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const HomeSponsors = props => {
require("../../../images/supporter_nvidia.png")
];
return (
<div className="cv-container">
<div className="cv-container" id="sponsors">
<h1 className="cv-home-showcase-heading">{SUPPORT_TITLE}</h1>
<br />
<br />
Expand Down
13 changes: 10 additions & 3 deletions frontend/src/components/navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ class Navbar extends Component {
"GCI",
"Team",
"Contribute",
"Sponsors",
"Contact Us"
];
listItems = listItems.map((path, index) => {
if (path === "GSoC") {
return (
<NavbarItem active={false} key={path}>
<Link to="http://gsoc.cloudcv.org" target="_blank">
{path}
<span className="hover-underline-animation">{path}</span>
</Link>
</NavbarItem>
);
Expand All @@ -74,7 +75,7 @@ class Navbar extends Component {
return (
<NavbarItem active={false} key={path}>
<Link to="http://gci.cloudcv.org" target="_blank">
{path}
<span className="hover-underline-animation">{path}</span>
</Link>
</NavbarItem>
);
Expand All @@ -83,7 +84,13 @@ class Navbar extends Component {
let formattedPath = path.toLowerCase().replace(/ /g, "-");
return (
<NavbarItem active={active} key={path}>
<Link to={`/${formattedPath}`}>{path === "" ? "Home" : path}</Link>
<Link to={`/${formattedPath}`}>
{path === "" ? (
<span className="hover-underline-animation">{"Home"}</span>
) : (
<span className="hover-underline-animation">{path}</span>
)}
</Link>
</NavbarItem>
);
});
Expand Down