mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08: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
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user