Skip to content

Commit

Permalink
feat: 이름 페이지
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeongjun3 committed Jan 12, 2025
1 parent 4e1007a commit 0e43092
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ button {
box-sizing: border-box;
}

input:focus {
outline: unset;
}

/* font family */
@font-face {
font-family: "Y Clover";
Expand Down
7 changes: 6 additions & 1 deletion src/pages/name/name.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import IconLeft from "@Assets/icons/icon-left.svg";
import { useNavigate } from "react-router-dom";
import SpeechBubble2 from "@Assets/images/speech-bubble2.png";
import CatFull from "@Assets/images/cat-full.png";
import { useState } from "react";

interface NamePageProps {}
export const NamePage = ({}: NamePageProps) => {
const [name, setName] = useState("");

return (
<div className={" w-full h-screen pt-[54px] flex flex-col items-center"}>
<BackButton />
Expand All @@ -23,8 +26,10 @@ export const NamePage = ({}: NamePageProps) => {

<div className="mt-[43px]">
<input
className="w-[227px] font-galmuri9 text-[24px] font-bold placeholder:text-[#CED1D5]"
className="w-[227px] font-galmuri9 text-[24px] font-bold placeholder:text-[#CED1D5] text-[#3E2731] text-center"
placeholder="이름을 입력해주세요"
value={name}
onChange={(e) => setName(e.target.value)}
/>
</div>
<div className="flex w-full justify-center items-end mt-auto mb-[48px] ">
Expand Down

0 comments on commit 0e43092

Please sign in to comment.