From f9f76513d72615d9df4b3d25ab74c92b04531cfa Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 5 Sep 2023 10:16:02 +0000 Subject: [PATCH] Various repairs to the About page --- src/App.js | 51 ++++++++++++++++++---------------------------- src/pages/About.js | 9 ++++++-- 2 files changed, 27 insertions(+), 33 deletions(-) diff --git a/src/App.js b/src/App.js index cb579d2..014aa5e 100644 --- a/src/App.js +++ b/src/App.js @@ -1,38 +1,27 @@ -import { FirebaseConfig } from "./config/Config"; -import { initializeApp } from "firebase/app"; -import {Routes, Route} from "react-router-dom"; - -import { Header } from "./components/Header"; -import './App.css'; -import { About } from "./pages/About"; -import { Home } from "./pages/Home"; -import { Contact } from "./pages/Contact"; -import Container from "react-bootstrap/Container"; -import { Nav, Navbar } from "react-bootstrap/esm"; +import { FirebaseConfig } from "./config/Config" +import { initializeApp } from "firebase/app" +import { Routes, Route } from "react-router-dom" +import { Header } from "./components/Header" +import './App.css' +import { About } from "./pages/About" +import { Home } from "./pages/Home" +import { Contact } from "./pages/Contact" function App() { - const FBapp = initializeApp(FirebaseConfig); + const FBapp = initializeApp(FirebaseConfig) + const saySomething = ( word ) => { + alert( word ) + } return (
- - - App - - - +
- } /> - } /> - } /> + } /> + } /> + } /> -
- ); - } - - -export default App; + + ); +} +export default App; \ No newline at end of file diff --git a/src/pages/About.js b/src/pages/About.js index 24bc813..47f9e0d 100644 --- a/src/pages/About.js +++ b/src/pages/About.js @@ -1,3 +1,8 @@ export function About ( props ) { - return (

{props.greeting}

) -} \ No newline at end of file + return ( +
+

{ props.greeting }

+ +
+ ) + } \ No newline at end of file