From 03f9c57ee415dd542fce7b3e09ce2343dda2425f Mon Sep 17 00:00:00 2001 From: Kaylen Melamed Date: Tue, 15 Oct 2024 17:55:04 -0700 Subject: [PATCH] about page --- front-end/src/App.tsx | 3 ++- front-end/src/Pages/AboutPage/AboutPage.css | 0 front-end/src/Pages/AboutPage/AboutPage.tsx | 13 +++++++++++++ front-end/src/Pages/NavBar/Components/buttons.css | 8 ++++++-- front-end/src/Pages/NavBar/NavBar.css | 5 ++++- front-end/src/Pages/NavBar/NavBar.tsx | 1 - 6 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 front-end/src/Pages/AboutPage/AboutPage.css create mode 100644 front-end/src/Pages/AboutPage/AboutPage.tsx diff --git a/front-end/src/App.tsx b/front-end/src/App.tsx index 53b613d..9ddecf0 100644 --- a/front-end/src/App.tsx +++ b/front-end/src/App.tsx @@ -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 = () => (
@@ -39,7 +40,7 @@ const router = createBrowserRouter([ }, { path: "/about", - element:
about
, + element: , errorElement: }, { diff --git a/front-end/src/Pages/AboutPage/AboutPage.css b/front-end/src/Pages/AboutPage/AboutPage.css new file mode 100644 index 0000000..e69de29 diff --git a/front-end/src/Pages/AboutPage/AboutPage.tsx b/front-end/src/Pages/AboutPage/AboutPage.tsx new file mode 100644 index 0000000..23d8e57 --- /dev/null +++ b/front-end/src/Pages/AboutPage/AboutPage.tsx @@ -0,0 +1,13 @@ +import React, { useEffect, useState } from 'react'; +import './AboutPage.css'; + +const AboutPage: React.FC = () => { + + return( +
+

about this project

+
+ ); +} + +export default AboutPage; \ No newline at end of file diff --git a/front-end/src/Pages/NavBar/Components/buttons.css b/front-end/src/Pages/NavBar/Components/buttons.css index 9987227..df786ab 100644 --- a/front-end/src/Pages/NavBar/Components/buttons.css +++ b/front-end/src/Pages/NavBar/Components/buttons.css @@ -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; @@ -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 { diff --git a/front-end/src/Pages/NavBar/NavBar.css b/front-end/src/Pages/NavBar/NavBar.css index 31160b3..dc9e2de 100644 --- a/front-end/src/Pages/NavBar/NavBar.css +++ b/front-end/src/Pages/NavBar/NavBar.css @@ -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 { @@ -38,6 +40,7 @@ font-size: 40px; line-height: 60px; color: #4646D7; + font-family: Helvetica; } .svg-cont-prof { diff --git a/front-end/src/Pages/NavBar/NavBar.tsx b/front-end/src/Pages/NavBar/NavBar.tsx index 253c045..05a165e 100644 --- a/front-end/src/Pages/NavBar/NavBar.tsx +++ b/front-end/src/Pages/NavBar/NavBar.tsx @@ -20,7 +20,6 @@ const NavBar: React.FC = () => { -
{!loggedIn ?