feat: Add FontTestPage component and font styles

This commit is contained in:
yoosangwook 2024-09-03 08:44:01 +09:00
parent 5f91182ddf
commit 9c0da4e97e
3 changed files with 23 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,7 @@
export default function FontTestPage() {
return (
<>
<div className="font-test">font test</div>
</>
)
}

View File

@ -1 +1,17 @@
@import '_test.scss'; @import '_test.scss';
body {
padding: 0;
margin: 0;
font-family: RoomNo, sans-serif;
}
.font-test {
font-family: 'RoomNo';
}
@font-face {
font-family: 'RoomNo';
font-weight: 200;
src: url('/fonts/Room No.703.ttf') format('truetype');
}