import { useState } from "react";
import reactLogo from "./assets/react.svg";
import viteLogo from "/vite.svg";
import "./App.css";
import AttendenceCorrection from "./Components/AttendenceCorrection";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import AnomolyReassigned from "./Components/AnomolyReassigned";
import Home from "./Components/Home";
import ReassignedStats from "./Components/ReassignedStats";
import IndividualExamCentreStats from "./Components/IndividualExamCentreStats";
import PartAReassigned from "./Components/PartAReassigned";
import PartACorrection from "./Components/PartACorrection";
import Verification from "./Components/Verification";
import Statistics from "./Components/Statistics";
import AnomolyAttendencePage from "./Components/AnomolyAttendencePage";
import AttendenceAdditionalRecord from "./Components/AttendenceAdditionalRecord";
import AttendenceAdditionalRecordCorrection from "./Components/AttendenceAdditionalRecordCorrection";
import AttendanceAdditionalSheet from "./Components/AttendanceAdditionalSheet";
import QueryExecutor from "./Components/QueryExecutor";
import RecordEditor from "./Components/RecordEditor";
import VerifyMarks from "./Components/VerifyMarks";
import QueryCardEditor from "./Components/QueryCardEditor";
import AnomolyPartC from "./Components/AnomolyPartC";
import BarcodeScanner from "./Components/BarcodeScanner"
import EvQrcode from "./Components/EvQrcode";
import QrcodeCardEditor from "./Components/QrCodeCardEditor";
import StudentResultsData from "./Components/StudentsResultsData";

function App() {
  return (
    <>
      <BrowserRouter>
        <Routes>
          <Route path="/" element={<Home />}></Route>
          <Route path="/sqlPlayground" element={<QueryExecutor />}></Route>
          <Route path="/sqlPlayground/edit" element={<QueryCardEditor/>}></Route>
          <Route path="/evQrcode/edit" element={<QrcodeCardEditor/>}></Route>
          <Route path="/studentsDetails" element={<StudentResultsData/>}></Route>
          <Route
            path="/anomoly/attendence/reassigned"
            element={<AnomolyReassigned />}
          ></Route>
          <Route
            path="/sqlPlayground/Editor"
            element={<RecordEditor />}
          ></Route>
          <Route
            path="/anomoly/attendence/additionalSheet"
            element={<AttendanceAdditionalSheet />}
          ></Route>
          <Route path="/barcodeScanner" element={<BarcodeScanner/>}></Route>
          <Route
            path="/anomoly/reassigned/booklet"
            element={<AttendenceCorrection />}
          ></Route>
          <Route
            path="/anomoly/reassigned/stats"
            element={<ReassignedStats />}
          ></Route>
          <Route
            path="/anomoly/attendence"
            element={<AnomolyAttendencePage />}
          ></Route>
          <Route
            path="/anomoly/attendence/additionalRecord"
            element={<AttendenceAdditionalRecord />}
          />
          <Route
            path="/anomoly/attendence/additionalRecord/correction"
            element={<AttendenceAdditionalRecordCorrection />}
          />
          <Route
            path="/anomoly/reassigned/stats/:exam_centre_code"
            element={<IndividualExamCentreStats />}
          ></Route>
          <Route path="/anomoly/PartA" element={<PartAReassigned />}></Route>
          {/* <Route
               path="/verification"
               element={<Verification/>}
          >
          </Route> */}
          <Route path="/statistics" element={<Statistics />}></Route>
          <Route
            path="/anomoly/partA/booklet"
            element={<PartACorrection />}
          ></Route>
          <Route path="/anomoly/partC" element={<AnomolyPartC/>}></Route>
          <Route path="/evQrcode" element={<EvQrcode/>}></Route>
        </Routes>
      </BrowserRouter>
    </>
  );
}

export default App;
