Skip to content

Commit 089a4c3

Browse files
committed
refactor: preconnect to Google Fonts and load stylesheet
1 parent 8faa8bd commit 089a4c3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/app.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<meta name="theme-color" content="#000000" />
77
<link rel="manifest" href="/manifest.json" />
8-
<link
9-
rel="preload"
10-
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap"
11-
as="style"
12-
/>
8+
<link rel="preconnect" href="https://fonts.googleapis.com" />
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1310
<link
1411
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap"
1512
rel="stylesheet"

0 commit comments

Comments
 (0)