2024-03-12 16:21:30 -04:00
|
|
|
import './App.css'
|
2024-04-12 15:23:40 -04:00
|
|
|
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
2024-03-26 15:21:20 -04:00
|
|
|
import MainSearch from './components/MainSearch';
|
2024-04-12 15:23:40 -04:00
|
|
|
import Results from './components/Results';
|
2024-03-12 16:21:30 -04:00
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
|
return (
|
2024-04-12 15:23:40 -04:00
|
|
|
<BrowserRouter>
|
|
|
|
|
<div className="App">
|
|
|
|
|
<header style={{ display: 'flex', flexDirection: 'column', justifyContent: 'center', alignItems: 'center', height: '100px', gap: 15 }}>
|
|
|
|
|
</header>
|
|
|
|
|
<Routes>
|
|
|
|
|
<Route path="/" element={<MainSearch />} />
|
|
|
|
|
<Route path="/results" element={<Results />} />
|
|
|
|
|
</Routes>
|
|
|
|
|
</div>
|
|
|
|
|
</BrowserRouter>
|
|
|
|
|
);
|
2024-03-12 16:21:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default App
|