Skip to content

perf: LCP 이미지 및 폰트 로딩 최적화 - #53

Merged
kangdy25 merged 1 commit into
mainfrom
refactor/performance-optimization
Sep 10, 2026
Merged

perf: LCP 이미지 및 폰트 로딩 최적화#53
kangdy25 merged 1 commit into
mainfrom
refactor/performance-optimization

Conversation

@kangdy25

@kangdy25 kangdy25 commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

🚀 perf: LCP 이미지 및 폰트 로딩 최적화

📝 변경사항

  • 추가작업

Summary by CodeRabbit

  • 개선 사항
    • Pretendard Variable 글꼴을 적용해 다양한 화면 크기와 환경에서 더욱 일관된 글꼴 표시를 제공합니다.
    • 글꼴 로딩 방식을 개선해 초기 화면에서 폰트가 적용되는 속도와 안정성을 높였습니다.
    • 기존 글꼴 설정을 정리하고 최신 글꼴 패키지를 사용하도록 업데이트했습니다.

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
mingling-frontend Ready Ready Preview Sep 10, 2026 10:28am UTC

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 9553ed51-9ad1-4ecd-8d30-d0db1c92fb92

📥 Commits

Reviewing files that changed from the base of the PR and between 248af2b and 3d00852.

⛔ Files ignored due to path filters (10)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • public/fonts/Pretendard-Black.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-Bold.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-ExtraBold.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-ExtraLight.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-Light.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-Medium.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-Regular.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-SemiBold.woff2 is excluded by !**/*.woff2
  • public/fonts/Pretendard-Thin.woff2 is excluded by !**/*.woff2
📒 Files selected for processing (4)
  • app/globals.css
  • app/layout.tsx
  • package.json
  • public/fonts/pretendard.css
💤 Files with no reviewable changes (1)
  • public/fonts/pretendard.css

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

Pretendard 폰트를 패키지 기반 정적 CSS import 방식으로 변경했습니다. 기존 지연 로딩 스크립트와 수동 폰트 CSS를 제거하고, 전역 글꼴 이름을 Pretendard Variable로 변경했습니다.

Changes

Pretendard 폰트 로딩 전환

Layer / File(s) Summary
정적 폰트 import 전환
package.json, app/layout.tsx, app/globals.css, public/fonts/pretendard.css
pretendard 패키지 버전 1.3.9를 추가했습니다. Pretendard CSS를 정적으로 import하고 기존 지연 로딩 및 noscript fallback을 제거했습니다. 전역 글꼴 이름을 Pretendard Variable로 변경하고 기존 수동 폰트 CSS를 삭제했습니다.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 3d008

Pretendard 로딩을 패키지 기반 정적 import로 전환했으며, 현재 병합을 막는 구체적인 위험은 확인되지 않았습니다.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning 변경사항 섹션은 있으나 내용이 ‘추가작업’으로만 작성되어 구체성이 부족합니다. 체크리스트, 스크린샷, 리뷰어 전달사항 섹션도 누락되었습니다. 변경된 파일과 폰트 로딩 방식, 기대 효과를 구체적으로 작성하세요. 체크리스트를 완료하고, UI 변경 여부와 테스트 결과를 추가하세요. 필요한 경우 스크린샷과 리뷰어 확인 사항도 작성하세요.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed 제목은 Pretendard 폰트 로딩 최적화 변경과 관련됩니다. 그러나 변경 사항에 LCP 이미지 최적화 내용은 확인되지 않습니다.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/performance-optimization

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kangdy25
kangdy25 merged commit 4d97d8e into main Sep 10, 2026
3 of 4 checks passed
@kangdy25
kangdy25 deleted the refactor/performance-optimization branch September 10, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant