feat: Add FontTestPage component and font styles
This commit is contained in:
parent
5f91182ddf
commit
9c0da4e97e
BIN
public/fonts/Room No.703.ttf
Normal file
BIN
public/fonts/Room No.703.ttf
Normal file
Binary file not shown.
7
src/app/font-test/page.jsx
Normal file
7
src/app/font-test/page.jsx
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export default function FontTestPage() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<div className="font-test">font test</div>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
@ -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');
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user