-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
…e-client into feature/create-clothes-intro-page # Conflicts: # src/route/index.tsx
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> | ||
); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
여기서 혹시 공개중으로 빠지는 경우가 있나요??
clothes page보니까 status가 대여불가능/대여중/대여가능 셋 중 하나일 것 같아서요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아 그건 맞는데 공개중도 똑같은 컴포넌트로 표시하기도 해서요! 제가 쓰지는 않지만 다른 데서도 이거를 써가지구 혹시 몰라서 넣어놨습니다!
…e-client into feature/create-clothes-intro-page # Conflicts: # src/data/messages.ts # src/models/enum.ts
생각보다 작업이 복잡해서 오래걸렸습니다. 이미지 유무, 내 옷인지 아닌지 등등 고려해서 짰습니다. 아 그리고 statussign 정말 코드가 별로인 건 알지만.. 색깔이 잘 안 넘어가서 오랫동안 고생하다 그냥 이렇게 썼습니다..
[내 옷이 아닌 경우]
[내 옷인 경우]