Skip to content

Commit

Permalink
Feat: 공구 결제 관련 임시 라우터 경로 추가 (#26)
Browse files Browse the repository at this point in the history
- 작성자 결제 페이지 라우터 임시 경로 추가
- 참여자 결제 페이지 라우터 임시 경로 추가
- 공구 진행 결제 완료 페이지 라우터 임시 경로 추가
- 테스트와 개발 편의를 위한 임시 경로 설정
  • Loading branch information
sunglitter committed Dec 1, 2024
1 parent 9550571 commit dbf35d2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/routes/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ import PaymentForm from '../components/pages/Payment/PaymentForm';
import PaymentSuccessPage from '../components/pages/Payment/PaymentSuccessPage';
import ScrollToTop from '../components/common/ScrollToTop';
import PostEditPage from '../components/pages/community/PostEditPage';
import PaymentAuthorPage from '../components/pages/community/PaymentAuthorPage';
import PaymentParticipantPage from '../components/pages/community/PaymentParticipantPage';
import PaymentCompletePage from '../components/pages/community/PaymentCompletePage';

const router = createBrowserRouter([
{
Expand Down Expand Up @@ -77,6 +80,18 @@ const router = createBrowserRouter([
path: '/community/posts/:postId/edit',
element: <PostEditPage />,
},
{
path: '/community/posts/:postId/payment/author',
element: <PaymentAuthorPage />,
},
{
path: '/community/posts/:postId/payment/participant',
element: <PaymentParticipantPage />,
},
{
path: '/community/posts/:postId/payment/complete',
element: <PaymentCompletePage />,
},
{
path: '/mypage',
children: [
Expand Down

0 comments on commit dbf35d2

Please sign in to comment.