diff --git a/src/components/name.module.scss b/src/components/name.module.scss new file mode 100644 index 0000000..bb0bfbf --- /dev/null +++ b/src/components/name.module.scss @@ -0,0 +1,29 @@ +section { + position: relative; + + .nameTable { + + } + + .line { + + } + + .basket { + position: absolute; + + button { + position: absolute; + + .button1 { + left: 0; + top: 10px; + z-index: 10; + } + + .button2 { + right: 0; + } + } + } +} \ No newline at end of file diff --git a/src/components/name.tsx b/src/components/name.tsx new file mode 100644 index 0000000..e92f26a --- /dev/null +++ b/src/components/name.tsx @@ -0,0 +1,45 @@ +import classes from "./name.module.scss"; + + +const nameChars = [ + "가감갑강건겸경고공곽관교구국권", + "규균금기김나난남노다도동라랑로", + "록류륜리린림마명무묵문미민박방배", + "백범변병보빈빛삭상서석선성세소", + "손솔송수순승시신아안양엘연열영", + "예오옥완요용우욱웅원유윤율은의", + "이인일임장재전정제조종주준지진", + "차찬창채천철청최태택하한함해허", + "헌혁현형혜호홍환황효후훈휘흔희", +].join("").split(""); // 135 = 15 * 9 characters + 1 + + + +export default function Name() { + return ( +
+

여러분의 이름에 포함된 글자를 바구니에 담아보아요

+
+ 같은 글자는 두 번 다시 나타나지 않아요. 글자를 놓쳤다면 처음부터!!! +
+
+ {nameChars.map(char => ( + + + + ))} +
+
+ basket + + +
+
+ ) +} diff --git a/src/pages/first_page.tsx b/src/pages/first_page.tsx index bf117c2..0900772 100644 --- a/src/pages/first_page.tsx +++ b/src/pages/first_page.tsx @@ -13,7 +13,7 @@ const FirstPage = () => { setAgree(false); setTimeout(() => { setAgree(true); - }, 1000); + }, 500); }; const nextPageHandler = (_: any) => {