Skip to content

Commit

Permalink
Design: 폰트 버벅임 감소를 위한 폰트 파일 위치 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Narastro committed Nov 18, 2021
1 parent 13436bc commit a11f1d0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/App.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions client/src/styles/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -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');
} ;

0 comments on commit a11f1d0

Please sign in to comment.