From e3be9670ec53feedda1539e71a46c603e4c9f3ce Mon Sep 17 00:00:00 2001 From: thgee Date: Thu, 15 Aug 2024 10:50:42 +0900 Subject: [PATCH 01/14] =?UTF-8?q?feat:=20[=EC=9D=91=EB=AA=A8=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C=20=ED=8E=98=EC=9D=B4=EC=A7=80]=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EC=83=9D=EC=84=B1=20=EB=B0=8F=20=EB=9D=BC=EC=9A=B0?= =?UTF-8?q?=ED=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/service/src/constants/routes.ts | 1 + packages/service/src/pages/LotteryApplyFinish/index.ts | 1 + packages/service/src/router.tsx | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 packages/service/src/pages/LotteryApplyFinish/index.ts diff --git a/packages/service/src/constants/routes.ts b/packages/service/src/constants/routes.ts index e316236d..c6efaac7 100644 --- a/packages/service/src/constants/routes.ts +++ b/packages/service/src/constants/routes.ts @@ -16,3 +16,4 @@ export const PARTS_COLLECTION_PAGE_ROUTE = "/parts-collection" as const; export const SHARE_PAGE_ROUTE = "/share/:linkKey" as const; export const N_QUIZ_EVENT_PAGE_WINNER_APLLY_PAGE_ROUTE = "/quiz-event-apply" as const; +export const LOTTER_APPLY_FINISH_PAGE_ROUTE = "/lottery/apply-finish" as const; diff --git a/packages/service/src/pages/LotteryApplyFinish/index.ts b/packages/service/src/pages/LotteryApplyFinish/index.ts new file mode 100644 index 00000000..b45090c5 --- /dev/null +++ b/packages/service/src/pages/LotteryApplyFinish/index.ts @@ -0,0 +1 @@ +export { LotteryApplyFinish } from "./LotteryApplyFinish"; diff --git a/packages/service/src/router.tsx b/packages/service/src/router.tsx index 58206498..0411eb79 100644 --- a/packages/service/src/router.tsx +++ b/packages/service/src/router.tsx @@ -16,6 +16,7 @@ import { PARTS_COLLECTION_PAGE_ROUTE, SHARE_PAGE_ROUTE, N_QUIZ_EVENT_PAGE_WINNER_APLLY_PAGE_ROUTE, + LOTTER_APPLY_FINISH_PAGE_ROUTE, } from "./constants/routes"; import { RotateDemoPage } from "./Demo/pages/RotateDemoPage"; import { AuthDemoPage } from "./Demo/pages/AuthDemoPage"; @@ -36,6 +37,7 @@ import { Share, NQuizEventWinnerApply, } from "./pages"; +import { LotteryApplyFinish } from "./pages/LotteryApplyFinish"; export const router = createBrowserRouter([ { @@ -53,6 +55,10 @@ export const router = createBrowserRouter([ path: N_QUIZ_EVENT_PAGE_WINNER_APLLY_PAGE_ROUTE, element: , }, + { + path: LOTTER_APPLY_FINISH_PAGE_ROUTE, + element: , + }, ], }, { From 46743d62b2eff31b195ae92e5fa353b7c31c4fb0 Mon Sep 17 00:00:00 2001 From: thgee Date: Thu, 15 Aug 2024 10:51:11 +0900 Subject: [PATCH 02/14] =?UTF-8?q?feat:=20[=EC=9D=91=EB=AA=A8=20=EC=99=84?= =?UTF-8?q?=EB=A3=8C=20=ED=8E=98=EC=9D=B4=EC=A7=80]=20HTML=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LotteryApplyFinish/LotteryApplyFinish.tsx | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 packages/service/src/pages/LotteryApplyFinish/LotteryApplyFinish.tsx diff --git a/packages/service/src/pages/LotteryApplyFinish/LotteryApplyFinish.tsx b/packages/service/src/pages/LotteryApplyFinish/LotteryApplyFinish.tsx new file mode 100644 index 00000000..d85160e5 --- /dev/null +++ b/packages/service/src/pages/LotteryApplyFinish/LotteryApplyFinish.tsx @@ -0,0 +1,70 @@ +import { useNavigate } from "react-router-dom"; +import * as style from "./LotteryApplyFinish.css"; +import { Button, ButtonVariant } from "@service/common/components/Button"; +import { ClipBoardButton } from "@service/common/components/ClipBoardButton"; +import { theme } from "@watermelon-clap/core/src/theme"; +import { Space } from "@service/common/styles/Space"; +import { css } from "@emotion/react"; +import { MAIN_PAGE_ROUTE } from "@service/constants/routes"; + +export const LotteryApplyFinish = () => { + const navigator = useNavigate(); + return ( +
+
+

응모완료

+ 이벤트에 응모되었습니다. +
+ +
+
+ 내 컬렉션 URL + + 링크를 통해 친구가 이벤트를 참여하면 추가 뽑기권을 드려요! + + +
+
공유링크
+ +
+
+ + + +
+ + 새롭게 출시된 아반떼 N에 대한 기대평을 남겨주세요 🥳 + + + 남겨주신 기대평은 홈화면에 노출될 수 있습니다! 최대 50자까지 작성할 + 수 있어요. + + +
+