refactor(config): 소개·푸터 소셜 링크 단일 출처화 및 env 매핑#54
Merged
Conversation
footerNav '연결' 섹션과 social 배열에 중복 정의돼 있던 GitHub/LinkedIn/Email 링크를 social 단일 출처로 통합하고, footerNav가 이를 재사용하도록 변경. URL 값은 NEXT_PUBLIC_SOCIAL_* 환경변수에서 읽어 배포 환경에서 관리한다. Closes #53 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
중복 정의돼 있던 소셜 링크를
social단일 출처로 통합하고, URL 값을NEXT_PUBLIC_SOCIAL_*환경변수로 외부화.관련 이슈
Closes #53
변경 유형
변경 내용
footerNav의 '연결' 섹션이social배열을 재사용 (items: social) → GitHub/LinkedIn/Email 중복 정의 제거NEXT_PUBLIC_SOCIAL_GITHUB / _LINKEDIN / _EMAIL에서 읽도록 변경 (미설정 시#폴백).env.example에 소셜 링크 placeholder 추가배포 주의
.env*는 gitignore되므로 Vercel 환경변수에 세 값이 등록돼 있어야 프로덕션에서 링크가 동작한다. (등록 완료)체크리스트