diff --git a/app/(route)/indicators/_components/form/form.module.css b/app/(route)/indicators/_components/form/form.module.css new file mode 100644 index 0000000..335e174 --- /dev/null +++ b/app/(route)/indicators/_components/form/form.module.css @@ -0,0 +1,37 @@ +.wrapper { + display: flex; + flex-direction: column; + gap: 2px; +} + +.title { + font-size: 1.2rem; + font-weight: 700; +} + +.subTitle { + font-size: 0.7rem; + font-weight: 300; + margin-bottom: 10px; +} + +.inputWrapper { + display: flex; + align-items: center; + width: 100%; + height: auto; + border-radius: 15px; + padding: 14px 20px; + border: 1px solid #efefef; +} + +.input { + all: unset; + font-size: 0.83rem; +} + +.error { + font-size: 0.6rem; + color: #FF453A; + margin-top: 4px; +} diff --git a/app/(route)/indicators/_components/form/index.tsx b/app/(route)/indicators/_components/form/index.tsx new file mode 100644 index 0000000..826beda --- /dev/null +++ b/app/(route)/indicators/_components/form/index.tsx @@ -0,0 +1,24 @@ +import S from './form.module.css' + +interface Props { + title: string + subTitle?: string +} + +function Form({ + title, + subTitle = '해당 항목의 수치는 어떻게 되나요?', +}: Props) { + return ( +
+ {title} +

{subTitle}

+
+ +
+ 숫자만 입력 가능합니다. +
+ ) +} + +export default Form diff --git a/app/(route)/indicators/_components/result/index.tsx b/app/(route)/indicators/_components/result/index.tsx new file mode 100644 index 0000000..9d8bdc4 --- /dev/null +++ b/app/(route)/indicators/_components/result/index.tsx @@ -0,0 +1,21 @@ +import Nav from '@/app/_common/nav' +import Title from '@/app/_common/text/title' +import S from './result.module.css' + +//TODO: 사용자가 클릭한 아이디어 이름과 해당 툴을 사용한 사용자 수가 보여집니다. +function Result() { + return ( +
+