Skip to content

feat(icons): 인라인 SVG 아이콘 공통 barrel로 통합 + 소개 페이지 소셜 아이콘#59

Merged
emayom merged 1 commit into
mainfrom
feat/#58-social-link-icons
Jun 28, 2026
Merged

feat(icons): 인라인 SVG 아이콘 공통 barrel로 통합 + 소개 페이지 소셜 아이콘#59
emayom merged 1 commit into
mainfrom
feat/#58-social-link-icons

Conversation

@emayom

@emayom emayom commented Jun 28, 2026

Copy link
Copy Markdown
Owner

개요

흩어져 중복 정의되던 인라인 SVG 아이콘을 src/components/icons/ barrel로 통합하고, 소개 페이지 소셜 링크를 아이콘으로 교체.

관련 이슈

Closes #58

변경 유형

  • feat

변경 내용

  • barrel 구조: 파일당 1아이콘(github/linkedin/mail/sun/moon) + index 배럴 + Icon 렌더러. 16px 기본 + className 오버라이드, currentColor로 다크모드 상속
  • label↔icon 디커플링: NavItem.icon 키 추가, config가 표시 라벨이 아니라 식별자로 아이콘을 가리킴 → 라벨이 바뀌어도 아이콘이 안 깨짐
  • 중복 제거: navbar의 인라인 GithubIcon, theme-toggle의 인라인 Sun/Moon 정의 삭제 → 공통 barrel에서 import
  • 소개 페이지: 소셜 링크를 텍스트 pill → ghost 아이콘 버튼(aria-label로 접근성 확보). 푸터는 텍스트 유지

비고

  • theme toggle 아이콘 20px → 16px로 통일
  • 모든 아이콘 16px 일관

체크리스트

  • `npx tsc --noEmit` 통과
  • `npm run lint` 통과
  • `npm run build` 통과
  • navbar/footer/theme-toggle 테스트 통과

흩어져 중복 정의되던 인라인 SVG 아이콘을 src/components/icons/ barrel로
모은다. 파일당 1아이콘 + index 배럴 + 식별자 기반 Icon 렌더러 구조.

- GitHub/LinkedIn/Mail/Sun/Moon 아이콘을 개별 파일로 분리, 16px 기본 +
  className 오버라이드, currentColor로 다크모드 상속
- 소셜 링크를 라벨 문자열이 아니라 config의 icon 키로 가리키도록 디커플링
  (NavItem.icon, Icon 렌더러). 라벨이 바뀌어도 아이콘이 깨지지 않는다.
- navbar의 중복 GithubIcon, theme-toggle의 인라인 Sun/Moon 정의 제거 →
  공통 barrel에서 import
- 소개 페이지 소셜 링크를 아이콘(ghost 버튼)으로 교체

Closes #58

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jun 28, 2026 1:01pm

@emayom emayom added enhancement New feature or request refactor Code refactoring without feature change labels Jun 28, 2026
@emayom emayom merged commit 51d70b2 into main Jun 28, 2026
3 checks passed
@emayom emayom deleted the feat/#58-social-link-icons branch June 28, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Code refactoring without feature change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

소개 페이지 소셜 링크 아이콘 추가

1 participant