Skip to content

Commit

Permalink
Merge pull request #1021 from peer-42seoul/1.0.5/I-TM/1019
Browse files Browse the repository at this point in the history
[1.0.5 / I-TM] 팀 설정 페이지 팀 로고에 디자인 반영
  • Loading branch information
HiHoi authored Feb 14, 2024
2 parents 92b54a2 + ff86fa7 commit e0100cf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/app/teams/[id]/setting/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ const TeamsSetupPage = ({ params }: { params: { id: string } }) => {
color="primary"
fullWidth
>
<Typography>신청 대기자 보기</Typography>
<Typography color={'white'} variant="Body1">
신청 대기자 보기
</Typography>
</Button>
</Stack>
<SetupMember
Expand Down
9 changes: 8 additions & 1 deletion src/app/teams/[id]/setting/panel/ApplicantList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,14 @@ const ApplicantList = ({

if (!data || data.length === 0) {
return (
<Card sx={{ p: '1.5rem', borderRadius: '1rem', height: '23rem' }}>
<Card
sx={{
p: '1.5rem',
borderRadius: '1rem',
height: '23rem',
backgroundColor: 'background.secondary',
}}
>
<Stack
direction="row"
display="flex"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ const SettingTeamLogo = ({
}: ISettingTeamLogo) => {
const { isOpen, openModal, closeModal } = useModal()
const [preview, setPreview] = useState<string>(
teamLogoImage.length !== 0 ? teamLogoImage : '/icons/ios/128.png',
teamLogoImage.length !== 0 ? teamLogoImage : '',
)

const deleteImage = () => {
setPreview('/icons/ios/128.png')
setPreview('')
setValue('teamImage', null)
setIsLogoEdit(true)
closeModal()
Expand Down

0 comments on commit e0100cf

Please sign in to comment.