Skip to content

Commit

Permalink
chore: Preload fonts in HTML (#5613)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal committed Nov 13, 2020
1 parent e3c265f commit 8cdcf37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preload" as="font" href="/assets/themes/default/assets/fonts/icons.woff2" type="font/woff2" crossorigin/>
<link rel="preload" as="font" href="/assets/themes/default/assets/fonts/brand-icons.woff2" type="font/woff2" crossorigin/>
<link rel="preload" as="font" href="/fonts/lato-v17-latin-regular.woff2" type="font/woff2" crossorigin/>
<link rel="preload" as="font" href="/fonts/lato-v17-latin-300.woff2" type="font/woff2" crossorigin/>
<link rel="preload" as="font" href="/fonts/lato-v17-latin-700.woff2" type="font/woff2" crossorigin/>

{{content-for "head"}}

Expand Down

1 comment on commit 8cdcf37

@vercel
Copy link

@vercel vercel bot commented on 8cdcf37 Nov 13, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.