mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
<!-- claude-slack-attribution --> _Requested by **Nicole Kramer** · [Slack thread](https://supabase.slack.com/archives/C0161K73J1J/p1795012270095809)_ **Before:** The SLA page (`/sla`) opened by incorporating "the Subscription Agreement between Supabase, Inc. and Customer" for "Enterprise Customers", and it was listed under Customer Legal Resources on the Legal Hub and indexable by search engines. **After:** The SLA page incorporates the Enterprise SaaS Subscription Agreement (linked at https://supabase.com/enterprise-terms, or such other agreement entered into between Supabase and Customer) and applies to "Customers subscribed to an Enterprise Plan". The page is no longer listed on the Legal Hub and is `noindex, nofollow`, so it is reachable only by direct URL, like `/enterprise-terms`. Updates the SLA preamble wording as provided by Legal and hides `/sla` from the Legal Hub and search engines. ## Solution - `apps/www/data/legal/sla/v1.mdx`: replaced the opening paragraph with Legal's wording. The text is unchanged except that the quoted term uses straight quotes (`the "Agreement"`) to match the rest of the file. The URL is a bare URL, which remark-gfm autolinks, the same way `enterprise-terms` MDX does. The SLA is a single `v1.mdx` with no version selector or effective date, so it is edited in place and no versioning is introduced. - `apps/www/pages/legal/index.tsx`: removed the SLA entry from the Customer Legal Resources links, the same way `/enterprise-terms` is absent from the hub. - `apps/www/pages/sla.tsx`: added `noindex: true` and `nofollow: true` to the `NextSeo` meta, plus a short comment matching the one in `supplemental-terms.tsx`. - `apps/www/next.config.mjs`: added an `X-Robots-Tag: noindex, nofollow` header rule for `/sla`, next to the existing `/enterprise-terms` rule. Other pages that link to `/sla` (the Support Policy and a few docs guides) are intentionally unchanged, since direct links keep working. `generate-sitemap.mjs` has no exclusion for `/enterprise-terms`, so none was added for `/sla` either. ## Review instructions 1. Open `/legal` on the preview and confirm Service Level Agreement is no longer listed under Customer Legal Resources. 2. Open `/sla` on the preview and confirm the first paragraph matches the new wording and that "https://supabase.com/enterprise-terms" is a working link. 3. Check the `/sla` response has `X-Robots-Tag: noindex, nofollow` and the page has a `noindex, nofollow` robots meta tag. ## Checklist Check all before review: - [ ] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide) --- _Generated by [Claude Code](https://claude.ai/code/session_01VBvtQVPkbcDz2ojrwur2SF)_ Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>