Skip to content

Conversation

@wlrnjs
Copy link
Member

@wlrnjs wlrnjs commented Sep 25, 2025

📄 PR 내용 요약

  • 공통 컴포넌트 신규 개발
    • Dropdown-menu
    • Chip
    • Flavor
    • Asset
  • Aroma 이미지 추가

✅ 작업 내용 상세

피그마 Asset에는 아이템이 15개 있는데 스웨거 타입에선 19개가 있어서 이미지 갯수가 부족합니다.
우선 이미지 3개는 주석을 남겨뒀고, /aroma-no-image.jpg 로 추가해뒀습니다

현재 aroma 관련 이미지가 public/images 안에 전부 있는데,
폴더 구조를 aroma로 따로 구분하는게 좋을지 의견 주시면 감사하겠습니다.

📸 스크린샷

스크린샷 2025-09-26 01 46 51

💬 참고 사항

테스트 이미지는 public/images/test에 있습니다!

스토리북에서 확인 가능하지만, 필요하다면 http://localhost:3000/example에서도 확인 가능합니다.

@wlrnjs wlrnjs self-assigned this Sep 25, 2025
@wlrnjs wlrnjs added the 🎨 Design UI/UX, 디자인 변경 label Sep 25, 2025
@vercel
Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
wine Ready Ready Preview Comment Sep 26, 2025 0:34am

@junye0l
Copy link
Member

junye0l commented Sep 26, 2025

이미지 파일이 꽤나 많아서 아로마 관련 이미지는 폴더를 따로 만들어서 관리하는게 좋을 것 같네요 🙇🏻

Copy link
Contributor

@huuitae huuitae 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 17 to 20
const items: { label: string; href?: string; onClick?: () => void }[] = [
{ label: "마이페이지", href: "/my-page" },
{ label: "로그아웃", onClick: () => console.log("logout") },
];
Copy link
Contributor

Choose a reason for hiding this comment

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

해당 드롭다운은 마이페이지와 로그아웃을 표출하는 부분에서만 사용가능할 것 같습니다.
수정하기, 삭제하기 버튼이 있는 드롭다운도 같이 사용할 수 있나요?

Copy link
Member Author

Choose a reason for hiding this comment

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

피그마 컴포넌트에선 마이페이지, 로그아웃만 나와있어서 고려하지 못했습니다.
해당 부분 수정해서 PR 업데이트 하겠습니다!

@suuuuya
Copy link
Contributor

suuuuya commented Sep 26, 2025

고생 많으셨습니다!

suuuuya
suuuuya previously approved these changes Sep 26, 2025
Comment on lines 12 to 28
const Chip = ({ img, label }: ChipProps) => {
const [selected, setSelected] = useState(false);

return (
<div
data-selected={selected}
className={cn(
"flex-center h-[38px] cursor-pointer rounded-full border text-body-sm tracking-[-0.02em]",
"transition-colors duration-150 ease-in-out hover:bg-gray100 hover:text-black",
"data-[selected=true]:bg-gray800 data-[selected=true]:text-white data-[selected=true]:hover:bg-gray800 data-[selected=true]:hover:text-white",
"pc:h-[48px] pc:text-body-md",
img
? "gap-2 pl-2 pr-4 mobile:gap-[6px] mobile:pr-3"
: "px-[18px] mobile:px-3"
)}
onClick={() => setSelected(!selected)}
>
Copy link
Contributor

Choose a reason for hiding this comment

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

혹시 버튼 컴포넌트가 없어 임시로 작업해두신걸까요? 클릭 가능한 요소라면 접근성 개선을 위해 <button> 태그로 개선해도 좋을 것 같습니다!

Copy link
Member Author

Choose a reason for hiding this comment

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

감사합니다 반영했습니다!

junye0l
junye0l previously approved these changes Sep 26, 2025
@wlrnjs wlrnjs merged commit 8b7ec52 into develop Sep 26, 2025
3 checks passed
@wlrnjs wlrnjs deleted the design/common-components branch September 26, 2025 13:13
@wlrnjs wlrnjs changed the title #3 공통 컴포넌트 개발 [#3] 공통 컴포넌트 개발 Oct 16, 2025
@wlrnjs wlrnjs linked an issue Oct 16, 2025 that may be closed by this pull request
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 Design UI/UX, 디자인 변경

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 공통 컴포넌트 개발

5 participants