diff --git a/index.html b/index.html index 5ecd999..fc6b51c 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,11 @@ + CokoEdu diff --git a/src/App.tsx b/src/App.tsx index 795a166..bf254fb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,7 +4,6 @@ import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; import { ThemeProvider } from 'styled-components'; import { media } from './style/media'; import GlobalStyle from './style/GlobalStyle'; -import GlobalFont from './style/GlobalFont'; function App() { const queryClient = new QueryClient({ @@ -20,7 +19,6 @@ function App() { - diff --git a/src/fonts/NexonMaplestoryBold.woff2 b/src/fonts/NexonMaplestoryBold.woff2 deleted file mode 100644 index 8290c0c..0000000 Binary files a/src/fonts/NexonMaplestoryBold.woff2 and /dev/null differ diff --git a/src/fonts/NexonMaplestoryLight.woff2 b/src/fonts/NexonMaplestoryLight.woff2 deleted file mode 100644 index a68f2ca..0000000 Binary files a/src/fonts/NexonMaplestoryLight.woff2 and /dev/null differ diff --git a/src/style/GlobalFont.ts b/src/style/GlobalFont.ts deleted file mode 100644 index 7b69218..0000000 --- a/src/style/GlobalFont.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { createGlobalStyle } from 'styled-components'; -import NexonMaplestoryBold from '../fonts/NexonMaplestoryBold.woff2'; -import NexonMaplestoryLight from '../fonts/NexonMaplestoryLight.woff2'; - -const GlobalFont = createGlobalStyle` - @font-face { - font-family: 'MaplestoryLight'; - src: local('MaplestoryLight'), url(${NexonMaplestoryLight}) format('woff2'); - } - - @font-face { - font-family: 'MaplestoryBold'; - src: local('MaplestoryBold'), url(${NexonMaplestoryBold}) format('woff2'); - } -`; - -export default GlobalFont; diff --git a/src/style/GlobalStyle.ts b/src/style/GlobalStyle.ts index 3a5443f..b9852b9 100644 --- a/src/style/GlobalStyle.ts +++ b/src/style/GlobalStyle.ts @@ -2,7 +2,7 @@ import { createGlobalStyle } from 'styled-components'; const GlobalStyle = createGlobalStyle` *, *::before, *::after { - font-family : "MaplestoryLight"; + font-family : Maplestory; margin: 0; padding: 0; box-sizing: border-box;