Skip to content

Commit

Permalink
Error fix in deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
atPavithran committed May 29, 2024
1 parent 9abcb39 commit fb4f4a6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
27 changes: 27 additions & 0 deletions src/App.js
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;
8 changes: 0 additions & 8 deletions src/App.test.js

This file was deleted.

0 comments on commit fb4f4a6

Please sign in to comment.