Skip to content

Commit 52e1fcd

Browse files
committed
feat: use nextjs 10.2 optimized font loading
1 parent 3b0172a commit 52e1fcd

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pages/_document.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,9 @@ class MyDocument extends Document {
2424
<link rel="alternate" type="application/rss+xml" href="/index.xml" />
2525
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
2626
<link
27-
rel="preload"
28-
as="style"
2927
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
30-
/>
31-
<link
3228
rel="stylesheet"
33-
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
34-
media="print"
35-
onLoad="this.media='all'"
3629
/>
37-
<noscript>
38-
<link
39-
rel="stylesheet"
40-
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
41-
/>
42-
</noscript>
4330
<link
4431
rel="preload"
4532
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/KaTeX_Main-Regular.woff2"

0 commit comments

Comments
 (0)