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(ui): add cookie consent banner #1011

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

rahulsingh3526
Copy link

@rahulsingh3526 rahulsingh3526 commented Mar 1, 2025

refs #986

Copy link
Member

@elboletaire elboletaire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks ok, but needs adding i18n. Use the Trans component and the useTranslation hook in order to add translatable strings.

After converting all the translatable strings to use the component (or the hook), run yarn translations to extract them all and commit the locales files.

There's no need to actually translate them to spanish and catalan, we'll do that 😊

Thanks for your collaboration 😃


const CookieBanner = () => {
return (
<div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this div here for any special reason? I think it could perfectly be omitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants