Skip to content

Commit

Permalink
Load TypeKit using CSS link embed code instead
Browse files Browse the repository at this point in the history
  • Loading branch information
henrycatalinismith committed Feb 27, 2024
1 parent aba1c20 commit 1b40c75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ export default class MyDocument extends Document {
<Head>
{/* PWA primary color */}
<meta content={theme.palette.primary.main} name="theme-color" />
<script src="https://use.typekit.net/tqq3ylv.js" />
<script>{'try{Typekit.load({ async: true })}catch(e){}'}</script>
<link href="https://use.typekit.net/tqq3ylv.css" rel="stylesheet" />
<link href="/logo-zetkin.png" rel="shortcut icon" />
</Head>
<body style={{ overscrollBehaviorX: 'none' }}>
Expand Down

0 comments on commit 1b40c75

Please sign in to comment.