From fe18e6c1dbebb656da2d8081c42ec69a69204751 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Tue, 16 Apr 2024 05:44:03 +0000 Subject: [PATCH 1/5] feat(website): add cncf specifc footer Signed-off-by: Abhinandan Purkait --- website/public/locale/en/translation.yaml | 2 ++ website/src/components/Footer/index.tsx | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/website/public/locale/en/translation.yaml b/website/public/locale/en/translation.yaml index 3aa10047..627afa99 100644 --- a/website/public/locale/en/translation.yaml +++ b/website/public/locale/en/translation.yaml @@ -32,6 +32,8 @@ footer: newContributors: New contributors contribute: Contribute copyrights: Copyright © 2018-2021 The OpenEBS Authors | All rights reserved + cncfCopyrights: The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our + cncfTrademark: Trademark Usage page privacyPolicy: Privacy policy errorPage: diff --git a/website/src/components/Footer/index.tsx b/website/src/components/Footer/index.tsx index 1b8cc6a7..79e6a173 100644 --- a/website/src/components/Footer/index.tsx +++ b/website/src/components/Footer/index.tsx @@ -308,6 +308,13 @@ const Footer: React.FC = () => { {t('footer.privacyPolicy')} + + {t('footer.cncfCopyrights')} + + + {t('footer.cncfTrademark')} + +

); From d9dc5edb3cc3f41c2e85c0ab9de3b956069a5251 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Tue, 16 Apr 2024 05:47:18 +0000 Subject: [PATCH 2/5] fix: incorrectly closed p tag Signed-off-by: Abhinandan Purkait --- website/src/components/Footer/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/website/src/components/Footer/index.tsx b/website/src/components/Footer/index.tsx index 79e6a173..f31707b7 100644 --- a/website/src/components/Footer/index.tsx +++ b/website/src/components/Footer/index.tsx @@ -314,7 +314,6 @@ const Footer: React.FC = () => { {t('footer.cncfTrademark')} -

); From fa6430c6a7f5e00707a1a0b7346089158d572c3b Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Tue, 16 Apr 2024 05:52:31 +0000 Subject: [PATCH 3/5] chore: add a different div' Signed-off-by: Abhinandan Purkait --- website/src/components/Footer/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/src/components/Footer/index.tsx b/website/src/components/Footer/index.tsx index f31707b7..f42f7968 100644 --- a/website/src/components/Footer/index.tsx +++ b/website/src/components/Footer/index.tsx @@ -308,6 +308,8 @@ const Footer: React.FC = () => { {t('footer.privacyPolicy')} + +
{t('footer.cncfCopyrights')} From fa30f84fbc5d956ae01a00dda37f49f538b75226 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Tue, 16 Apr 2024 06:03:48 +0000 Subject: [PATCH 4/5] docs: add cncf specific footer in docs Signed-off-by: Abhinandan Purkait --- docs/src/components/Footer/index.js | 35 +++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/docs/src/components/Footer/index.js b/docs/src/components/Footer/index.js index 1bd77d2e..4e858c23 100644 --- a/docs/src/components/Footer/index.js +++ b/docs/src/components/Footer/index.js @@ -263,25 +263,46 @@ const FooterBottom = () => { const privacyPolicy = siteConfig?.customFields?.footbarLinks?.privacyPolicy; return ( -
+
+
+ { + copyRight && ( +
+ {copyRight} +
+ ) + } + { + privacyPolicy && ( + + {privacyPolicy?.label} + + ) + } +
+
{ - copyRight && ( + (
- {copyRight} + The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our
) } { - privacyPolicy && ( + ( - {privacyPolicy?.label} + >Trademark Usage page ) } +
); }; From 53f8523dd5268a6256aac48aec071211447a63bc Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Tue, 16 Apr 2024 06:57:20 +0000 Subject: [PATCH 5/5] chore: fix docs and website footer Signed-off-by: Abhinandan Purkait --- .../en/docusaurus-theme-classic/footer.json | 2 +- docs/src/components/Footer/index.js | 47 +++++++++---------- website/public/locale/en/translation.yaml | 6 +-- 3 files changed, 26 insertions(+), 29 deletions(-) diff --git a/docs/i18n/en/docusaurus-theme-classic/footer.json b/docs/i18n/en/docusaurus-theme-classic/footer.json index d545eae8..35cb7db5 100644 --- a/docs/i18n/en/docusaurus-theme-classic/footer.json +++ b/docs/i18n/en/docusaurus-theme-classic/footer.json @@ -1,6 +1,6 @@ { "copyright": { - "message": "Copyright © 2021 The OpenEBS Authors | All rights reserved", + "message": "Copyright © 2018-2024 The OpenEBS Authors | All rights reserved", "description": "The footer copyright" } } \ No newline at end of file diff --git a/docs/src/components/Footer/index.js b/docs/src/components/Footer/index.js index 4e858c23..c51913d5 100644 --- a/docs/src/components/Footer/index.js +++ b/docs/src/components/Footer/index.js @@ -263,32 +263,29 @@ const FooterBottom = () => { const privacyPolicy = siteConfig?.customFields?.footbarLinks?.privacyPolicy; return ( -
-
- { - copyRight && ( -
- {copyRight} -
- ) - } - { - privacyPolicy && ( - - {privacyPolicy?.label} - - ) - } -
-
+
+ { + copyRight && ( +
+ {copyRight} +
+ ) + } + { + privacyPolicy && ( + + {privacyPolicy?.label} + + ) + } { (
- The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our + © 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our
) } @@ -298,11 +295,11 @@ const FooterBottom = () => { to="https://www.linuxfoundation.org/legal/trademark-usage" className="footer__link-item" target="_blank" - >Trademark Usage page + > + Trademark Usage page. ) } -
); }; diff --git a/website/public/locale/en/translation.yaml b/website/public/locale/en/translation.yaml index 627afa99..62b3eec5 100644 --- a/website/public/locale/en/translation.yaml +++ b/website/public/locale/en/translation.yaml @@ -31,9 +31,9 @@ footer: topContributors: Top contributors newContributors: New contributors contribute: Contribute - copyrights: Copyright © 2018-2021 The OpenEBS Authors | All rights reserved - cncfCopyrights: The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our - cncfTrademark: Trademark Usage page + copyrights: Copyright © 2018-2024 The OpenEBS Authors | All rights reserved + cncfCopyrights: © 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our + cncfTrademark: Trademark Usage page. privacyPolicy: Privacy policy errorPage: