Skip to content

Commit

Permalink
fix: 폰트 경로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
bykbyk0401 committed Nov 29, 2024
1 parent fc1d772 commit a2f34b8
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions src/styles/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const GLOBALSTYLE = css`
font-family: 'Apple SD Gothic Neo';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/AppleSDGothicNeo-Bold.ttf') format('truetype');
src: url('/fonts/AppleSDGothicNeo-Bold.ttf') format('truetype');
unicode-range: U+AC00-D7A3;
}
Expand All @@ -20,7 +20,7 @@ const GLOBALSTYLE = css`
font-family: 'Apple SD Gothic Neo';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/AppleSDGothicNeo-SemiBold.ttf') format('truetype');
src: url('/fonts/AppleSDGothicNeo-SemiBold.ttf') format('truetype');
unicode-range: U+AC00-D7A3;
}
Expand All @@ -29,7 +29,7 @@ const GLOBALSTYLE = css`
font-family: 'Apple SD Gothic Neo';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/AppleSDGothicNeo-Medium.ttf') format('truetype');
src: url('/fonts/AppleSDGothicNeo-Medium.ttf') format('truetype');
unicode-range: U+AC00-D7A3;
}
Expand All @@ -38,7 +38,7 @@ const GLOBALSTYLE = css`
font-family: 'Apple SD Gothic Neo';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/AppleSDGothicNeo-Regular.ttf') format('truetype');
src: url('/fonts/AppleSDGothicNeo-Regular.ttf') format('truetype');
unicode-range: U+AC00-D7A3;
}
Expand All @@ -48,7 +48,7 @@ const GLOBALSTYLE = css`
font-family: 'TT Norms Pro';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/TT Norms Pro Bold.otf') format('opentype');
src: url('/fonts/TT Norms Pro Bold.otf') format('opentype');
unicode-range: U+0041-005A, U+0061-007A, U+0030-0039;
}
Expand All @@ -57,7 +57,7 @@ const GLOBALSTYLE = css`
font-family: 'TT Norms Pro';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/TT Norms Pro Medium.otf') format('opentype');
src: url('/fonts/TT Norms Pro Medium.otf') format('opentype');
unicode-range: U+0041-005A, U+0061-007A, U+0030-0039;
}
Expand All @@ -66,7 +66,7 @@ const GLOBALSTYLE = css`
font-family: 'TT Norms Pro';
font-style: normal;
letter-spacing: 0;
src: url('/src/assets/fonts/TT Norms Pro Regular.otf') format('opentype');
src: url('/fonts/TT Norms Pro Regular.otf') format('opentype');
unicode-range: U+0041-005A, U+0061-007A, U+0030-0039;
}
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ export default defineConfig({
}),
],
assetsInclude: ['**/*.ttf', '**/*.otf'],
build: {
assetsDir: 'assets',
},
});

0 comments on commit a2f34b8

Please sign in to comment.