Initial commit
This commit is contained in:
parent
32184a54ce
commit
a18a0e9b7a
31 changed files with 8180 additions and 0 deletions
25
frontend/src/App.tsx
Normal file
25
frontend/src/App.tsx
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
||||
import { AppProvider } from './store/AppContext';
|
||||
import { Home } from './pages/Home';
|
||||
import { Swipe } from './pages/Swipe';
|
||||
import { Matches } from './pages/Matches';
|
||||
import { Navbar } from './components/Navbar';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<AppProvider>
|
||||
<Router>
|
||||
<div className="min-h-screen bg-background text-white font-sans">
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/swipe" element={<Swipe />} />
|
||||
<Route path="/matches" element={<Matches />} />
|
||||
</Routes>
|
||||
<Navbar />
|
||||
</div>
|
||||
</Router>
|
||||
</AppProvider>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Loading…
Add table
Add a link
Reference in a new issue