-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9abcb39
commit fb4f4a6
Showing
2 changed files
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import Header from './components/header'; | ||
import Footer from './components/footer'; | ||
import Homepage from './pages/homepage'; | ||
import Events from './pages/events'; | ||
import Gallery from './pages/gallery'; | ||
import Projects from './pages/projects'; | ||
import { BrowserRouter, Routes, Route } from 'react-router-dom'; | ||
|
||
function App() { | ||
return ( | ||
<div className="App"> | ||
<BrowserRouter> | ||
<Header /> | ||
<Routes> | ||
<Route path="/" element={<Homepage />}/> | ||
<Route path="/events" element={<Events />}/> | ||
<Route path="/gallery" element={<Gallery />}/> | ||
<Route path="/projects" element={<Projects />}/> | ||
</Routes> | ||
<Footer /> | ||
</BrowserRouter> | ||
</div> | ||
); | ||
} | ||
|
||
export default App; |
This file was deleted.
Oops, something went wrong.