Skip to content

Commit

Permalink
Merge pull request #59 from IEEEUCSC/udeesha_dev
Browse files Browse the repository at this point in the history
Add
  • Loading branch information
Udeesha-Prabhashana authored Feb 2, 2024
2 parents 49dbdbb + 5214c4f commit f950cea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import { Routes, Route } from 'react-router-dom';
import Footer from './Components/Footer/Footer';
import Prizes from './Components/Prizes/Prizes';
import './App.css';
Expand All @@ -11,12 +11,12 @@ import Timeline from './Components/Timeline/Timeline';
import Intro from './Components/Introduction/Intro';
import Registration from './Components/TeamRegistration/TeamRegi';
import ContactUs from './Components/ContactUs/ContactUs';
import "@fontsource/ibm-plex-mono"


function App() {
return (
<div className="content">
<Router>
<Navbar />
<Routes>
<Route path="/team" element={<Registration />} />
Expand All @@ -33,7 +33,6 @@ function App() {
</div>
} />
</Routes>
</Router>
<Footer />
</div>
);
Expand Down
4 changes: 3 additions & 1 deletion Frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import { HashRouter } from 'react-router-dom';

const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>


<HashRouter>
<App />
</HashRouter>


</React.StrictMode>
Expand Down

0 comments on commit f950cea

Please sign in to comment.