docs: Add privacy policy links to footers#501
Merged
Conversation
Add a subtle "Privacy" link pointing to the absolute URL https://use.docs.page/legal/privacy in both the marketing/homepage footer and the hosted-docs footer. An absolute URL is required for the hosted-docs footer because hosted pages live under an owner/repo path, so a relative /legal/privacy would resolve under the publisher's namespace and 404. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PE16738DP3VHiFRFscXFNH
|
|
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Ben Cook · Slack thread
Before: neither footer links to the privacy policy. The marketing/homepage footer shows only "Built by Invertase" + copyright, and the hosted-docs footer shows the "docs.page by invertase.io" attribution plus per-project social links — no privacy link anywhere.
After: both footers show a subtle "Privacy" link pointing to https://use.docs.page/legal/privacy — one on the landing page footer, and one on every hosted docs page footer.
How
app/src/components/homepage/footer.tsx— adds a "Privacy" anchor next to the existing "Built by Invertase" link in the same left-handflex items-center gap-4group, reusing the exact sibling styling (text-sm text-neutral-400 hover:text-foreground). Notarget/relsince it points to our own site.app/src/components/footer.tsx— adds a "Privacy" anchor alongside the "docs.page by invertase.io" attribution, styled to match the sibling links (underline underline-offset-5 hover:text-foreground), with a·separator.Both links use the absolute URL
https://use.docs.page/legal/privacy. This is required for the hosted-docs footer: hosted pages are served under anowner/repo/...path, so a relative/legal/privacywould resolve under the publisher's namespace and 404.Based on
integrate/docs-rewriterather thanmain, because that's where the privacy policy page lives (#500).Generated by Claude Code