Skip to content

Commit

Permalink
hopefully this fixes it
Browse files Browse the repository at this point in the history
  • Loading branch information
alefever39 committed Jul 11, 2022
1 parent d496aea commit ef4cf81
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
</body>
</html>
17 changes: 17 additions & 0 deletions client/src/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { BrowserRouter, Routes, Route } from "react-router-dom";
import Hero from "./components/Hero";
import Header from "./components/Header";
import Home from "./components/Home";
function App() {
return (
<BrowserRouter>
<Routes>
<Route exact path="/" element={<Header />}></Route>
</Routes>
<Routes>
<Route exact path="/" element={<Hero />}></Route>
</Routes>
</BrowserRouter>
);
}
export default App;

0 comments on commit ef4cf81

Please sign in to comment.