Skip to content

Commit c3c60d6

Browse files
committed
chore: 모집 타이머가 어떤 시간을 의미하는지에 대한 설명 추가
1 parent eff3d45 commit c3c60d6

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
}

src/components/organisms/home/RecruitmentSummary/index.tsx

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import SummaryCard from '@/components/organisms/home/SummaryCards';
33
import useTimer from '@/hook/useTimer';
44
import { displayApplication } from '@/libs/utils/recruit';
55

6+
import styles from './index.module.scss';
7+
68
type 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
);

0 commit comments

Comments
 (0)