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: 서치 컴포넌트에 배지 추가 #431

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

tigris24
Copy link
Collaborator

@tigris24 tigris24 commented Dec 18, 2024

📄 Description of the PR

🔧 What has been changed?

  • 서치 컴포넌트에 배지와 카테고리를 추가했습니다.

📸 Screenshots / GIFs (if applicable)

⚠️ Precaution & Known issues

✅ Checklist

  • UI 브랜치 같이 확인해서 이슈없는지 확인해보기
  • 함수 이름, 변수 이름만 봐도 어떤 기능을 하는지 파악할 수 있는지 (선언적인 코드인지 확인)

Copy link
Collaborator

@smosco smosco left a comment

Choose a reason for hiding this comment

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

멋져요~ 고생하셨습니다~

Comment on lines +83 to +97
leftBadge={
<div className="flex gap-1">
<Badge className="">{result.category}</Badge>

{result.contentType !== 'READING' ? (
<div className="flex justify-center items-center bg-gradient-to-l from-red-500 to-orange-500 rounded-sm shadow-sm">
<Headphones className="p-1 h-6 w-6 text-white" />
</div>
) : (
<div className="flex justify-center items-center bg-gradient-to-l from-blue-500 to-sky-500 rounded-sm shadow-sm ">
<BookOpen className="p-1 h-6 w-6 text-white" />
</div>
)}
</div>
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

나이스~ 영래님 도와주셔서 감사합니다~!

@smosco smosco merged commit 57dd30d into develop Dec 18, 2024
1 check passed
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.

2 participants