Skip to content

Commit 3bfa399

Browse files
committed
add font link in next
1 parent 813e4c3 commit 3bfa399

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

web/pages/_document.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ export default class HeadDocument extends Document {
2323
`,
2424
}}
2525
/>
26+
27+
<link rel="preconnect" href="https://fonts.googleapis.com" />
28+
<link rel="preconnect" href="https://fonts.gstatic.com" />
29+
<link
30+
href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,100italic,300italic,400italic,500italic,500,700,700italic,900,900italic"
31+
rel="stylesheet"
32+
type="text/css"
33+
/>
34+
<link
35+
href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400&display=swap"
36+
rel="stylesheet"
37+
/>
2638
</Head>
2739
<body>
2840
<Main />

0 commit comments

Comments
 (0)