Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(website): add cncf specifc footer #420

Merged
merged 5 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/i18n/en/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
18 changes: 18 additions & 0 deletions docs/src/components/Footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,24 @@ const FooterBottom = () => {
</Link>
)
}
{
(
<div className="margin-right--lg">
<span>© 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</span>
</div>
)
}
{
(
<Link
to="https://www.linuxfoundation.org/legal/trademark-usage"
className="footer__link-item"
target="_blank"
>
Trademark Usage page.
</Link>
)
}
</div>
);
};
Expand Down
4 changes: 3 additions & 1 deletion website/public/locale/en/translation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ footer:
topContributors: Top contributors
newContributors: New contributors
contribute: Contribute
copyrights: Copyright © 2018-2021 The OpenEBS Authors | All rights reserved
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:
Expand Down
8 changes: 8 additions & 0 deletions website/src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,14 @@ const Footer: React.FC = () => {
{t('footer.privacyPolicy')}
</Link>
</div>
<div className={classes.copyrightsWrapper}>
<Typography className={classes.copyrights}>
{t('footer.cncfCopyrights')}
</Typography>
<Link href="https://www.linuxfoundation.org/legal/trademark-usage" className={[classes.copyrights, classes.privacyPolicyLink].join(' ')}>
{t('footer.cncfTrademark')}
</Link>
</div>
</div>
);
};
Expand Down
Loading