import { BrowserRouter, Route, Routes } from 'react-router-dom'
import IndexPage from './pages'
import UploadPage from './pages/upload'
import DemoPage from './pages/demo'
import ResultsPage from './pages/results'

/**
 * Main application component with routing
 * Trace: SDD_LLD_0028 - Provide navigation across UI pages
 */
function App() {

  return (
    <BrowserRouter>
      {/* Trace: SDD_LLD_0028 - UI page navigation via React Router */}
      <Routes>
        <Route path="/" element={<IndexPage />} />
        <Route path="/upload" element={<UploadPage />} />
        <Route path="/demo" element={<DemoPage />} />
        <Route path="/results" element={<ResultsPage />} />


      </Routes>
    </BrowserRouter>
  )
}

export default App
