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

Feature/create clothes intro page #12

Merged
merged 6 commits into from
Jan 17, 2024

Conversation

readygetset
Copy link
Collaborator

@readygetset readygetset commented Jan 16, 2024

생각보다 작업이 복잡해서 오래걸렸습니다. 이미지 유무, 내 옷인지 아닌지 등등 고려해서 짰습니다. 아 그리고 statussign 정말 코드가 별로인 건 알지만.. 색깔이 잘 안 넘어가서 오랫동안 고생하다 그냥 이렇게 썼습니다..
[내 옷이 아닌 경우]
스크린샷 2024-01-16 오후 5 24 02
[내 옷인 경우]
스크린샷 2024-01-16 오후 5 23 54

Comment on lines +55 to +70
if (status === '공개중') {
return (
<Box display={'flex'} alignItems={'center'} sx={{ mr: 1 }}>
<Box
sx={{
backgroundColor: 'black',
width: 10,
height: 10,
borderRadius: 100,
mr: 1,
}}
/>
<Typography>{status}</Typography>
</Box>
);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기서 혹시 공개중으로 빠지는 경우가 있나요??
clothes page보니까 status가 대여불가능/대여중/대여가능 셋 중 하나일 것 같아서요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아 그건 맞는데 공개중도 똑같은 컴포넌트로 표시하기도 해서요! 제가 쓰지는 않지만 다른 데서도 이거를 써가지구 혹시 몰라서 넣어놨습니다!

@readygetset readygetset merged commit 7008d02 into develop Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants