mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
feat: add new policy links to Docusaurus site and FB template (#4019)
This commit is contained in:
parent
d8ef2a9051
commit
827de9a840
4 changed files with 36 additions and 0 deletions
|
@ -97,6 +97,14 @@ module.exports = {
|
|||
label: 'Terms',
|
||||
href: 'https://opensource.facebook.com/legal/terms/',
|
||||
},
|
||||
{
|
||||
label: 'Data Policy',
|
||||
href: 'https://opensource.facebook.com/legal/data-policy/',
|
||||
},
|
||||
{
|
||||
label: 'Cookie Policy',
|
||||
href: 'https://opensource.facebook.com/legal/cookie-policy/',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
@ -98,6 +98,14 @@ module.exports = {
|
|||
label: 'Terms',
|
||||
href: 'https://opensource.facebook.com/legal/terms/',
|
||||
},
|
||||
{
|
||||
label: 'Data Policy',
|
||||
href: 'https://opensource.facebook.com/legal/data-policy/',
|
||||
},
|
||||
{
|
||||
label: 'Cookie Policy',
|
||||
href: 'https://opensource.facebook.com/legal/cookie-policy/',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
@ -123,6 +123,18 @@ class Footer extends React.Component {
|
|||
rel="noreferrer noopener">
|
||||
Terms
|
||||
</a>
|
||||
<a
|
||||
href="https://opensource.facebook.com/legal/data-policy/"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener">
|
||||
Data Policy
|
||||
</a>
|
||||
<a
|
||||
href="https://opensource.facebook.com/legal/cookie-policy/"
|
||||
target="_blank"
|
||||
rel="noreferrer noopener">
|
||||
Cookie Policy
|
||||
</a>
|
||||
</div>
|
||||
<SocialFooter config={this.props.config} />
|
||||
</section>
|
||||
|
|
|
@ -399,6 +399,14 @@ module.exports = {
|
|||
label: 'Terms',
|
||||
href: 'https://opensource.facebook.com/legal/terms/',
|
||||
},
|
||||
{
|
||||
label: 'Data Policy',
|
||||
href: 'https://opensource.facebook.com/legal/data-policy/',
|
||||
},
|
||||
{
|
||||
label: 'Cookie Policy',
|
||||
href: 'https://opensource.facebook.com/legal/cookie-policy/',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue