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