Sophie Alpert 2 years ago
parent
commit
965cf17a4a
  1. 10
      beta/src/components/Seo.tsx
  2. 12
      beta/src/styles/index.css

10
beta/src/components/Seo.tsx

@ -99,35 +99,35 @@ export const Seo = withRouter(
/> />
<link <link
rel="preload" rel="preload"
href="https://beta.reactjs.org/fonts/Optimistic_Display_W_Md.woff2" href="https://react.dev/fonts/Optimistic_Display_W_Md.woff2"
as="font" as="font"
type="font/woff2" type="font/woff2"
crossOrigin="anonymous" crossOrigin="anonymous"
/> />
<link <link
rel="preload" rel="preload"
href="https://beta.reactjs.org/fonts/Optimistic_Display_W_SBd.woff2" href="https://react.dev/fonts/Optimistic_Display_W_SBd.woff2"
as="font" as="font"
type="font/woff2" type="font/woff2"
crossOrigin="anonymous" crossOrigin="anonymous"
/> />
<link <link
rel="preload" rel="preload"
href="https://beta.reactjs.org/fonts/Optimistic_Display_W_Bd.woff2" href="https://react.dev/fonts/Optimistic_Display_W_Bd.woff2"
as="font" as="font"
type="font/woff2" type="font/woff2"
crossOrigin="anonymous" crossOrigin="anonymous"
/> />
<link <link
rel="preload" rel="preload"
href="https://beta.reactjs.org/fonts/Optimistic_Text_W_Md.woff2" href="https://react.dev/fonts/Optimistic_Text_W_Md.woff2"
as="font" as="font"
type="font/woff2" type="font/woff2"
crossOrigin="anonymous" crossOrigin="anonymous"
/> />
<link <link
rel="preload" rel="preload"
href="https://beta.reactjs.org/fonts/Optimistic_Text_W_Bd.woff2" href="https://react.dev/fonts/Optimistic_Text_W_Bd.woff2"
as="font" as="font"
type="font/woff2" type="font/woff2"
crossOrigin="anonymous" crossOrigin="anonymous"

12
beta/src/styles/index.css

@ -17,7 +17,7 @@
@font-face { @font-face {
font-family: 'Optimistic Display'; font-family: 'Optimistic Display';
src: url('https://beta.reactjs.org/fonts/Optimistic_Display_W_Md.woff2') src: url('https://react.dev/fonts/Optimistic_Display_W_Md.woff2')
format('woff2'); format('woff2');
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
@ -26,7 +26,7 @@
@font-face { @font-face {
font-family: 'Optimistic Display'; font-family: 'Optimistic Display';
src: url('https://beta.reactjs.org/fonts/Optimistic_Display_W_SBd.woff2') src: url('https://react.dev/fonts/Optimistic_Display_W_SBd.woff2')
format('woff2'); format('woff2');
font-weight: 600; font-weight: 600;
font-style: normal; font-style: normal;
@ -35,7 +35,7 @@
@font-face { @font-face {
font-family: 'Optimistic Display'; font-family: 'Optimistic Display';
src: url('https://beta.reactjs.org/fonts/Optimistic_Display_W_Bd.woff2') src: url('https://react.dev/fonts/Optimistic_Display_W_Bd.woff2')
format('woff2'); format('woff2');
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
@ -44,7 +44,7 @@
@font-face { @font-face {
font-family: 'Optimistic Text'; font-family: 'Optimistic Text';
src: url('https://beta.reactjs.org/fonts/Optimistic_Text_W_Rg.woff2') src: url('https://react.dev/fonts/Optimistic_Text_W_Rg.woff2')
format('woff2'); format('woff2');
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
@ -53,7 +53,7 @@
@font-face { @font-face {
font-family: 'Optimistic Text'; font-family: 'Optimistic Text';
src: url('https://beta.reactjs.org/fonts/Optimistic_Text_W_Md.woff2') src: url('https://react.dev/fonts/Optimistic_Text_W_Md.woff2')
format('woff2'); format('woff2');
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
@ -62,7 +62,7 @@
@font-face { @font-face {
font-family: 'Optimistic Text'; font-family: 'Optimistic Text';
src: url('https://beta.reactjs.org/fonts/Optimistic_Text_W_Bd.woff2') src: url('https://react.dev/fonts/Optimistic_Text_W_Bd.woff2')
format('woff2'); format('woff2');
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;

Loading…
Cancel
Save