Skip to content

Commit 229265f

Browse files
authored
feat: update font loading strategy for improved performance and consistency
1 parent 052acf7 commit 229265f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/HeadSEO.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ const {
5050

5151
<link rel="preconnect" href="https://fonts.googleapis.com" />
5252
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
53-
<link
54-
href="https://fonts.googleapis.com/css2?family=Manrope:wght@300..800&family=Sora:wght@300..800&display=swap"
55-
rel="stylesheet"
56-
/>
5753
<link
5854
rel="preload"
5955
as="font"
60-
href="https://fonts.gstatic.com/l/font?kit=xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk79FO_F64i4O4WET_H2iUHf7Dgpp0RKqtXwOQUkN-5Sy2P5jjO7ilYrPP4hMRNnwr-cMmAcp2R1jDhb&skey=c397ded15edc0853&v=v20"
61-
type="font/ttf"
56+
href="https://fonts.gstatic.com/s/manrope/v20/xn7gYHE41ni1AdIRggexSg.woff2"
57+
type="font/woff2"
6258
crossorigin
6359
/>
60+
<link
61+
href="https://fonts.googleapis.com/css2?family=Manrope:wght@300..800&family=Sora:wght@300..800&display=swap"
62+
rel="stylesheet"
63+
/>
6464

6565
<title>{title}</title>
6666

0 commit comments

Comments
 (0)