Skip to content

Commit

Permalink
Merge pull request #323 from prgrms-fe-devcourse/feat-font-erase
Browse files Browse the repository at this point in the history
✨  불필요 폰트 제거
  • Loading branch information
khj0426 authored Oct 7, 2023
2 parents 26c2c7a + 5af9fad commit 92a2b06
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions src/constants/font.tsx
Original file line number Diff line number Diff line change
@@ -1,60 +1,12 @@
import localFont from 'next/font/local'

const pretendardBlack = localFont({
src: '../../public/fonts/Pretendard-Black.woff2',
display: 'swap',
})

const pretendardBold = localFont({
src: '../../public/fonts/Pretendard-Bold.woff2',
display: 'swap',
})

const pretendardExtraBold = localFont({
src: '../../public/fonts/Pretendard-ExtraBold.woff2',
display: 'swap',
})

const pretendardExtraLight = localFont({
src: '../../public/fonts/Pretendard-ExtraLight.woff2',
display: 'swap',
})

const pretendardLight = localFont({
src: '../../public/fonts/Pretendard-Light.woff2',
display: 'swap',
})

const pretendardMedium = localFont({
src: '../../public/fonts/Pretendard-Medium.woff2',
display: 'swap',
})

const pretendardRegular = localFont({
src: '../../public/fonts/Pretendard-Regular.woff2',
display: 'swap',
})

const pretendardSemiBold = localFont({
src: '../../public/fonts/Pretendard-SemiBold.woff2',
display: 'swap',
})

const pretendardThin = localFont({
src: '../../public/fonts/Pretendard-Thin.woff2',
display: 'swap',
})

const pretendardFont = {
Black: pretendardBlack,
Bold: pretendardBold,
ExtraBold: pretendardExtraBold,
ExtraLight: pretendardExtraLight,
Light: pretendardLight,
Medium: pretendardMedium,
Regular: pretendardRegular,
SemiBold: pretendardSemiBold,
Thin: pretendardThin,
}

export default pretendardFont

0 comments on commit 92a2b06

Please sign in to comment.