From f374b056ad89a7a1d7ba491e13316f238f491928 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 5 Sep 2023 10:21:38 +0000 Subject: [PATCH] Create Sign Up and Login links in Navbar --- src/App.js | 7 ++++++- src/components/Header.js | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 014aa5e..e4735d6 100644 --- a/src/App.js +++ b/src/App.js @@ -10,6 +10,11 @@ import { Contact } from "./pages/Contact" function App() { const FBapp = initializeApp(FirebaseConfig) + // navigation array + const navItems = [ + { label: "Home", link: "/" }, + ] + const saySomething = ( word ) => { alert( word ) } @@ -19,7 +24,7 @@ function App() { } /> } /> - } /> + } /> ); diff --git a/src/components/Header.js b/src/components/Header.js index 18309ed..02aea35 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -10,6 +10,8 @@ export function Header ( props ) { Home About Contact + Create Account + Sign in )