Skip to content

Commit

Permalink
fix: woff2 fallback woff
Browse files Browse the repository at this point in the history
๋ธŒ๋ผ์šฐ์ € ๋ณ„ ํ˜ธํ™˜์„ฑ ๊ณ ๋ ค ํ•„์š”
mac safari, iOS safari

Co-authored-by: ChanWoo Kim <[email protected]>
  • Loading branch information
esthel7 and kcwww committed Jan 19, 2024
1 parent 90c537e commit e4711fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions front/src/GlobalStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ const GlobalStyles = createGlobalStyle`
@font-face {
font-family: 'Pretendard-Regular';
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff2');
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff2'),
url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'KingSejongInstitute';
src: url('/fonts/KingSejongInstitute-Regular.ttf') format('woff2');
src: url('/fonts/KingSejongInstitute-Regular.ttf') format('woff2'),
url('/fonts/KingSejongInstitute-Regular.ttf') format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
Expand Down

0 comments on commit e4711fe

Please sign in to comment.