From 984386344baae3f650ddbbf78ef7b45daefd4c84 Mon Sep 17 00:00:00 2001 From: Rachel Prather Date: Thu, 28 Dec 2023 17:42:43 -0800 Subject: [PATCH 1/3] Create Menu component --- src/components/App/App.js | 15 +++------------ src/components/App/_App.scss | 19 ------------------- src/components/Menu/Menu.js | 19 +++++++++++++++++++ src/components/Menu/_Menu.scss | 22 ++++++++++++++++++++++ src/styles/output.css | 22 ---------------------- src/styles/output.css.map | 2 +- 6 files changed, 45 insertions(+), 54 deletions(-) create mode 100644 src/components/Menu/Menu.js create mode 100644 src/components/Menu/_Menu.scss diff --git a/src/components/App/App.js b/src/components/App/App.js index 44e4f84..b24a795 100644 --- a/src/components/App/App.js +++ b/src/components/App/App.js @@ -1,5 +1,6 @@ import {useState} from 'react'; -import {Routes, Route, Link} from 'react-router-dom'; +import {Routes, Route} from 'react-router-dom'; +import Menu from '../Menu/Menu'; import Nav from '../Nav/Nav'; import Home from '../Home/Home'; import About from '../About/About'; @@ -13,17 +14,7 @@ const App = () => { return (
{isOpen ? - + : <>