Skip to content

Commit

Permalink
Merge pull request #155 from Myongji-Graduate/font-error
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung authored Nov 5, 2024
2 parents dd8df38 + 32ccafb commit 10a0543
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,14 @@ a {
background: #c4c4c4;
border-radius: 5px;
}

@font-face {
font-family: 'VitroCore';
src:
local('vitro'),
url('../public/assets/font/vitro.woff2') format('woff2'),
url('../public/assets/font/vitro.woff') format('woff'),
url('../public/assets/font/vitro.ttf') format('truetype');
font-weight: 700;
font-display: swap;
}
1 change: 0 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default function RootLayout({
href="https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.6/dist/web/static/pretendard.css"
rel="stylesheet"
/>
<link href="https://webfontworld.github.io/vitro/VitroCore.css" rel="stylesheet" />
</head>
<body>
<ChannelTalk />
Expand Down
Binary file added public/assets/font/vitro.ttf
Binary file not shown.
Binary file added public/assets/font/vitro.woff
Binary file not shown.
Binary file added public/assets/font/vitro.woff2
Binary file not shown.

0 comments on commit 10a0543

Please sign in to comment.