diff --git a/app/(route)/indicators/_components/form/FormTitle.tsx b/app/(route)/indicators/_components/form/FormTitle.tsx new file mode 100644 index 0000000..4154b83 --- /dev/null +++ b/app/(route)/indicators/_components/form/FormTitle.tsx @@ -0,0 +1,20 @@ +import S from './form.module.css' + +interface Props { + title: string + subTitle?: string +} + +function FormTitle({ + title, + subTitle = '해당 항목의 수치는 어떻게 되나요?', +}: Props) { + return ( +
+ {title} +

{subTitle}

+
+ ) +} + +export default FormTitle 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..74ce0f6 --- /dev/null +++ b/app/(route)/indicators/_components/form/form.module.css @@ -0,0 +1,36 @@ +.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.67rem; + color: #ff453a; +} 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 ( +
+