diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 6f799a78148..766d03b629e 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -16,6 +16,7 @@ const config = { scripts: [ 'https://buttons.github.io/buttons.js', 'https://use.fontawesome.com/221fd444f5.js', + 'https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit', ], stylesheets: [ 'https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&family=Source+Code+Pro:ital,wght@0,400;0,600;1,400;1,600&display=swap', @@ -234,6 +235,10 @@ const config = { activeBaseRegex: '/api/rpc', }, { label: 'Blog', to: '/blog', activeBaseRegex: '/blog', position: 'right' }, + { + type: 'html', position: 'right', + value: 'Translate', + }, ], }, footer: { diff --git a/website/src/theme/Footer/index.js b/website/src/theme/Footer/index.js index fd45c7f02a4..d10a34deceb 100644 --- a/website/src/theme/Footer/index.js +++ b/website/src/theme/Footer/index.js @@ -17,6 +17,7 @@ function Footer() { return (