diff --git a/apps/cs/app/(without-base-layout)/survey-article/[srvySn]/page.tsx b/apps/cs/app/(without-base-layout)/survey-article/[srvySn]/page.tsx new file mode 100644 index 000000000..a99cf686c --- /dev/null +++ b/apps/cs/app/(without-base-layout)/survey-article/[srvySn]/page.tsx @@ -0,0 +1,2 @@ +import { SurveyArticle } from "@/pages/survey"; +export default SurveyArticle; diff --git a/apps/cs/src/entities/code/ui/code-select.tsx b/apps/cs/src/entities/code/ui/code-select.tsx index 441f334e3..850282375 100644 --- a/apps/cs/src/entities/code/ui/code-select.tsx +++ b/apps/cs/src/entities/code/ui/code-select.tsx @@ -1,5 +1,6 @@ import { useQuery } from "@tanstack/react-query"; import { + cn, Select, SelectContent, SelectItem, @@ -12,12 +13,14 @@ import { CodeApi } from "../api/code-service"; type CodeSelectProps = { upCd: string; placeholder?: string; + className?: string; } & React.ComponentPropsWithoutRef; function CodeSelect({ upCd, defaultValue, placeholder = "선택", + className, ...props }: CodeSelectProps) { const { data: code } = useQuery({ @@ -31,7 +34,7 @@ function CodeSelect({ return ( + +
+ 직업 + +
+
+ 생년월일 + +
+
+ 성별 + +
+ + +
+
+ + +
+
+
+ + +
+
+ 답변 설명 +
+
+
+ + 1 + + +
+
+ + 2 + + +
+
+ + + + ); +} + +function RadioArticle() { + return ( +
+

질문 1

+ +
+
+ + +
+
+ + +
+
+
+
+ ); +} + +function CheckboxArticle() { + return ( +
+

질문 2

+
+
+ + +
+
+ + +
+
+
+ ); +} + +export { SurveyArticle };