chore(v2): add Privacy Policy and Terms of Use links to footer (#2638)

* chore(v2): add Privacy Policy and Terms of Services links to footer

* rename

* Shift to links
This commit is contained in:
Yangshun Tay 2020-04-22 12:30:03 +08:00 committed by GitHub
parent 2bc54a80fc
commit e1258baa77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 22 deletions

View file

@ -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.',
},
},
};