import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import ProjectSelectionPage from './pages/ProjectSelectionPage';
import BOMManagerPage from './pages/BOMManagerPage';
import MaterialsPage from './pages/MaterialsPage';
import BOMStatusPage from './pages/BOMStatusPage';
import PurchaseConfirmationPage from './pages/PurchaseConfirmationPage';

function App() {
  return (
    <Router>
      <Routes>
        <Route path="/" element={<ProjectSelectionPage />} />
        <Route path="/bom-manager" element={<BOMManagerPage />} />
        <Route path="/materials" element={<MaterialsPage />} />
        <Route path="/bom-status" element={<BOMStatusPage />} />
        <Route path="/purchase-confirmation" element={<PurchaseConfirmationPage />} />
      </Routes>
    </Router>
  );
}

export default App;
