From a11f1d023ed4f2571a22525a539c42b3d42aac5b Mon Sep 17 00:00:00 2001 From: Narastro Date: Thu, 18 Nov 2021 16:41:13 +0900 Subject: [PATCH] =?UTF-8?q?Design:=20=ED=8F=B0=ED=8A=B8=20=EB=B2=84?= =?UTF-8?q?=EB=B2=85=EC=9E=84=20=EA=B0=90=EC=86=8C=EB=A5=BC=20=EC=9C=84?= =?UTF-8?q?=ED=95=9C=20=ED=8F=B0=ED=8A=B8=20=ED=8C=8C=EC=9D=BC=20=EC=9C=84?= =?UTF-8?q?=EC=B9=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 2 +- client/src/styles/fonts.css | 4 ++-- .../fonts/dongle-v4-korean-700.woff | Bin .../fonts/dongle-v4-korean-700.woff2 | Bin 4 files changed, 3 insertions(+), 3 deletions(-) rename client/src/{assets => styles}/fonts/dongle-v4-korean-700.woff (100%) rename client/src/{assets => styles}/fonts/dongle-v4-korean-700.woff2 (100%) diff --git a/client/src/App.tsx b/client/src/App.tsx index 4438b756..dae2ae45 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -1,3 +1,4 @@ +import './styles/fonts.css'; import { useCallback, useEffect } from 'react'; import { BrowserRouter, Route, Redirect, Switch } from 'react-router-dom'; import GlobalStyles from './styles/GlobalStyles'; @@ -6,7 +7,6 @@ import Main from '@pages/Main'; import { useUser, useUserFns } from '@contexts/userContext'; import { getUserByToken } from '@utils/apis'; import Room from '@pages/Room'; -import './styles/fonts.css'; const App = (): JSX.Element => { const user = useUser(); diff --git a/client/src/styles/fonts.css b/client/src/styles/fonts.css index 7fe73430..8c9a1a48 100644 --- a/client/src/styles/fonts.css +++ b/client/src/styles/fonts.css @@ -2,6 +2,6 @@ font-family: 'Dongle'; font-style: normal; font-weight: 700; - src: url('../assets/fonts/dongle-v4-korean-700.woff2') format('woff2'), - url('../assets/fonts/dongle-v4-korean-700.woff') format('woff'); + src: url('./fonts/dongle-v4-korean-700.woff2') format('woff2'), + url('./fonts/dongle-v4-korean-700.woff') format('woff'); } ; diff --git a/client/src/assets/fonts/dongle-v4-korean-700.woff b/client/src/styles/fonts/dongle-v4-korean-700.woff similarity index 100% rename from client/src/assets/fonts/dongle-v4-korean-700.woff rename to client/src/styles/fonts/dongle-v4-korean-700.woff diff --git a/client/src/assets/fonts/dongle-v4-korean-700.woff2 b/client/src/styles/fonts/dongle-v4-korean-700.woff2 similarity index 100% rename from client/src/assets/fonts/dongle-v4-korean-700.woff2 rename to client/src/styles/fonts/dongle-v4-korean-700.woff2