diff --git a/public/fonts/Room No.703.ttf b/public/fonts/Room No.703.ttf new file mode 100644 index 00000000..8c2edd40 Binary files /dev/null and b/public/fonts/Room No.703.ttf differ diff --git a/src/components/Main.jsx b/src/components/Main.jsx index 9a029019..554c7e8b 100644 --- a/src/components/Main.jsx +++ b/src/components/Main.jsx @@ -34,6 +34,7 @@ export default function MainPage(props) { )} +
font-test
) } diff --git a/src/styles/style.scss b/src/styles/style.scss index 92085ad6..862bf204 100644 --- a/src/styles/style.scss +++ b/src/styles/style.scss @@ -1,2 +1,18 @@ @import '_test.scss'; -@import 'react-toastify/dist/ReactToastify.css'; \ No newline at end of file +@import 'react-toastify/dist/ReactToastify.css'; + +body { + padding: 0; + margin: 0; + font-family: -apple-system, 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'); +}