From 6b38fb5734b897f025cfa654e7e5bb94e297a3ea Mon Sep 17 00:00:00 2001 From: Jordan Brookman Date: Sat, 7 May 2022 21:13:02 -0400 Subject: [PATCH] Add receive screen. Add home button --- frontend/src/App.js | 16 ++++++++++++---- frontend/src/components/Button.js | 12 ++++++------ frontend/src/routes/Home.js | 12 ++++++------ 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index 37acfa1..ae375b5 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -12,9 +12,10 @@ import Home from "./routes/Home"; import Family from "./routes/Family"; import NewAccount from "./routes/NewAccount"; import Onboarding from './routes/Onboarding'; +import Receive from './routes/Receive'; import React from 'react'; -import {ContactsIcon, CrossIcon, GearIcon, MenuIcon} from '@bitcoin-design/bitcoin-icons-react/filled'; -import {ChartSquareBarIcon} from '@heroicons/react/solid'; +import { ContactsIcon, CrossIcon, GearIcon, HomeIcon, MenuIcon } from '@bitcoin-design/bitcoin-icons-react/filled'; +import { ChartSquareBarIcon } from '@heroicons/react/solid'; import NewFamily from './routes/NewFamily'; import Invite from './routes/Invite'; @@ -22,13 +23,19 @@ const Child = {}; function App() { const [menuActive, setMenuActive] = React.useState(false) - + const toggleMenu = () => { setMenuActive(!menuActive) } - + return (
+