Conversation
… test/common-components
폰트 굵기별 파일 분리 적용 최적화
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 develop 브랜치의 최신 변경 사항을 release 브랜치로 병합하는 작업입니다. 주요 변경 사항으로 폰트 로딩 방식을 최적화하여 웹 페이지의 폰트 렌더링 성능을 개선했습니다. Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. 폰트가 바뀌어 글자가 선명해지니, 사용자 마음도 더욱 밝아지네. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the font configuration in src/app/layout.tsx by replacing the variable Pretendard font with four static font files (weights 400, 500, 600, and 700) and enabling preloading. Feedback was provided regarding the potential loss of font weight support for weights outside the newly defined range, which could cause visual inconsistencies if weights like 300 or 900 are required by the application.
| src: [ | ||
| { | ||
| path: "../../public/fonts/Pretendard-Regular.woff2", | ||
| weight: "400", | ||
| style: "normal", | ||
| }, | ||
| { | ||
| path: "../../public/fonts/Pretendard-Medium.woff2", | ||
| weight: "500", | ||
| style: "normal", | ||
| }, | ||
| { | ||
| path: "../../public/fonts/Pretendard-SemiBold.woff2", | ||
| weight: "600", | ||
| style: "normal", | ||
| }, | ||
| { | ||
| path: "../../public/fonts/Pretendard-Bold.woff2", | ||
| weight: "700", | ||
| style: "normal", | ||
| }, | ||
| ], | ||
| variable: "--font-pretendard", | ||
| display: "swap", | ||
| weight: "100 900", | ||
| preload: true, |
There was a problem hiding this comment.
이 변경으로 폰트 두께 지원이 100-900 범위의 가변 두께에서 400, 500, 600, 700의 4가지 정적 두께로 축소되었습니다.
만약 애플리케이션에서 font-light (300) 또는 font-black (900)과 같이 여기에 정의되지 않은 다른 두께를 사용하고 있다면, 해당 폰트들은 더 이상 올바른 두께로 렌더링되지 않아 시각적 불일치를 야기합니다.
필요한 모든 폰트 두께가 포함되도록 설정을 업데이트해야 합니다. 예를 들어, font-light가 필요하다면 다음과 같이 Pretendard-Light.woff2 파일을 추가해야 합니다:
{
path: "../../public/fonts/Pretendard-Light.woff2",
weight: "300",
style: "normal",
},메인페이지 로딩 시 흰 화면 보이는 문제 해결
누락된 테스트 코드 추가
작업 요약
Develop 브랜치의 최신 변경 사항을 Release 브랜치로 반영합니다.