Skip to content

Commit

Permalink
refactor: 폰트 CDN 방식으로 변경 (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
khakhiD authored Dec 2, 2023
1 parent b9aa2c7 commit e6521ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
content="upgrade-insecure-requests"
/>
<title>이력, 써 resume.me</title>
<link
rel="stylesheet"
as="style"
crossorigin
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable.min.css"
/>
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 0 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import CONSTANTS from './constants/index';
import { ResumeMeErrorResponse } from './types/errorResponse';
import router from '~/routes/router';
import theme from '~/theme';
import Fonts from '~/theme/typography/fonts';

const { toast } = createStandaloneToast({ theme });

Expand Down Expand Up @@ -48,7 +47,6 @@ const App = () => {
theme={theme}
toastOptions={{ defaultOptions: { position: 'top', duration: 2000 } }}
>
<Fonts />
<RouterProvider router={router} />
</ChakraProvider>
</QueryClientProvider>
Expand Down
19 changes: 0 additions & 19 deletions src/theme/typography/fonts.tsx

This file was deleted.

0 comments on commit e6521ab

Please sign in to comment.