mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
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:
parent
2bc54a80fc
commit
e1258baa77
4 changed files with 63 additions and 22 deletions
|
@ -35,21 +35,25 @@ module.exports = {
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
href: 'https://discordapp.com/invite/docusaurus',
|
href: 'https://discordapp.com/invite/docusaurus',
|
||||||
},
|
},
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Social',
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
label: 'GitHub',
|
|
||||||
href: 'https://github.com/facebook/docusaurus',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
label: 'Twitter',
|
label: 'Twitter',
|
||||||
href: 'https://twitter.com/docusaurus',
|
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.`,
|
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
|
||||||
},
|
},
|
||||||
|
|
|
@ -55,10 +55,14 @@ module.exports = {
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
href: 'https://discordapp.com/invite/docusaurus',
|
href: 'https://discordapp.com/invite/docusaurus',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Twitter',
|
||||||
|
href: 'https://twitter.com/docusaurus',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Social',
|
title: 'More',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Blog',
|
label: 'Blog',
|
||||||
|
@ -68,10 +72,6 @@ module.exports = {
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
href: 'https://github.com/facebook/docusaurus',
|
href: 'https://github.com/facebook/docusaurus',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: 'Twitter',
|
|
||||||
href: 'https://twitter.com/docusaurus',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -42,7 +42,7 @@ module.exports = {
|
||||||
style: 'dark',
|
style: 'dark',
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
title: 'Docs',
|
title: 'Learn',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Style Guide',
|
label: 'Style Guide',
|
||||||
|
@ -61,6 +61,10 @@ module.exports = {
|
||||||
label: 'Stack Overflow',
|
label: 'Stack Overflow',
|
||||||
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Twitter',
|
||||||
|
href: 'https://twitter.com/docusaurus',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
href: 'https://discordapp.com/invite/docusaurus',
|
href: 'https://discordapp.com/invite/docusaurus',
|
||||||
|
@ -68,7 +72,7 @@ module.exports = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Social',
|
title: 'More',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Blog',
|
label: 'Blog',
|
||||||
|
@ -78,9 +82,23 @@ module.exports = {
|
||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
href: 'https://github.com/facebook/docusaurus',
|
href: 'https://github.com/facebook/docusaurus',
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Legal',
|
||||||
|
// Please do not remove the privacy and terms, it's a legal requirement.
|
||||||
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Twitter',
|
label: 'Privacy',
|
||||||
href: 'https://twitter.com/docusaurus',
|
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: {
|
logo: {
|
||||||
alt: 'Facebook Open Source Logo',
|
alt: 'Facebook Open Source Logo',
|
||||||
src: 'img/oss_logo.png',
|
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 :)
|
// Please do not remove the credits, help to publicize Docusaurus :)
|
||||||
copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`,
|
copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.`,
|
||||||
|
|
|
@ -129,7 +129,7 @@ module.exports = {
|
||||||
style: 'dark',
|
style: 'dark',
|
||||||
links: [
|
links: [
|
||||||
{
|
{
|
||||||
title: 'Docs',
|
title: 'Learn',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Introduction',
|
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: {
|
logo: {
|
||||||
alt: 'Facebook Open Source Logo',
|
alt: 'Facebook Open Source Logo',
|
||||||
src: 'https://docusaurus.io/img/oss_logo.png',
|
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.',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue