Repository navigation
feat: Refer Program terms move to affitor.com/legal/refer-program - #146
Merged
Merged
Conversation
The terms now have one copy on the dashboard (dash#713). The docs page is removed and /docs/partners/refer-program (and its .md twin, on every host) redirects 301 to https://affitor.com/legal/refer-program. Links in referral-rewards, get-your-referral-link and the changelog entry point there, with the new section anchors. promote-your-link's 'Refer other partners' line was wrong (the program refers brands) and now points at How referral rewards work. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
What
The Affitor Refer Program terms now have one copy, on the dashboard at
https://affitor.com/legal/refer-program(affiliate-dashboard#713,src/content/legal/refer-program.tsx). This PR removes the docs copy and points everything at the new page.content/docs/partners/refer-program.mdxremoved, and dropped frompartners/meta.json.src/middleware.ts:movedOut()sends/docs/partners/refer-programand its.mdtwin, on every host (and/partners/refer-programon docs.affitor.com), with a 301 tohttps://affitor.com/legal/refer-program, query kept. The dashboard has no.mdtwins (curl affitor.com/pricing.md= 404), so the twin lands on the page.partners/referral-rewards(intro, section 5 and 6 anchors now#self-referrals/#holds-and-payouts, the NextStep card),quickstart/get-your-referral-link, changelog entryrefer-program.quickstart/promote-your-link: the line "Refer other partners: earn from partners you bring in" was wrong (the Refer Program refers brands). It now reads "Refer a brand: earn from brands you bring to Affitor" and links to How referral rewards work.check-docs-host.mjs(docs host and every proxy host, twin, query) and end-to-end cases incheck-docs-host-http.mjs.Sources
src/content/legal/refer-program.tsx(id: 'self-referrals',id: 'holds-and-payouts'),src/pages/legal/refer-program.tsx(PAGE_URL, canonical).src/config/referProgram.tsREFER_TERMS_URL = '/legal/refer-program'.Merge gate
Merge only after affiliate-dashboard#713 is live:
curl -s -o /dev/null -w '%{http_code}' https://affitor.com/legal/refer-programmust be 200 (it is 404 before #713 deploys). Merging earlier would redirect the docs URL to a 404.No terms wording changes here (the text moved as-is in #713). No media.
🤖 Generated with Claude Code