From c89ec44f9974f1edb6ce97eb3e57e7c15cc61d5d Mon Sep 17 00:00:00 2001 From: Shane Misra <117242156+sdmisra@users.noreply.github.com> Date: Thu, 11 Apr 2024 08:39:26 -0600 Subject: [PATCH] Sm about page final (#67) * set up route for about page, no button yet * mostly complete functionality, still needs adjustment for screen sizes * added button in header to about page * made about icon larger * links and header properly centered, aboutbutton component made * fixed sizing and alignment of linkedin icons, special thanks text, bullets * fix TCL link, opens new tab * horizontal margins added to sections * github profile links added to creators section * minor sizing changes to button and haeder --- src/App.jsx | 3 +- src/api/useAuth.jsx | 4 +- src/components/AboutButton.jsx | 13 +++++ src/views/About.jsx | 104 +++++++++++++++++++++++++++++++++ src/views/Layout.jsx | 12 ++-- src/views/index.js | 1 + 6 files changed, 130 insertions(+), 7 deletions(-) create mode 100644 src/components/AboutButton.jsx create mode 100644 src/views/About.jsx diff --git a/src/App.jsx b/src/App.jsx index 42bd10a..dcdf694 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,6 +1,6 @@ import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; -import { Home, Layout, List, ManageList } from './views'; +import { Home, Layout, List, ManageList, About } from './views'; import { useAuth } from './api'; @@ -71,6 +71,7 @@ export function App() { /> } /> + } /> diff --git a/src/api/useAuth.jsx b/src/api/useAuth.jsx index 7241af1..9ad8097 100644 --- a/src/api/useAuth.jsx +++ b/src/api/useAuth.jsx @@ -10,7 +10,7 @@ import { addUserToDatabase } from './firebase.js'; */ export const SignInButton = () => (