Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FE] fix: Pretendard 폰트가 정상적으로 적용되도록 나눔고딕 제거 #365

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

soosoo22
Copy link
Contributor


🚀 어떤 기능을 구현했나요 ?

Pretendard 폰트가 정상적으로 적용되도록 나눔고딕 폰트를 제거했습니다.

🔥 어떻게 해결했나요 ?

처음에는 제 로컬에서는 Pretendard 폰트가 제대로 적용되고 있었는데, 다른 팀원들의 로컬 환경에서는 Pretendard 폰트가 보이지 않고 나눔고딕이 적용되는 문제가 발생했습니다. 폰트 설정을 확인해 보니, Pretendard가 우선순위가 더 높게 설정되어 있었음에도 불구하고 나눔고딕이 적용되는 상황이었습니다. 이를 해결하기 위해, 나눔고딕 관련 코드를 모두 제거하여 Pretendard 폰트가 정상적으로 적용되도록 했습니다.

frontend/public/index.html에서 나눔고딕 관련 <link> 태그를 제거했습니다.

    <link href="https://hangeul.pstatic.net/hangeul_static/css/nanum-gothic.css" rel="stylesheet" />

frontend/src/styles/globalStyles.ts에서 font-family 속성에서 나눔고딕을 제거했습니다.

    font-family: 'Pretendard-Regular', 'Noto Sans', sans-serif;

📝 어떤 부분에 집중해서 리뷰해야 할까요?

  • Pretendard 폰트 참말로 예쁘네요

📚 참고 자료, 할 말

  • 공휴일에도 열일하는 리뷰미 여러분... 멋있어요!!!😘

Copy link
Contributor

@chysis chysis left a comment

Choose a reason for hiding this comment

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

Pretendard 적용되는 것 확인했어요!👍👍

Copy link
Contributor

@ImxYJL ImxYJL left a comment

Choose a reason for hiding this comment

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

Pretendard가 적용된 리뷰미 페이지가 기대되네요

Copy link
Contributor

@BadaHertz52 BadaHertz52 left a comment

Choose a reason for hiding this comment

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

고생했어 쑤쑤~~

@soosoo22 soosoo22 merged commit ae79025 into develop Aug 16, 2024
5 checks passed
@donghoony donghoony deleted the fe/fix/359-pretendard-font-issue branch August 20, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[FE] Pretendard 폰트가 적용되지 않는 문제를 해결한다.
4 participants