Skip to content

Commit 47aad01

Browse files
authored
add preconnect for google fonts (#76)
This PR updates the Google Fonts integration and adds ⁠`preconnect` links for faster font loading.
1 parent 6e1416c commit 47aad01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title></title>
8+
<link rel="preconnect" href="https://fonts.googleapis.com">
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
810
<link href="/src/main.css" rel="stylesheet" />
911
</head>
1012

@@ -13,4 +15,4 @@
1315
<script type="module" src="/src/main.tsx"></script>
1416
</body>
1517

16-
</html>
18+
</html>

0 commit comments

Comments
 (0)