Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0.6] 인터뷰 UX 개선 #1074

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions src/app/teams/[id]/setting/panel/ApplicantList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const ApplicantList = ({

return (
<Card
sx={{ p: 3, borderRadius: '1rem', height: '20rem', overflow: 'auto' }}
sx={{ p: 3, borderRadius: '1rem', height: '30rem', overflow: 'auto' }}
>
<Stack
direction="row"
Expand Down Expand Up @@ -243,14 +243,24 @@ const ApplicantList = ({

<Stack p={2} ref={scrollRef}>
<Typography fontWeight="bold">인터뷰 답변</Typography>
<Stack borderRadius={2} p={2} height={'100%'}>
<Stack borderRadius={2} p={2} height={'100%'} spacing={'1rem'}>
{!member && <Typography>신청한 사람이 없습니다.</Typography>}
{member && member.answers ? (
member.answers.map((interview, index) => (
<Stack key={index} m={1}>
<Typography>{interview.question}</Typography>
<FormAnswer interview={interview} index={index} />
</Stack>
<Card
key={interview.question}
sx={{
backgroundColor: 'background.secondary',
padding: '1rem',
}}
>
<Stack spacing={'0.5rem'}>
<Typography variant="Body1Emphasis">
{interview.question}
</Typography>
<FormAnswer interview={interview} index={index} />
</Stack>
</Card>
))
) : (
<Typography>인터뷰가 없습니다.</Typography>
Expand Down
Loading