Skip to content

Commit

Permalink
빌드 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
LDH98 committed Jun 2, 2024
1 parent 2d08805 commit 502a2ad
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { Html, Head, Main, NextScript } from 'next/document';
export default function Document() {
return (
<Html lang="ko">
<Head>
<link
<Head />
{/* <link
rel="stylesheet"
as="style"
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.min.css"
/>
</Head>
</Head> */}
<body>
<Main />
<NextScript />
Expand Down
Binary file added public/fonts/Pretendard-Bold.subset.woff2
Binary file not shown.
Binary file added public/fonts/Pretendard-Medium.subset.woff2
Binary file not shown.
Binary file added public/fonts/Pretendard-Regular.subset.woff2
Binary file not shown.
19 changes: 19 additions & 0 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@
--red: #d6173a;
}

@font-face {
font-family: 'Pretendard';
font-weight: 700;
src: url('/fonts/Pretendard-Bold.subset.woff2') format('woff2');
font-style: bold;
}
@font-face {
font-family: 'Pretendard';
font-weight: 500;
src: url('/fonts/Pretendard-Medium.subset.woff2') format('woff2');
font-style: medium;
}
@font-face {
font-family: 'Pretendard';
font-weight: 400;
src: url('/fonts/Pretendard-Regular.subset.woff2') format('woff2');
font-style: normal;
}

* {
margin: 0;
padding: 0;
Expand Down

0 comments on commit 502a2ad

Please sign in to comment.