-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.jsx
27 lines (25 loc) · 999 Bytes
/
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
import { Route, Routes } from "react-router-dom";
import Layout from "./src/Layout/Layout";
import Home from "./src/pages/Discover/Home";
import Profile from "./src/pages/Profile/Profile";
import Upload from "./src/pages/Upload/Upload";
import Item from "./src/pages/Item/Item";
import Faq from "./src/pages/Faq/Faq";
import EditProfile from "./src/pages/Profile/Edit-profile/Edit-profile";
import ConnectWallet from './src/pages/Wallet/Connect-wallet';
function App() {
return (
<Routes>
<Route path="/" element={<Layout />}>
<Route path="" element={<Home />} />
<Route path="/home/upload" element={<Upload />} />
<Route path="/item/1" element={<Item />} />
<Route path="/profile" element={<Profile />} />
<Route path="/connect-wallet" element={<ConnectWallet />} />
<Route path="/profile/edit-profile" element={<EditProfile />} />
<Route path="/faq" element={<Faq />} />
</Route>
</Routes>
);
}
export default App;