Expose legal pages in footer#5806
Merged
Merged
Conversation
✅ Deploy Preview for old-char ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 11aa2a4. Configure here.
cfbe36a to
e8c0765
Compare
e8c0765 to
8ac3ef1
Compare
5bf8146 to
f394ca9
Compare
8ac3ef1 to
ef0afed
Compare
Add root-level privacy and terms routes, reuse the existing legal document renderer, and update public legal links.
ef0afed to
7bd9931
Compare
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.

Add root-level privacy and terms routes, reuse the existing legal document renderer, and update public legal links.
Note
Low Risk
Routing and redirect-only changes for public legal content; no auth or data-handling logic touched.
Overview
Legal pages move from
/legal/{slug}to top-level/privacyand/terms, with dedicated TanStack routes that load the same MDX from content collections via a sharedLegalDocumentrenderer andlegalHeadhelper (the old/legal/$slugroute is removed).Footer, auth signup copy, and Terms MDX now link to the new paths.
robots.txtallows/privacyand/termsinstead of/legal/.Netlify adds 301s: site
/legal/*→/:splat, legacy hyprnote/char legal URLs to anarlog.so without the/legalprefix, plus explicit char.com/privacy and char.com/terms → anarlog.so.Reviewed by Cursor Bugbot for commit 7bd9931. Bugbot is set up for automated code reviews on this repo. Configure here.