summaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorBlaster4385 <[email protected]>2022-07-22 08:48:41 +0530
committerBlaster4385 <[email protected]>2022-07-22 08:48:41 +0530
commit3fd257b4fce2da8ffe56b1100e0f73448d89453b (patch)
treeb3c95edffe3b658f5fc5a6ab49ad5a29c3434169 /src/routes
parent0fb6667da5c0c97b5a0a44ea35705c51dacf0311 (diff)
Add photograph and document scanner pages
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/routes/index.js b/src/routes/index.js
index d6688c8..2a2669b 100644
--- a/src/routes/index.js
+++ b/src/routes/index.js
@@ -4,6 +4,8 @@ import { Route, Routes } from 'react-router-dom'
import Home from '../pages/Home/Home'
import Enrollment from '../pages/Enrollment/Enrollment'
import Update from '../pages/Update/Update'
+import PhotoCapture from '../pages/PhotoCapture/PhotoCapture'
+import DocumentScanner from '../pages/DocumentScanner/DocumentScanner'
const Index = () => {
return (
@@ -15,6 +17,12 @@ const Index = () => {
<Route path="update">
<Route index element={<Update />} />
</Route>
+ <Route path="photo">
+ <Route index element={<PhotoCapture />} />
+ </Route>
+ <Route path="documents">
+ <Route index element={<DocumentScanner />} />
+ </Route>
</Routes>
)
}