Skip to content

Commit 0c2f067

Browse files
authored
feat: 작품 둘러보기 api 연결 및 구현 완료 (#210)
* feat: 작품 둘러보기 api 연결 및 구현 완료 * feat: 작품 둘러보기 주소 변경
1 parent 775ca26 commit 0c2f067

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

src/App.jsx

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,14 @@ function App() {
5656
<AuthProvider>
5757
<Routes>
5858
<Route path="/" element={<DefaultLayout />}>
59-
<Route path="admin/scriptManage" element={<AdminSwitch page={0} />} />
60-
<Route path="admin/orderManage" element={<AdminSwitch page={1} />} />
59+
<Route
60+
path="admin/scriptManage"
61+
element={<AdminSwitch page={0} />}
62+
/>
63+
<Route
64+
path="admin/orderManage"
65+
element={<AdminSwitch page={1} />}
66+
/>
6167

6268
<Route index element={<MainVer2 />} />
6369
<Route path="v1" element={<MainVer1 />} />
@@ -68,13 +74,14 @@ function App() {
6874
<Route path="signin/v2" element={<SignInV2 />} />
6975
<Route path="signin/find/:id" element={<FindBar />} />
7076

71-
<Route path="post-list" element={<PostGallery />} />
72-
<Route path="post-list/detail/:id" element={<Detail />} />
73-
74-
<Route path="list" element={<List />} />
77+
{/* <Route path="list" element={<List />} /> */}
78+
<Route path="list" element={<PostGallery />} />
7579
<Route path="list/detail/:id" element={<Detail />} />
7680

77-
<Route path="purchase/:id" element={<ProtectedRoute element={<Purchase />} />} />
81+
<Route
82+
path="purchase/:id"
83+
element={<ProtectedRoute element={<Purchase />} />}
84+
/>
7885

7986
<Route element={<MarginLayout />}>
8087
<Route path="policy/:id" element={<PolicyBar />} />
@@ -85,9 +92,15 @@ function App() {
8592
path="purchase/success"
8693
element={<ProtectedRoute element={<PurchaseSuccess />} />}
8794
/>
88-
<Route path="purchase/abort" element={<ProtectedRoute element={<Abort />} />} />
95+
<Route
96+
path="purchase/abort"
97+
element={<ProtectedRoute element={<Abort />} />}
98+
/>
8999
<Route path="post" element={<PostWork />} />
90-
<Route path="mypage/liked" element={<ProtectedRoute element={<LikedWorks />} />} />
100+
<Route
101+
path="mypage/liked"
102+
element={<ProtectedRoute element={<LikedWorks />} />}
103+
/>
91104
<Route
92105
path="mypage/purchased"
93106
element={<ProtectedRoute element={<PurchasedScript />} />}

0 commit comments

Comments
 (0)