diff --git a/packages/docusaurus-init/templates/bootstrap/docusaurus.config.js b/packages/docusaurus-init/templates/bootstrap/docusaurus.config.js index f23846937f..c4535cc8d9 100644 --- a/packages/docusaurus-init/templates/bootstrap/docusaurus.config.js +++ b/packages/docusaurus-init/templates/bootstrap/docusaurus.config.js @@ -35,21 +35,25 @@ module.exports = { label: 'Discord', href: 'https://discordapp.com/invite/docusaurus', }, - ], - }, - { - title: 'Social', - items: [ - { - label: 'GitHub', - href: 'https://github.com/facebook/docusaurus', - }, { label: 'Twitter', href: 'https://twitter.com/docusaurus', }, ], }, + { + title: 'More', + items: [ + { + label: 'Blog', + to: 'blog', + }, + { + label: 'GitHub', + href: 'https://github.com/facebook/docusaurus', + }, + ], + }, ], copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, }, diff --git a/packages/docusaurus-init/templates/classic/docusaurus.config.js b/packages/docusaurus-init/templates/classic/docusaurus.config.js index 7ad7e8ef23..21343ce97b 100644 --- a/packages/docusaurus-init/templates/classic/docusaurus.config.js +++ b/packages/docusaurus-init/templates/classic/docusaurus.config.js @@ -55,10 +55,14 @@ module.exports = { label: 'Discord', href: 'https://discordapp.com/invite/docusaurus', }, + { + label: 'Twitter', + href: 'https://twitter.com/docusaurus', + }, ], }, { - title: 'Social', + title: 'More', items: [ { label: 'Blog', @@ -68,10 +72,6 @@ module.exports = { label: 'GitHub', href: 'https://github.com/facebook/docusaurus', }, - { - label: 'Twitter', - href: 'https://twitter.com/docusaurus', - }, ], }, ], diff --git a/packages/docusaurus-init/templates/facebook/docusaurus.config.js b/packages/docusaurus-init/templates/facebook/docusaurus.config.js index 8074d79d36..baf45057b3 100644 --- a/packages/docusaurus-init/templates/facebook/docusaurus.config.js +++ b/packages/docusaurus-init/templates/facebook/docusaurus.config.js @@ -42,7 +42,7 @@ module.exports = { style: 'dark', links: [ { - title: 'Docs', + title: 'Learn', items: [ { label: 'Style Guide', @@ -61,6 +61,10 @@ module.exports = { label: 'Stack Overflow', href: 'https://stackoverflow.com/questions/tagged/docusaurus', }, + { + label: 'Twitter', + href: 'https://twitter.com/docusaurus', + }, { label: 'Discord', href: 'https://discordapp.com/invite/docusaurus', @@ -68,7 +72,7 @@ module.exports = { ], }, { - title: 'Social', + title: 'More', items: [ { label: 'Blog', @@ -78,9 +82,23 @@ module.exports = { label: 'GitHub', href: 'https://github.com/facebook/docusaurus', }, + ], + }, + { + title: 'Legal', + // Please do not remove the privacy and terms, it's a legal requirement. + items: [ { - label: 'Twitter', - href: 'https://twitter.com/docusaurus', + label: 'Privacy', + href: 'https://opensource.facebook.com/legal/privacy/', + target: '_blank', + rel: 'noreferrer noopener', + }, + { + label: 'Terms', + href: 'https://opensource.facebook.com/legal/terms/', + target: '_blank', + rel: 'noreferrer noopener', }, ], }, @@ -88,7 +106,7 @@ module.exports = { logo: { alt: 'Facebook Open Source Logo', src: 'img/oss_logo.png', - href: 'https://opensource.facebook.com/', + href: 'https://opensource.facebook.com', }, // Please do not remove the credits, help to publicize Docusaurus :) copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`, diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 593db34257..3e3a56ecd0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -129,7 +129,7 @@ module.exports = { style: 'dark', links: [ { - title: 'Docs', + title: 'Learn', items: [ { label: 'Introduction', @@ -190,13 +190,32 @@ module.exports = { }, ], }, + { + title: 'Legal', + // Please do not remove the privacy and terms, it's a legal requirement. + items: [ + { + label: 'Privacy', + href: 'https://opensource.facebook.com/legal/privacy/', + target: '_blank', + rel: 'noreferrer noopener', + }, + { + label: 'Terms', + href: 'https://opensource.facebook.com/legal/terms/', + target: '_blank', + rel: 'noreferrer noopener', + }, + ], + }, ], logo: { alt: 'Facebook Open Source Logo', src: 'https://docusaurus.io/img/oss_logo.png', - href: 'https://opensource.facebook.com/', + href: 'https://opensource.facebook.com', }, - copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`, + copyright: + 'Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.', }, }, };