Skip to content

Commit

Permalink
Fix : 폰트 웹폰트에서 폰트 다운으로 수정 (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
teagu123 authored Jan 10, 2025
1 parent 1a2220c commit b9eafab
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 90 deletions.
Binary file added src/fonts/Pretendard-Black.woff2
Binary file not shown.
Binary file removed src/fonts/Pretendard-Bold.otf
Binary file not shown.
Binary file added src/fonts/Pretendard-Bold.woff2
Binary file not shown.
Binary file added src/fonts/Pretendard-ExtraBold.woff
Binary file not shown.
Binary file added src/fonts/Pretendard-ExtraBold.woff2
Binary file not shown.
Binary file added src/fonts/Pretendard-ExtraLight.woff
Binary file not shown.
Binary file added src/fonts/Pretendard-ExtraLight.woff2
Binary file not shown.
Binary file added src/fonts/Pretendard-Light.woff
Binary file not shown.
Binary file added src/fonts/Pretendard-Light.woff2
Binary file not shown.
Binary file removed src/fonts/Pretendard-Medium.otf
Binary file not shown.
Binary file added src/fonts/Pretendard-Medium.woff2
Binary file not shown.
Binary file added src/fonts/Pretendard-Regular.woff2
Binary file not shown.
Binary file added src/fonts/Pretendard-SemiBold.woff2
Binary file not shown.
Binary file added src/fonts/Pretendard-Thin.woff
Binary file not shown.
Binary file added src/fonts/Pretendard-Thin.woff2
Binary file not shown.
115 changes: 25 additions & 90 deletions src/styles/font.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,143 +9,78 @@
font-family: 'Pretendard';
font-weight: 100;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Thin.ttf')
format('truetype');
src: url('../fonts/Pretendard-Thin.woff2') format('woff2'),
url('../fonts/Pretendard-Thin.woff') format('woff');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 200;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraLight.ttf')
format('truetype');
src: url('../fonts/Pretendard-ExtraLight.woff2') format('woff2'),
url('../fonts/Pretendard-ExtraLight.woff') format('woff');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 300;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Light.ttf')
format('truetype');
src: url('../fonts/Pretendard-Light.woff2') format('woff2'),
url('../fonts/Pretendard-Light.woff') format('woff');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 400;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Regular.ttf')
format('truetype');
src: url('../fonts/Pretendard-Regular.otf');
src: url('../fonts/Pretendard-Regular.woff2') format('woff2'),
url('../fonts/Pretendard-Regular.woff') format('woff'),
url('../fonts/Pretendard-Regular.ttf') format('truetype');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 500;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Medium.ttf')
format('truetype');
src: url('../fonts/Pretendard-Medium.eot');
src: url('../fonts/Pretendard-Medium.woff2') format('woff2'),
url('../fonts/Pretendard-Medium.woff') format('woff'),
url('../fonts/Pretendard-Medium.ttf') format('truetype');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 600;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-SemiBold.ttf')
format('truetype');
src: url('../fonts/Pretendard-SemiBold.otf');
src: url('../fonts/Pretendard-SemiBold.woff2') format('woff2'),
url('../fonts/Pretendard-SemiBold.woff') format('woff'),
url('../fonts/Pretendard-SemiBold.ttf') format('truetype');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 700;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Bold.ttf')
format('truetype');
src: url('../fonts/Pretendard-Bold.eot');
src: url('../fonts/Pretendard-Bold.woff2') format('woff2'),
url('../fonts/Pretendard-Bold.woff') format('woff'),
url('../fonts/Pretendard-Bold.ttf') format('truetype');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 800;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-ExtraBold.ttf')
format('truetype');
src: url('../fonts/Pretendard-ExtraBold.woff2') format('woff2'),
url('../fonts/Pretendard-ExtraBold.woff') format('woff');
font-display: swap;
}
@font-face {
font-family: 'Pretendard';
font-weight: 900;
font-style: normal;
src: url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.eot');
src:
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.eot?#iefix')
format('embedded-opentype'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.woff2')
format('woff2'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.woff')
format('woff'),
url('https://cdn.jsdelivr.net/gh/webfontworld/pretendard/Pretendard-Black.ttf')
format('truetype');
src: url('../fonts/Pretendard-Black.woff2') format('woff2');
font-display: swap;
}

0 comments on commit b9eafab

Please sign in to comment.