Skip to content

Expose legal pages in footer#5806

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/legal-root-routes
Jun 29, 2026
Merged

Expose legal pages in footer#5806
ComputelessComputer merged 1 commit into
mainfrom
fix/legal-root-routes

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

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 /privacy and /terms, with dedicated TanStack routes that load the same MDX from content collections via a shared LegalDocument renderer and legalHead helper (the old /legal/$slug route is removed).

Footer, auth signup copy, and Terms MDX now link to the new paths. robots.txt allows /privacy and /terms instead of /legal/.

Netlify adds 301s: site /legal/*/:splat, legacy hyprnote/char legal URLs to anarlog.so without the /legal prefix, plus explicit char.com/privacy and char.com/termsanarlog.so.

Reviewed by Cursor Bugbot for commit 7bd9931. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify

netlify Bot commented Jun 29, 2026

Copy link
Copy Markdown

Deploy Preview for old-char ready!

Name Link
🔨 Latest commit 7bd9931
🔍 Latest deploy log https://app.netlify.com/projects/old-char/deploys/6a42568bad92310007a4a5ac
😎 Deploy Preview https://deploy-preview-5806--old-char.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ 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.

Comment thread apps/web/netlify.toml
Comment thread apps/web/src/routes/privacy.tsx Outdated
@ComputelessComputer ComputelessComputer force-pushed the fix/legal-root-routes branch 2 times, most recently from cfbe36a to e8c0765 Compare June 29, 2026 10:59
@ComputelessComputer ComputelessComputer changed the base branch from main to chore/remove-footer-contact June 29, 2026 11:01
@ComputelessComputer ComputelessComputer force-pushed the chore/remove-footer-contact branch from 5bf8146 to f394ca9 Compare June 29, 2026 11:18
Base automatically changed from chore/remove-footer-contact to main June 29, 2026 11:26
Add root-level privacy and terms routes, reuse the existing legal document renderer, and update public legal links.
@ComputelessComputer ComputelessComputer merged commit a623784 into main Jun 29, 2026
9 checks passed
@ComputelessComputer ComputelessComputer deleted the fix/legal-root-routes branch June 29, 2026 11:41
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.

1 participant