import { createRoot } from 'react-dom/client'
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'

import Catalog from './pages/catalog'
import Cart from './pages/cart'

createRoot(document.getElementById('root')).render(
	<Router>
		<Routes>
			<Route path='/catalog' element={<Catalog />} />
			<Route path='/cart' element={<Cart />} />
		</Routes>
	</Router>
)
