-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.jsx
38 lines (35 loc) · 1.45 KB
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React from 'react';
import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import StartPage from './StartPage';
import VendorPage from './VendorPage';
import CustomerPage from './CustomerPage';
import LoginPage from './LoginPage';
import YourComponent from './show'; // Assuming YourComponent is correctly imported
import DeleteDocument from './delete';
import UpdateDocument from './update';
import BiddingPage from './bid';
import MyComponent from './customershow';
import TeachableMachineComponent from './model';
import UpdateComp from './updatecomp';
import SignUpPage from './signup.jsx';
function App() {
return (
<Router>
<Routes>
<Route path="/" element={<StartPage />} />
<Route path="/login" element={<LoginPage />} />
<Route path="/signup" element={<SignUpPage />} />
<Route path="/vendor" element={<VendorPage />} />
<Route path="/show" element={<YourComponent />} />
<Route path="/customer" element={<CustomerPage />} />
<Route path="/delete" element={<DeleteDocument />} />
<Route path="/update" element={<UpdateDocument />} />
<Route path="/bid/:collectionName/:userId" element={<BiddingPage />} />
<Route path="/showc" element={<MyComponent/>}></Route>
<Route path="/model" element={<TeachableMachineComponent/>}></Route>
<Route path="/updatec" element={<UpdateComp/>}></Route>
</Routes>
</Router>
);
}
export default App;