From 5489b44682a94a0cddba25b35c998339a69321bd Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 5 Sep 2023 09:03:39 +0000 Subject: [PATCH] Create Homepage --- src/App.js | 3 +++ src/pages/Home.js | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 src/pages/Home.js diff --git a/src/App.js b/src/App.js index 9cc1fba..2536820 100644 --- a/src/App.js +++ b/src/App.js @@ -7,9 +7,11 @@ import "react-bootstrap/Navbar" import "react-bootstrap/Nav" import './App.css'; import { About } from "./pages/About"; +import { Home } from "./pages/Home"; import Container from "react-bootstrap/Container"; import { Nav, Navbar } from "react-bootstrap/esm"; + function App() { const FBapp = initializeApp(FirebaseConfig); return ( @@ -25,6 +27,7 @@ function App() { + } /> } /> diff --git a/src/pages/Home.js b/src/pages/Home.js new file mode 100644 index 0000000..41f894c --- /dev/null +++ b/src/pages/Home.js @@ -0,0 +1,3 @@ +export function Home ( props ) { + return (

{props.greeting}

) +} \ No newline at end of file