Sean Oliver and Danny White
f9fd4a2a9f
feat(www,docs,kb): show Do Not Sell or Share footer link to US visitors ( #53490 )
...
## Problem
US visitors need a "Do Not Sell or Share My Personal Information" footer
link, and no site reads the visitor's country
([GROWTH-1369](https://linear.app/supabase/issue/GROWTH-1369 )).
## Solution
- The www proxy copies the `x-vercel-ip-country` header into a
`_sb_country` cookie, which the footers read client-side. Docs and kb
route through www, so that covers all three.
- US visitors and unknown countries see the opt-out label. Everyone else
keeps "Privacy Settings". Both open the same modal.
- The link sits on each footer's copyright line, and the label stays
hidden until the cookie is read.
- Out of scope: GPC
([GROWTH-1373](https://linear.app/supabase/issue/GROWTH-1373 )) and modal
copy ([GROWTH-1370](https://linear.app/supabase/issue/GROWTH-1370 )).
- Tests cover US, non-US, unknown countries, and the cookie write.
Screenshots used a hand-set cookie.
**www**
| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/1bd8bcb8-6692-4fe9-90a0-5343b0364053 "
width="200"> | <img
src="https://github.com/user-attachments/assets/0514a0bd-ad1c-4773-b889-de941f5466b5 "
width="200"> | <img
src="https://github.com/user-attachments/assets/328ca1b4-9698-492e-8045-a15d884108f2 "
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3cb3e7d7-62ab-4d34-841c-23d50d7d1cd5 "
width="300"> | <img
src="https://github.com/user-attachments/assets/caf75b29-7286-404a-b1ea-7dfa5022912c "
width="300"> | <img
src="https://github.com/user-attachments/assets/2c067209-39cd-4ad8-9987-4f8763d70660 "
width="300"> |
**docs**
| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/37248b4a-436b-4d2d-b2d3-3966117abf9e "
width="200"> | <img
src="https://github.com/user-attachments/assets/0b109a0d-7618-46f8-ade0-8ba17e390b56 "
width="200"> | <img
src="https://github.com/user-attachments/assets/0047b2b8-7047-40df-8d9c-09f51e538fa4 "
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/0a7d6a65-e964-43dc-911e-0ea033cb1e91 "
width="300"> | <img
src="https://github.com/user-attachments/assets/27922348-661c-4246-b3fc-44ac054bd084 "
width="300"> | <img
src="https://github.com/user-attachments/assets/30afb171-1023-43ff-b77e-89f341128377 "
width="300"> |
**kb**
| | Before | US | DE |
|---|---|---|---|
| 375px | <img
src="https://github.com/user-attachments/assets/cd4fb8d1-8827-4b1a-8d13-c2a5d4f97378 "
width="200"> | <img
src="https://github.com/user-attachments/assets/2706ae24-3df8-4149-9a51-75abb0456734 "
width="200"> | <img
src="https://github.com/user-attachments/assets/7afb8731-b487-4e48-ae83-a3a6bde36bee "
width="200"> |
| 1440px | <img
src="https://github.com/user-attachments/assets/3b2bdc17-fee7-4ec0-bd24-d35a0367a6ca "
width="300"> | <img
src="https://github.com/user-attachments/assets/479b03e6-6890-4714-bbbb-ab122f46e786 "
width="300"> | <img
src="https://github.com/user-attachments/assets/252f4e0f-5bcc-4b43-aeda-784df9f000ca "
width="300"> |
## Review instructions
1. From a US IP, click the footer link on the www preview. The modal
opens.
2. From a non-US IP, see "Privacy Settings".
## Checklist
- [x] 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 )
---------
Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com >
2026-11-20 16:44:17 +09:00
Kody Jackson and Claude Sonnet 5.5
671c94e868
chore(docs,kb) - Update 301 destinations to final resolution + fix some 404s ( #53553 )
...
## Context
Lots of links that initially go to 301's within docs / kb. Updates these
to their resolved target.
Ask your Claude Code to review the new destinations programmatically.
---------
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-18 15:10:08 +00:00
Anthony Lio
3aa70c221f
feat(docs): ai layout groundwork ( #52971 )
...
## Problem
- docs layout redesign needs a flag, so the team can check the new
layout on production first
- ai tools agent cards open a setup page with no agent selected, so the
reader picks the agent again
## Solution
- adds the `docs-layout-v2` posthog flag, and
`?docs-layout-v2=true|false` overrides it for the rest of the browser
session
- adds a `layout-v2:` css variant, so server components can style the
new layout and the current layout from the same markup
- changes the agent cards to set `?client=` on their link, so the setup
page opens with that agent selected
- replaces the footer with link cells for status, product updates and
issue reports, and keeps the old footer for the flag
merge the stack together, because the new footer shows for every reader
until #PR5 adds the flag switch
<!--
## Preview links
If relevant, include links to changed pages for easy review access.
Copy the preview base URL from the Vercel bot comment on this PR. Use
the following table as an example template.
| Site | Live | Preview | Search for |
| -------------- |
-------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
| ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post ) |
[/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post )
| unique phrase from the change |
| Docs |
[/docs/guides/your-page](https://supabase.com/docs/guides/your-page ) |
[/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page )
| unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard ) |
[/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard )
| unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system ) |
[/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system )
| unique phrase from the change |
| UI library | [/library](https://supabase.com/library ) |
[/library](https://ui-library-git-branch-name-supabase.vercel.app/library )
| unique phrase from the change |
| Knowledge base |
[/kb/guides/your-page](https://supabase.com/kb/guides/your-page ) |
[/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page )
| unique phrase from the change |
-->
<!-- ## Additional context
Optionally add any other context or screenshots.
-->
## Review instructions
1. open
[/docs/guides/getting-started?docs-layout-v2=true](https://docs-git-antlio-docs-v2-1-groundwork-supabase.vercel.app/docs/guides/getting-started?docs-layout-v2=true ),
and make sure that the `<html>` element has `data-docs-layout="v2"`
2. open the same page with `?docs-layout-v2=false`, and make sure that
`data-docs-layout` is gone
## Checklist
Check all before review:
- [x] 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 )
2026-11-11 16:31:31 +02:00
Ivan Vasilov and Joshen Lim
05a542ccea
chore: Migrate all feather icons to lucide icons ( #29038 )
...
* Add lucide-react to docs (to make the autocomplete work).
* Migrate the docs app icons.
* Migrate the ui-patterns.
* Remove the old icons from ui package.
* Migrate the www app from react-feather icons.
* Migrate all of studio icons.
* Migrate the only component in design-system.
* Fix an old import in ui package. Revert an import in docs app.
* Fix some pages in www.
* Remove unneeded files used in generation of icons.
* Fix a prettier error.
* Fix more issues in www.
* Fix an issue in Log Date picker.
* Replace all string sizes with number sizes because the icons grew in some cases.
* Fix more imports in security page.
* Fix an extra import.
* Remove the size prop from all icons if they're in a button and they match the button size.
* Minor fixes for docs and www.
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-09-04 19:46:21 +08:00
Charis
78c93f2d52
fix: change some docs links to make more sense ( #22442 )
2024-04-04 07:00:31 -04:00
Ivan Vasilov and Terry Sutton
5754c23abb
feat: Move some components into ui-patterns ( #20774 )
...
* Change all imports in the ui package which import via the @ui shortcut.
* Add a new ui-patterns package. Add it to all apps.
* Migrate PrivacySettings from ui to ui-patterns.
* Migrate ConsentToast from ui to ui-patterns.
* Remove providers folder from ui package.
* Move GlassPanel.
* Migrate IconPanel.
* Migrate TweetCard.
* Migrate ThemeImage.
* Remove LWXCountdownBanner.
* Migrate CountdownWidget.
* Migrate SchemaTableNode.
* Migrate ExpandableVideo.
* Migrate ThemeToggle.
* Fix bunch of imports in the docs app.
* Revert some unnecessary changes.
* Expand the README.md.
* Fix the tailwind configs, they were using old folder structure.
* Fix leftover merge conflicts.
* Remove a deleted page in master.
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-02-12 12:44:00 +01:00
Charis
41e4f1a96b
change support footer link target ( #19545 )
2023-12-08 15:05:00 -05:00
Francesco Sansalvadore
2e5e0c6b96
Fix docs footer typo ( #18103 )
...
fix docs footer typo
2023-10-11 11:43:30 +02:00
Francesco Sansalvadore
a9abe79d56
Feat/privacy settings ( #17896 )
...
* privacy settings modal in www and docs
2023-10-05 16:10:53 +02:00
Long Hoang
e27678834d
Change url to support tickets to new /dashboard format
2023-06-22 11:34:12 +08:00
Francesco Sansalvadore
baf187d320
chore: docs homepage content
2023-05-11 16:08:37 +02:00
Francesco Sansalvadore
63c7a0e307
chore: update docs footer
2023-05-11 12:28:29 +02:00