[TASK-7742] update: merge t&c and privacy links in footer#584
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe pull request updates the footer links in the application by consolidating the separate "Privacy" and "Terms" links into a single "Privacy & T&Cs" link. The new link points to a Notion page that contains both the Terms of Service and Privacy Policy, simplifying the footer navigation and centralizing these important legal documents. Changes
Possibly related PRs
Suggested reviewers
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/components/Global/Footer/consts.ts (1)
36-37: Consider URL improvements for better reliability.A few suggestions to enhance the implementation:
- Consider removing the
pvs=4query parameter if it's not essential- Consider hosting these documents on your own domain for better control and reliability
- Add error handling in the UI component in case the Notion page is inaccessible
Example implementation:
{ name: 'Privacy & T&Cs', - url: 'https://peanutprotocol.notion.site/Terms-of-Service-Privacy-Policy-1f245331837f4b7e860261be8374cc3a?pvs=4', + url: 'https://peanutprotocol.notion.site/Terms-of-Service-Privacy-Policy-1f245331837f4b7e860261be8374cc3a', }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/components/Global/Footer/consts.ts(1 hunks)
🔇 Additional comments (1)
src/components/Global/Footer/consts.ts (1)
36-37: LGTM! Good UX improvement.
Consolidating the Privacy and Terms links into a single entry simplifies the footer navigation while maintaining access to both documents.
Summary by CodeRabbit