File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,11 @@ export default function RootLayout({
4141 return (
4242 < html lang = "zh-CN" suppressHydrationWarning >
4343 < head >
44- { /* Inter 字体 */ }
45- < link href = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700& display = swap " rel = "stylesheet" />
46-
47- { /* Noto Serif SC */ }
48- < link href = "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;700& display = swap " rel = "stylesheet" />
49-
50- { /* JetBrains Mono */ }
51- < link href = "https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700& display = swap " rel = "stylesheet" />
44+ { /* 合并字体请求到单个 link 标签,以提升页面加载速度 */ }
45+ < link
46+ href = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700& family = Noto + Serif + SC :wght @400 ; 500 ; 700 & family = JetBrains + Mono :wght @400 ; 500 ; 700 & display = swap "
47+ rel = "stylesheet"
48+ />
5249 </ head >
5350 < body >
5451 < Provider >
You can’t perform that action at this time.
0 commit comments