Skip to content

Commit

Permalink
Feat: 래플 업로드 페이지 추가 #10
Browse files Browse the repository at this point in the history
래플 업로드 페이지 생성
  • Loading branch information
devhaeun committed Jan 23, 2025
1 parent d05788a commit ecd4e24
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions src/pages/RaffleUploadPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import styled from "styled-components";

const RaffleUploadPage = () => {
return (
<UploadContainer>
<div>상품 정보</div>
<div>거래 설정</div>
<button>업로드</button>
</UploadContainer>
);
};

export default RaffleUploadPage;

const UploadContainer = styled.div`
display: flex;
flex-direction: column;
`
3 changes: 2 additions & 1 deletion src/routes/router.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from 'react';
import { createBrowserRouter, RouterProvider } from 'react-router-dom';
import RaffleUploadPage from '../pages/RaffleUploadPage';

const router = createBrowserRouter([
{
path: '/',
element: <h1>홈 페이지</h1>,
element: <RaffleUploadPage />,
children: [],
},
]);
Expand Down

0 comments on commit ecd4e24

Please sign in to comment.