From 3402d6f455756de901c37211110b0f123598364e Mon Sep 17 00:00:00 2001 From: melkent Date: Wed, 27 Nov 2024 00:12:46 -0800 Subject: [PATCH] code cleanup --- frontend/src/assets/flow-leaflets-logo.svg | 15 --------------- frontend/src/components/AppBar/AppBar.jsx | 2 +- .../NavContentWrapper/NavContentWrapper.jsx | 2 +- frontend/src/pages/Homepage.jsx | 6 +++--- frontend/src/pages/NewLog.jsx | 4 ++-- 5 files changed, 7 insertions(+), 22 deletions(-) delete mode 100644 frontend/src/assets/flow-leaflets-logo.svg diff --git a/frontend/src/assets/flow-leaflets-logo.svg b/frontend/src/assets/flow-leaflets-logo.svg deleted file mode 100644 index 4e3d4a67..00000000 --- a/frontend/src/assets/flow-leaflets-logo.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/frontend/src/components/AppBar/AppBar.jsx b/frontend/src/components/AppBar/AppBar.jsx index 11ec72cf..afec2805 100644 --- a/frontend/src/components/AppBar/AppBar.jsx +++ b/frontend/src/components/AppBar/AppBar.jsx @@ -1,4 +1,4 @@ -import Logo from "../../assets/flow-leaflets-logo.svg"; +import Logo from "../../../../assets/flow-leaflets-logo.svg"; import { AdjustmentsHorizontalIcon, BellIcon, diff --git a/frontend/src/components/NavContentWrapper/NavContentWrapper.jsx b/frontend/src/components/NavContentWrapper/NavContentWrapper.jsx index 3a6f3852..807b9d8e 100644 --- a/frontend/src/components/NavContentWrapper/NavContentWrapper.jsx +++ b/frontend/src/components/NavContentWrapper/NavContentWrapper.jsx @@ -2,7 +2,7 @@ import { AppBar } from "../AppBar/AppBar" import { Navbar } from "../Navbar/Navbar" /** - * Wraps the provided component in the side navigation bar and the top application bar. + * Wraps the child component in the side navigation bar and the top application bar. * Formats the layout so that only the inner child component is scrollable. */ export const NavContentWrapper = ({children}) => { diff --git a/frontend/src/pages/Homepage.jsx b/frontend/src/pages/Homepage.jsx index 1d93da0b..370b80ca 100644 --- a/frontend/src/pages/Homepage.jsx +++ b/frontend/src/pages/Homepage.jsx @@ -42,13 +42,13 @@ function Buttons() { return (
- + Create New Log - + Add Logbook - + View Log History
diff --git a/frontend/src/pages/NewLog.jsx b/frontend/src/pages/NewLog.jsx index 1b58f463..47cf65eb 100644 --- a/frontend/src/pages/NewLog.jsx +++ b/frontend/src/pages/NewLog.jsx @@ -28,11 +28,11 @@ function CTASection() {

How would you like to create a new log?

- + Upload Photo - + Enter Manually