Skip to content

Commit

Permalink
Merge pull request #410 from universal-ember/improve-fonts
Browse files Browse the repository at this point in the history
Try to make font loading faster
  • Loading branch information
NullVoxPopuli authored Nov 14, 2024
2 parents 461a3c0 + acea098 commit c909740
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
rel="preload"
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend:[email protected]&display=swap"
as="font"
rel="font/woff2"
/>

{{content-for "head-footer"}}
</head>
Expand All @@ -26,10 +32,6 @@

Application.create(environment.APP);
</script>
<link
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend:[email protected]&display=swap"
rel="stylesheet"
/>

{{content-for "body-footer"}}
</body>
Expand Down

0 comments on commit c909740

Please sign in to comment.