-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Feat/#47] Main 페이지 캐러셀 구현 #51
Conversation
This reverts commit 0417ac6.
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.
LGTM ~
잘했다 ~
isImage && isLast | ||
? '47.8rem' | ||
: isImage && !isLast | ||
? '59.8rem' | ||
: !isImage && isLast | ||
? '68.2rem' | ||
: '85.8rem'}; |
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.
p5) 헉 너무 야무지게 잘했네잉 ~
${({ theme }) => theme.fonts.body3}; | ||
`; | ||
|
||
const Image = styled.img<{ isLast: boolean }>` |
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.
p5 )어이구 타스도 잘 쓰네 ..
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.
LGTM
|
||
export default Carousel; | ||
|
||
const CarouselContentWithSummaryWrapper = styled.div``; |
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.
[ P3 ] 이렇게 돔을 하나더 추가할 필요 없이
<></> fragment 사용하면 좋아요 이건 dom에 추가안돼서 지금처럼 스타일 없는 div를 추가할 필요 없습니다!
https://react.dev/reference/react/Fragment
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.
넵 참고하겠습니다!!!
{subtext} | ||
</SubText> | ||
</TextContainer> | ||
{image && <Image src={image} isLast={isLast} alt="group-content-image" />} |
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.
[P5] alt 적용해서 시맨틱하게 코드짜는거 배워갑니다~
✨ 해당 이슈 번호 ✨
closed #47
todo
📌 내가 알게 된 부분
📌 질문할 부분
📌스크린샷(선택)
2024-01-11.8.38.34.mov
2024-01-11.8.32.38.mov