From 85548a80c28c672b5f73af809f7bcbe410d1db80 Mon Sep 17 00:00:00 2001 From: HyunWoo Choi <116826162+chhw130@users.noreply.github.com> Date: Sun, 10 Dec 2023 20:28:13 +0900 Subject: [PATCH] =?UTF-8?q?style(form)=20:=20form=20input=20/=20focus=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref:[#4,#5] --- component/form/UserInfoForm.tsx | 6 ++- component/form/UserPhysicForm.tsx | 85 +++++++++++++++++++++++++++++-- component/input/MainInput.tsx | 1 + 3 files changed, 86 insertions(+), 6 deletions(-) diff --git a/component/form/UserInfoForm.tsx b/component/form/UserInfoForm.tsx index db97ef5..c476f6e 100644 --- a/component/form/UserInfoForm.tsx +++ b/component/form/UserInfoForm.tsx @@ -85,7 +85,11 @@ const UserInfoForm = ({ setFunnel }: UserInfoFormPropsType) => { 이름 - + diff --git a/component/form/UserPhysicForm.tsx b/component/form/UserPhysicForm.tsx index 6c13255..4da0b8d 100644 --- a/component/form/UserPhysicForm.tsx +++ b/component/form/UserPhysicForm.tsx @@ -1,7 +1,20 @@ -import { ButtonGroup, Flex } from "@chakra-ui/react"; import React from "react"; import MainInput from "../input/MainInput"; import MainButton from "../button/MainButton"; +import { + Box, + ButtonGroup, + Flex, + FormControl, + FormLabel, + HStack, + Heading, + Input, + InputGroup, + InputLeftElement, + InputRightElement, + Text, +} from "@chakra-ui/react"; interface UserPhysicsFormPropsType { setFunnel: React.Dispatch>; @@ -9,10 +22,72 @@ interface UserPhysicsFormPropsType { const UserPhysicForm = ({ setFunnel }: UserPhysicsFormPropsType) => { return ( - - - - 다음으로 + + + + 거의 다 왔어요! + + + 신체정보를 입력해주세요 + + + + + + 나이 + + + + 만 + + + + 세 + + + + + + + 키 + + + + + cm + + + + + + 체중 + + + + + kg + + + + + + setFunnel("userPhysics")} + > + 다음으로 + ); diff --git a/component/input/MainInput.tsx b/component/input/MainInput.tsx index 79737fd..3ebd0db 100644 --- a/component/input/MainInput.tsx +++ b/component/input/MainInput.tsx @@ -9,6 +9,7 @@ const MainInput = ({ h, w, placeholder }: InputProps) => { border={"1px solid #BCBCBC"} borderRadius={"12px"} placeholder={placeholder} + focusBorderColor={"black"} /> ); };