// App.jsx
import { Routes, Route } from 'react-router-dom';
import Home from './pages/Home';
import UploadPage from './pages/UploadPage';
import TorrentDetail from './pages/Torrentdetail';

function App() {
  return (
    <Routes>
      <Route path="/" element={<Home />} />
      <Route path="/upload" element={<UploadPage />} />
      <Route path="/torrent/:id" element={<TorrentDetail />} />
    </Routes>
  );
}

export default App;
