mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs(docs-infra): Improve font loading performance with preconnect
Adds preconnect links for Google Fonts domains to establish early
connections, reducing latency and improving font loading speed
(cherry picked from commit ffa19ddd3f)
This commit is contained in:
parent
97c31ae1a8
commit
d66384db49
1 changed files with 2 additions and 0 deletions
|
|
@ -86,6 +86,8 @@
|
|||
<meta property="twitter:image" content="https://angular.dev/assets/images/ng-image.jpg" />
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600&family=Inter:wght@400;500;600&family=DM+Mono:ital@0;1&display=swap"
|
||||
rel="stylesheet"
|
||||
|
|
|
|||
Loading…
Reference in a new issue