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(
124124 ) }
125125 < link
126126 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"
128135 as = "font"
129136 type = "font/woff2"
130137 crossOrigin = "anonymous"
Original file line number Diff line number Diff line change 1212 font-style : normal;
1313 font-weight : 400 ;
1414 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' );
1626 }
1727
1828 /* Latin */
You can’t perform that action at this time.
0 commit comments