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

Feat/#264: 어학 공지사항 기능 추가 #297

Merged
merged 9 commits into from
Dec 28, 2023
Merged

Feat/#264: 어학 공지사항 기능 추가 #297

merged 9 commits into from
Dec 28, 2023

Conversation

pp449
Copy link
Member

@pp449 pp449 commented Dec 23, 2023

🤠 개요

  • closes: Feat: 홈 화면에 어학 관련 카드 추가 #264

  • 어학 공지사항, 채용 공지사항의 카드 컴포넌트를 추가했어요

  • 어학 공지사항은 확인이 가능하지만 채용 공지사항은 아직 에러가 발생해요

  • 기존에 공지사항을 서버에 요청하는 방식을 일부 수정했어요 (이전에는 학과가 있는지 없는지 매개변수로 넘겨줬다면 현재는 엔드포인트값을 직접 넘겨주도록 변경했어요)

  • 나중에 작업할 채용 공지사항의 경우 업로드 날짜가 아닌 채용 기간을 보여주기에 해당 사항도 일부 수정할 필요가 있어보여요!

💫 설명

📷 스크린샷 (Optional)

image image

어학과 채용 공지 UI 에 필요한 아이콘 추가
Primary color 를 조금 더 진한 파란색으로 변경
해당 컴포넌트에 취업 길라잡이, 어학 공지사항 카드 추가
해당 상수값이 다른 변수에 재할당되어 타입 에러가 발생하는 문제 해결을 위해 readonly 타입 제거
기존에는 학과가 있는지 없는지에 대한 값을 매개변수로 받았지만 확장성을 위해 엔드포인트를 직접 받아서 요청하도록 변경
@pp449 pp449 added the ✨ feat label Dec 23, 2023
@pp449 pp449 self-assigned this Dec 23, 2023
link: string;
}

const InformHalfCardList = ({
Copy link
Collaborator

Choose a reason for hiding this comment

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

해당 컴포넌트는 리스트보다 하나의 카드를 보여주는 컴포넌트 같은데 List를 컴포넌트 이름에서 제거하는게 어떨까요~?

Comment on lines 15 to 28
<HalfCardWrapper>
<InformHalfCardList
iconKind="account"
title="취업 길라잡이"
subTitle="채용 정보 확인"
link="/announcement/recruit/normal"
/>
<InformHalfCardList
iconKind="language"
title="어학 공지사항"
subTitle="어학 정보 확인"
link="/announcement/language/normal"
/>
</HalfCardWrapper>
Copy link
Collaborator

Choose a reason for hiding this comment

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

InformHalfCardListInformHalfCard를 구분해서 만들고,
InformHalfCardList 내부에서 InformHalfCard 을 호출하는건 어떨까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

그러면 InformHalfCardList -> InformHalfCard
HalfCardWrapper -> InformHalfCardList
가 되는건가요?

Copy link
Collaborator

Choose a reason for hiding this comment

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

예예 맞습니더

@pp449 pp449 merged commit 1f840f0 into dev Dec 28, 2023
1 check passed
@pp449 pp449 deleted the feat/#264 branch December 28, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: 홈 화면에 어학 관련 카드 추가
2 participants