chore(create): update the facebook template with current assets (#7639)

This commit is contained in:
Paul O’Shannessy 2022-06-16 21:26:22 -07:00 committed by GitHub
parent 331b83ca40
commit 39e3e3715e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 24 additions and 19 deletions

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
@ -38,7 +38,7 @@ module.exports = {
[ [
'*', '*',
' * Copyright (c) Facebook, Inc. and its affiliates.', ' * Copyright (c) Meta Platforms, Inc. and affiliates.',
' *', ' *',
' * This source code is licensed under the MIT license found in the', ' * This source code is licensed under the MIT license found in the',
' * LICENSE file in the root directory of this source tree.', ' * LICENSE file in the root directory of this source tree.',

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
@ -54,9 +54,9 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
navbar: { navbar: {
title: 'My Facebook Project', title: 'My Meta Project',
logo: { logo: {
alt: 'My Facebook Project Logo', alt: 'My Meta Project Logo',
src: 'img/logo.svg', src: 'img/logo.svg',
}, },
items: [ items: [
@ -127,30 +127,32 @@ const config = {
items: [ items: [
{ {
label: 'Privacy', label: 'Privacy',
href: 'https://opensource.facebook.com/legal/privacy/', href: 'https://opensource.fb.com/legal/privacy/',
}, },
{ {
label: 'Terms', label: 'Terms',
href: 'https://opensource.facebook.com/legal/terms/', href: 'https://opensource.fb.com/legal/terms/',
}, },
{ {
label: 'Data Policy', label: 'Data Policy',
href: 'https://opensource.facebook.com/legal/data-policy/', href: 'https://opensource.fb.com/legal/data-policy/',
}, },
{ {
label: 'Cookie Policy', label: 'Cookie Policy',
href: 'https://opensource.facebook.com/legal/cookie-policy/', href: 'https://opensource.fb.com/legal/cookie-policy/',
}, },
], ],
}, },
], ],
logo: { logo: {
alt: 'Facebook Open Source Logo', alt: 'Meta Open Source Logo',
src: 'img/oss_logo.png', // This default includes a positive & negative version, allowing for
href: 'https://opensource.facebook.com', // appropriate use depending on your site's style.
src: 'img/meta_opensource_logo_negative.png',
href: 'https://opensource.fb.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()} Meta Platforms, Inc. Built with Docusaurus.`,
}, },
}), }),
}; };

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

View file

@ -1,5 +1,5 @@
/** /**
* Copyright (c) Facebook, Inc. and its affiliates. * Copyright (c) Meta Platforms, Inc. and affiliates.
* *
* This source code is licensed under the MIT license found in the * This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

View file

@ -197,6 +197,7 @@ nuxt
onboarded onboarded
opensearch opensearch
opensearchdescription opensearchdescription
opensource
optimizt optimizt
optind optind
orta orta