preload heading font

This commit is contained in:
saml33 2023-03-06 20:09:46 +11:00
parent 11065d1f51
commit 7b0cce7c66
1 changed files with 7 additions and 4 deletions

View File

@ -6,10 +6,13 @@ class MyDocument extends Document {
return (
<Html>
<Head>
{/* <link
href="https://fonts.googleapis.com/css2?family=Lato:wght@200;300;400;500;600;700&display=swap"
rel="stylesheet"
/> */}
<link
rel="preload"
href="/fonts/TT_Commons_Pro_Expanded_DemiBold.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"
/>
<Script
src="/datafeeds/udf/dist/bundle.js"
strategy="beforeInteractive"