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
3 changes: 2 additions & 1 deletion front-end/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from "react-router-dom";
import { AuthContextProvider } from './context/AuthContext';
import Explore from './Pages/Explore/Explore';
import AboutPage from './Pages/AboutPage/AboutPage';

const AppLayout = () => (
<div>
Expand All @@ -39,7 +40,7 @@ const router = createBrowserRouter([
},
{
path: "/about",
element: <div>about</div>,
element: <AboutPage/>,
errorElement: <ErrorPage/>
},
{
Expand Down
Empty file.
13 changes: 13 additions & 0 deletions front-end/src/Pages/AboutPage/AboutPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React, { useEffect, useState } from 'react';
import './AboutPage.css';

const AboutPage: React.FC = () => {

return(
<div>
<h1>about this project</h1>
</div>
);
}

export default AboutPage;
8 changes: 6 additions & 2 deletions front-end/src/Pages/NavBar/Components/buttons.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#logInButton{
font-family: 'Helvetica';
font-style: normal;
font-weight: 700;
font-size: 22px;
font-size: 18px;
line-height: 33px;
color: #4646D7;
background-color: white;
Expand All @@ -14,14 +16,16 @@
}

#sign-up-button {
font-family: 'Helvetica';
font-style: normal;
font-weight: 700;
font-size: 22px;
font-size: 18px;
line-height: 33px;
color: white;
background-color: #4646D7;
border: 2px solid blue;
border-radius: 10px;
padding: 0px 15px 0px 15px;
}

#sign-up-button:hover {
Expand Down
5 changes: 4 additions & 1 deletion front-end/src/Pages/NavBar/NavBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 30%;
width: 40%;
font-size: 18px;
font-family: Helvetica;
}

#left-nav-items > .NavLink {
Expand All @@ -38,6 +40,7 @@
font-size: 40px;
line-height: 60px;
color: #4646D7;
font-family: Helvetica;
}

.svg-cont-prof {
Expand Down
1 change: 0 additions & 1 deletion front-end/src/Pages/NavBar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const NavBar: React.FC = () => {
</nav>
<NavBarButton text="Explore" pathToPage="/explore"/>
<NavBarButton text="About" pathToPage=""/>
<NavBarButton text="Other" pathToPage=""/>
</div>
{!loggedIn ?
<div id="right-nav-items">
Expand Down