From 0f694f2e1fa7cc2b7ad1ba2c4f93a06cea4700d3 Mon Sep 17 00:00:00 2001 From: lydiacho Date: Sat, 3 Aug 2024 00:23:52 +0900 Subject: [PATCH] =?UTF-8?q?design:=20=EC=95=A0=EB=8B=88=EB=A9=94=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/CompletePage/index.tsx | 27 +++++++++++----- src/views/CompletePage/style.css.ts | 48 +++++++++++++++++++++++++++-- 2 files changed, 64 insertions(+), 11 deletions(-) diff --git a/src/views/CompletePage/index.tsx b/src/views/CompletePage/index.tsx index 1a5a4713..f0fca115 100644 --- a/src/views/CompletePage/index.tsx +++ b/src/views/CompletePage/index.tsx @@ -1,12 +1,21 @@ import { track } from '@amplitude/analytics-browser'; -import { useContext, useEffect, useState } from 'react'; +import { useContext, useState } from 'react'; import Button from '@components/Button'; import Callout from '@components/Callout'; import { RecruitingInfoContext } from '@store/recruitingInfoContext'; import IconCheckmark from './icons/IconCheckmark'; -import { container, icon, mainText, pointBoxVar, pointContainer, subText, surveyBox, thanksText } from './style.css'; +import { + container, + icon, + mainText, + pointBoxVar, + pointContainerVar, + subText, + surveyBox, + thanksTextVar, +} from './style.css'; const CompletePage = () => { const { @@ -24,7 +33,10 @@ const CompletePage = () => { setPoint(i); setTimeout(() => { setPoint('CHANGED'); - }, 1000); + }, 500); + setTimeout(() => { + setPoint(-1); + }, 2500); }; return ( @@ -45,10 +57,9 @@ const CompletePage = () => { textAlign: 'center', whiteSpace: 'pre-line', }}>{`지원서 이용 만족도를 0-10점 중에 선택해주세요.\n의견을 주시면 프로덕트 개선에 도움이 됩니다.`} - {point === 'CHANGED' ? ( - 소중한 의견 감사합니다 :) - ) : ( -