Skip to content

Commit

Permalink
feat: use nextjs 10.2 optimized font loading
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed May 1, 2021
1 parent 3b0172a commit 52e1fcd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,9 @@ class MyDocument extends Document {
<link rel="alternate" type="application/rss+xml" href="/index.xml" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
media="print"
onLoad="this.media='all'"
/>
<noscript>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
/>
</noscript>
<link
rel="preload"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/KaTeX_Main-Regular.woff2"
Expand Down

0 comments on commit 52e1fcd

Please sign in to comment.