From cbeb0ba2f6b21e5bb00bd33908aa1b4f1fe2c2e8 Mon Sep 17 00:00:00 2001 From: Christophe Porteneuve Date: Wed, 20 Sep 2023 01:31:41 +0200 Subject: [PATCH 001/298] Add French to fully-translated languages (#6305) --- src/components/Seo.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Seo.tsx b/src/components/Seo.tsx index d4f03712..d7b20cc9 100644 --- a/src/components/Seo.tsx +++ b/src/components/Seo.tsx @@ -21,6 +21,7 @@ const deployedTranslations = [ 'en', 'zh-hans', 'es', + 'fr', // We'll add more languages when they have enough content. // Please DO NOT edit this list without a discussion in the reactjs/react.dev repo. // It must be the same between all translations. From dfd15e87a2c7f94da61cad991712fb6ff2f896ce Mon Sep 17 00:00:00 2001 From: Soichiro Miki Date: Wed, 20 Sep 2023 19:47:47 +0900 Subject: [PATCH 002/298] Remove "robot=noindex" meta tag (#6260) --- src/components/Seo.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/Seo.tsx b/src/components/Seo.tsx index d7b20cc9..d0dcaab7 100644 --- a/src/components/Seo.tsx +++ b/src/components/Seo.tsx @@ -27,14 +27,6 @@ const deployedTranslations = [ // It must be the same between all translations. ]; -let shouldPreventIndexing = false; -if ( - siteConfig.languageCode !== 'en' && - !deployedTranslations.includes(siteConfig.languageCode) -) { - shouldPreventIndexing = true; -} - function getDomain(languageCode: string): string { const subdomain = languageCode === 'en' ? '' : languageCode + '.'; return subdomain + 'react.dev'; @@ -70,7 +62,6 @@ export const Seo = withRouter( href={canonicalUrl.replace(siteDomain, getDomain('en'))} hrefLang="x-default" /> - {shouldPreventIndexing && } {deployedTranslations.map((languageCode) => ( Date: Thu, 21 Sep 2023 15:21:10 +0100 Subject: [PATCH 003/298] Fix like button color --- src/components/Layout/HomeContent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index 924b66f4..02338b1c 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -1654,8 +1654,8 @@ function LikeButton({video}) {