diff --git a/public/icons/check-mint.svg b/public/icons/check-mint.svg new file mode 100644 index 00000000..1d7bd34f --- /dev/null +++ b/public/icons/check-mint.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/interactions/index.jsx b/src/interactions/index.jsx index ce5f6954..f8dbd2b4 100644 --- a/src/interactions/index.jsx +++ b/src/interactions/index.jsx @@ -1,10 +1,59 @@ -import { useRef } from "react"; +import { useRef, useState } from "react"; import useSectionInitialize from "../scroll/useSectionInitialize"; export default function InteractionPage() { const SECTION_IDX = 1; const sectionRef = useRef(null); + const [currentInteraction, setCurrentInteraction] = useState(0); useSectionInitialize(SECTION_IDX, sectionRef); - return
; + const isJoinedList = [1, 0, 0, 1, -1]; + + return ( +
+ + EVENT 1 + + + + The 새로워진 IONIQ 5, 인터랙션으로 만나다 + + + + {`The new IONIQ 5의 새로운 기능을 날마다 체험하고 이벤트에 응모하세요!\n추첨을 통해 IONIQ과 함께하는 제주 여행 패키지를 드립니다`} + + +
+ {isJoinedList.map((isJoined, index) => ( +
setCurrentInteraction(index)} + className="flex flex-col items-center select-none" + > + 체크 0 ? "" : "invisible"}`} + /> + + + Day{index + 1} + + + 0 ? "text-green-400" : "text-neutral-700"}`} + > + {isJoined > 0 ? "참여 완료" : !isJoined ? "미참여" : ""} + +
+ ))} +
+ +
+ ); }