File tree Expand file tree Collapse file tree 2 files changed +26
-7
lines changed
src/components/organisms/home/RecruitmentSummary Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1+ .timerWrapper {
2+ display : flex ;
3+ flex-direction : column ;
4+ align-items : center ;
5+ gap : 1rem ;
6+
7+ .timerDescription {
8+ font-size : 1.4rem ;
9+ font-weight : 500 ;
10+ color : #fff ;
11+ }
12+ }
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ import SummaryCard from '@/components/organisms/home/SummaryCards';
33import useTimer from '@/hook/useTimer' ;
44import { displayApplication } from '@/libs/utils/recruit' ;
55
6+ import styles from './index.module.scss' ;
7+
68type Props = {
79 currentStatus : 'before' | 'ongoing' | 'after' ;
810} ;
@@ -21,13 +23,18 @@ function RecruitmentSummary({ currentStatus }: Props) {
2123 { currentStatus === 'after' ? (
2224 < SummaryCard />
2325 ) : (
24- < Timer
25- dates = { dates }
26- hours = { hours }
27- minutes = { minutes }
28- seconds = { seconds }
29- isRecruiting = { isRecruiting }
30- />
26+ < div className = { styles . timerWrapper } >
27+ < div className = { styles . timerDescription } >
28+ { currentStatus === 'before' ? '모집 시작까지' : '모집 마감까지' }
29+ </ div >
30+ < Timer
31+ dates = { dates }
32+ hours = { hours }
33+ minutes = { minutes }
34+ seconds = { seconds }
35+ isRecruiting = { isRecruiting }
36+ />
37+ </ div >
3138 ) }
3239 </ >
3340 ) ;
You can’t perform that action at this time.
0 commit comments