Commit Graph
2 Commits
Author SHA1 Message Date
Danny White 7e44d321b3 feat(www): adopt shared inline code defaults (#51983)
## Problem

WWW has duplicate inline-code styles. Changelog code stays at a fixed
size even when the surrounding text is larger.

## Solution

Import the shared styles from #51980 and remove duplicate Markdown
styling. Code uses the default foreground colour and follows the
surrounding weight, and scales from 12.5px beside 14px text to 14px
beside 16px text, with a `0.75rem` minimum (normally 12px). Region
labels keep their own styles.

## Review instructions

1. Open the [branch configuration blog
post](https://zone-www-dot-com-git-dnywh-depr-707-code-www-supabase.vercel.app/blog/how-a-new-branch-gets-its-config-migrations-and-functions).
The filename “`config.toml`” should be 14px beside 16px prose.
2. Open the
[changelog](https://zone-www-dot-com-git-dnywh-depr-707-code-www-supabase.vercel.app/changelog).
Check code in headings, paragraphs and tables at narrow and desktop
widths, in both themes.
3. Check that code blocks and region labels keep their existing
appearance.

| Before | After |
| --- | --- |
| <img width="1306" height="494" alt="CleanShot 2026-10-19 at 14 34
58@2x"
src="https://github.com/user-attachments/assets/349f5eb5-7a4a-44ae-ba3a-ae75f083dea2"
/> | <img width="1244" height="448" alt="CleanShot 2026-10-19 at 14 35
33@2x"
src="https://github.com/user-attachments/assets/61753f8a-f6e3-4482-b19a-ac9d39609545"
/> |
| <img width="1308" height="246" alt="CleanShot 2026-10-20 at 15 59
46@2x"
src="https://github.com/user-attachments/assets/db7cca69-7009-44d1-bae3-a5424e367e36"
/> | <img width="1312" height="266" alt="CleanShot 2026-10-20 at 15 58
58@2x"
src="https://github.com/user-attachments/assets/720c6370-5ce2-4be3-8346-0852f7803c26"
/> |
2026-10-22 00:48:57 +00:00
292c08b7b7 Added new /regions page (#49306)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Feature

## What is the current behavior?

Region and data residency information is split across docs, `/security`,
and legal pages.
[MARKET-1866](https://linear.app/supabase/issue/MARKET-1866/package-and-display-available-regions-better-on-website)

## What is the new behavior?

Adds `/regions`: a catalog of all 17 regions generated from
`regions.ts`, plus what stays in-region, the Europe vs EU caveat, and
links to the DPA, GDPR guide, sub-processor list, and security page.

Regions is in the footer under Security & Compliance. The security page
residency card now links here.

## Test plan

- [ ] Open `/regions` in light and dark mode
- [ ] Confirm the region count and list match
`packages/shared-data/regions.ts`
- [ ] Confirm footer Regions link and `/security` residency link go to
`/regions`


Made with [Cursor](https://cursor.com)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
  - Added a Regions page showcasing available AWS regions by geography.
- Added an interactive map and region list with selection, hover states,
keyboard accessibility, and residency badges.
- Included data residency guidance, legal resources, and a
call-to-action for next steps.
  - Added Regions links in the site footer and security documentation.

- **Documentation**
- Updated agent skill resources with expanded troubleshooting and
operational guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2026-08-27 12:45:28 +01:00