Skip to content
Merged
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
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { FC, Fragment } from "react";
import { Router, Route, Switch, Redirect } from "react-router-dom";
import { createHashHistory } from "history";

import LearnDay from "./pages/LearnDay";
import Home from "./pages/Home";
import PastHackathons from "./pages/PastHackathons";
import SponsorUs from "./pages/SponsorUs";
Expand All @@ -28,6 +29,7 @@ const App: FC = (): JSX.Element => {
})}
>
<Switch>
<Route path="/learn-day" component={LearnDay} />
<Route exact path="/" component={Home} />
<Route path="/sponsors" component={SponsorUs} />
<Route path="/contact-us" component={ContactUs} />
Expand Down
4 changes: 4 additions & 0 deletions src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ const Navbar: FC<{ backgroundColor?: string; textColor?: string; breakLineColor?
<img src={CLOSE_ICON} height="40" width="40" />
</HamburgerButton.Wrapper>
</Menu.Item>
<Menu.Item>
<Link to="/learn-day">Learn Day</Link>
{pathname === "/learn-day" ? BreakLine() : null}
</Menu.Item>
<Menu.Item>
<Link to="/">Home</Link>
{pathname === "/" ? BreakLine() : null}
Expand Down
17 changes: 17 additions & 0 deletions src/pages/LearnDay/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React, { FC } from "react";

import Navbar from "../../components/NavBar";

import "./styles.scss";

const LearnDay: FC = (): JSX.Element => {
return(
<Navbar />
// Title component
// FAQ component
// Schedule component
// render Footer component
);
};

export default LearnDay;
Empty file added src/pages/LearnDay/styles.scss
Empty file.