Skip to content

[Tu-139] 동아리 링크모음 ui 구현 #1573

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

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

[Tu-139] 동아리 링크모음 ui 구현 #1573

wants to merge 4 commits into from

Conversation

Minseong-Choi
Copy link
Contributor

📌 요약 *

It closes #issue_number

-동아리 링크 모음 UI 구현

  • 작업요약2

⭐문서 링크⭐

  1. API sheet:
  2. Figma:

디펜던시 있는 변경사항(혹은 리뷰어가 알아야 할 참고사항)

  • 없음

이후 작업해야 할 todo list

  • 없음

🔴 리뷰 Due Date: x월 x일 (x요일)

📸 스크린샷

프론트의 경우 리뷰가 필요한 화면 URL 목록: /main
image

Copy link

@Minseong-Choi Minseong-Choi changed the title Tu 139 [Tu-139] Apr 2, 2025
@Minseong-Choi Minseong-Choi requested a review from wjeongchoi April 2, 2025 10:40
@Minseong-Choi Minseong-Choi self-assigned this Apr 2, 2025
@jooyeongmee
Copy link
Collaborator

jooyeongmee commented Apr 2, 2025

pr 제목은 [이슈 번호] 이슈 요약 형식으로 작성해주세요~
labels에 프론트엔드 추가해주세요~

Copy link
Contributor

@wjeongchoi wjeongchoi left a comment

Choose a reason for hiding this comment

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

기존에 구현되어 있는 컴포넌트를 직접 구현하신 것들이 많은데, 뭔가 '이런거 있을 것 같은데' 싶은 것들은 프론트 채널에 질문 주셔도 좋을 것 같아요!

https://mui.com/material-ui/material-icons/ 여기에 아이콘 뭐 있는지 검색할 수 있어서 여기 보고 작업하시면 도움될거에요

Copy link
Contributor

Choose a reason for hiding this comment

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

아이콘 svg로 안 하고 기존에 구현된 Icon 컴포넌트를 쓰면 좋을 것 같아요!

<IconWrapper>
<Image src={icon} alt={`${title} Icon`} width={30} height={30} />
</IconWrapper>
<TextWrapper>{title}</TextWrapper>
Copy link
Contributor

Choose a reason for hiding this comment

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

Typography 라는 컴포넌트가 있어서 그걸 사용하면 좋을 것 같아요!

/>
))
) : (
<EmptyLinkText>등록된 링크가 없습니다.</EmptyLinkText>
Copy link
Contributor

Choose a reason for hiding this comment

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

요것도 Typography 쓰면 좋을 것 같아요

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ClubDetailCard에 EmptyDetailText처럼 만든거였는데 typography랑 layout으로 따로 분리하는게 좋을까요??

Copy link
Contributor

Choose a reason for hiding this comment

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

이건 코드 작성 스타일의 차이일 것 같네요!
Typography를 사용한 다음 style을 입혀주는 방법도 있고, 지금처럼 div를 정의할 수도 있고, styled(Typography) 이렇게 상속해서 쓰는 방법도 있는데 선택하기 나름일 것 같아요

},
];

const ClubLinksList: React.FC = () => (
Copy link
Contributor

Choose a reason for hiding this comment

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

지금은 UI 구현이라 당장 수정하지 않아도 되지만, 리스트를 prop으로 받아오는 형태가 나중에 api 응답 받아서 쓸 때 더 좋을 것 같아요!

@Minseong-Choi Minseong-Choi changed the title [Tu-139] [Tu-139] 동아리 링크모음 ui 구현 Apr 23, 2025
@Minseong-Choi Minseong-Choi requested a review from wjeongchoi May 25, 2025 05:36
Comment on lines 71 to 75
style={{
color: "theme.colors.PRIMARY",
textAlign: "center",
fontFamily: "Pretendard",
fontSize: "16px",
fontWeight: 400,
lineHeight: "20px",
}}
>
Copy link
Contributor

Choose a reason for hiding this comment

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

여기에서 textAlign을 제외하면 모두 Typography prop으로 나타낼 수 있어요!
fontFamily, fontWeight은 기본값이 pretendard, 400이라 쓰지 않아도 괜찮아요

/>
))
) : (
<EmptyLinkText>등록된 링크가 없습니다.</EmptyLinkText>
Copy link
Contributor

Choose a reason for hiding this comment

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

이건 코드 작성 스타일의 차이일 것 같네요!
Typography를 사용한 다음 style을 입혀주는 방법도 있고, 지금처럼 div를 정의할 수도 있고, styled(Typography) 이렇게 상속해서 쓰는 방법도 있는데 선택하기 나름일 것 같아요

Copy link
Contributor

@wjeongchoi wjeongchoi left a comment

Choose a reason for hiding this comment

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

요거 바로 배포 나갈 준비 된 상태인가요?? 아니라면 process.env.NEXT_PUBLIC_APP_MODE !== "production" 이 조건문 이용해서 실 배포에는 안 나가게 하면 좋을 것 같아요! 나머지 수정은 굿입니당

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants