File tree Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Expand file tree Collapse file tree 4 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,14 @@ export const Seo = withRouter(
124
124
) }
125
125
< link
126
126
rel = "preload"
127
- href = "/fonts/Source-Code-Pro-Regular.woff2"
127
+ href = "https://react.dev/fonts/Source-Code-Pro-Regular.woff2"
128
+ as = "font"
129
+ type = "font/woff2"
130
+ crossOrigin = "anonymous"
131
+ />
132
+ < link
133
+ rel = "preload"
134
+ href = "https://react.dev/fonts/Source-Code-Pro-Bold.woff2"
128
135
as = "font"
129
136
type = "font/woff2"
130
137
crossOrigin = "anonymous"
Original file line number Diff line number Diff line change 12
12
font-style : normal;
13
13
font-weight : 400 ;
14
14
font-display : swap;
15
- src : url ('/fonts/Source-Code-Pro-Regular.woff2' ) format ('woff2' );
15
+ src : url ('https://react.dev/fonts/Source-Code-Pro-Regular.woff2' )
16
+ format ('woff2' );
17
+ }
18
+
19
+ @font-face {
20
+ font-family : 'Source Code Pro' ;
21
+ font-style : normal;
22
+ font-weight : 700 ;
23
+ font-display : swap;
24
+ src : url ('https://react.dev/fonts/Source-Code-Pro-Bold.woff2' )
25
+ format ('woff2' );
16
26
}
17
27
18
28
/* Latin */
You can’t perform that action at this time.
0 commit comments