Skip to content

www: product pages - #47271

Merged
fsansalvadore merged 18 commits into
masterfrom
feat/www-product-pages
Jun 26, 2026
Merged

fsansalvadore merged 18 commits into
masterfrom
feat/www-product-pages

Conversation

@fsansalvadore

@fsansalvadore fsansalvadore commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

Update product pages in marketing website.

PR breakdown of #43455
Related: #47226 #47227 #47228 #47236

Summary by CodeRabbit

  • New Features
    • Launched new Auth, Database, Realtime, Storage, and Edge Functions product pages with modular marketing sections, CTAs, quotes, and animated visuals.
    • Added multiple interactive, tabbed example/code panels with dark/light syntax highlighting and in-panel documentation links (including API, RLS, and SQL/table demos).
  • Improvements
    • Enhanced feature experiences with shader-driven glow effects and richer animated skeletons.
    • Added CTA banner telemetry and improved layout behavior (including deep dark mode and section spacing controls).
  • Chores / Maintenance
    • Replaced legacy pages/*.tsx implementations with the new route structure; updated shared section styling and refreshed interactive Functions visuals and log rendering.

@fsansalvadore
fsansalvadore requested a review from a team as a code owner June 24, 2026 13:26
@vercel

vercel Bot commented Jun 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 1:36pm
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jun 26, 2026 1:36pm
design-system Skipped Skipped Jun 26, 2026 1:36pm
docs Skipped Skipped Jun 26, 2026 1:36pm
studio-self-hosted Skipped Skipped Jun 26, 2026 1:36pm
studio-staging Skipped Skipped Jun 26, 2026 1:36pm
ui-library Skipped Skipped Jun 26, 2026 1:36pm

Request Review

@supabase

supabase Bot commented Jun 24, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The PR moves product marketing pages to app-router routes under app/(products)/, adds shared layout and reusable section primitives, and introduces Shiki-highlighted code panels, animated product sections, and new Edge Functions visuals.

Changes

Product Pages Migration to App Router

Layer / File(s) Summary
Shared layout and primitives
apps/www/app/(products)/layout.tsx, apps/www/components/Layouts/SectionContainerWithCn.tsx, apps/www/styles/globals.css, apps/www/package.json, apps/www/app/(products)/_shared/QuoteSection.tsx, apps/www/components/CTASection.tsx, apps/www/components/BuiltWithSupabaseSection.tsx
Adds pathname-based product navigation, section container spacing and full-width behavior, shared quote rendering, a CTA banner with telemetry hooks, built-with example cards, and runtime dependencies for ogl and shiki.
Shiki server-to-client code panels
apps/www/app/(products)/auth/_components/ApiSection.tsx, apps/www/app/(products)/auth/_components/ApiSectionClient.tsx, apps/www/app/(products)/auth/_components/RLSSection.tsx, apps/www/app/(products)/auth/_components/RLSSectionClient.tsx, apps/www/app/(products)/database/_components/ApiSection.tsx, apps/www/app/(products)/database/_components/ApiSectionClient.tsx, apps/www/app/(products)/realtime/_components/ApiSection.tsx, apps/www/app/(products)/realtime/_components/ApiSectionClient.tsx, apps/www/app/(products)/storage/_components/ApiSection.tsx, apps/www/app/(products)/storage/_components/ApiSectionClient.tsx, apps/www/app/(products)/storage/_components/PermissionsSection.tsx, apps/www/app/(products)/storage/_components/PermissionsSectionClient.tsx, apps/www/app/(products)/edge-functions/_components/IntegratesSection.tsx, apps/www/app/(products)/edge-functions/_components/IntegratesSectionClient.tsx
Server components build Shiki-highlighted HTML from example snippets, and client components rotate tabs with viewport-gated timers, animate panel height from measured content, and cross-fade snippets and captions.
Auth page sections and route
apps/www/app/(products)/auth/_components/Hero.tsx, apps/www/app/(products)/auth/_components/FeaturesSection.tsx, apps/www/app/(products)/auth/_components/HighlightsSection.tsx, apps/www/app/(products)/auth/_components/QuoteSection.tsx, apps/www/app/(products)/auth/_components/AuthContent.tsx, apps/www/app/(products)/auth/page.tsx
Adds the auth landing page sections, including animated provider-grid, static auth UI preview, shield glow, highlights cards, page composition, and the app-router route module.
Database page sections and route
apps/www/app/(products)/database/_components/Hero.tsx, apps/www/app/(products)/database/_components/FeaturesSection.tsx, apps/www/app/(products)/database/_components/HighlightsSection.tsx, apps/www/app/(products)/database/_components/QuoteSection.tsx, apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx, apps/www/app/(products)/database/_components/SqlEditorSection.tsx, apps/www/app/(products)/database/_components/TableEditorSection.tsx, apps/www/app/(products)/database/_components/VisualDemo.tsx, apps/www/app/(products)/database/_components/DatabaseContent.tsx, apps/www/app/(products)/database/page.tsx
Adds the database landing page sections, including Postgres, RLS, realtime-style visuals, spreadsheet and editor illustrations, an animated row mutation demo, page composition, and the app-router route module.
Realtime page sections and route
apps/www/app/(products)/realtime/_components/Hero.tsx, apps/www/app/(products)/realtime/_components/FeaturesSection.tsx, apps/www/app/(products)/realtime/_components/QuoteSection.tsx, apps/www/app/(products)/realtime/_components/RealtimeContent.tsx, apps/www/app/(products)/realtime/page.tsx
Adds the realtime landing page sections, including database-change, presence, and broadcast visuals, page composition, and the app-router route module.
Storage page sections and route
apps/www/app/(products)/storage/_components/Hero.tsx, apps/www/app/(products)/storage/_components/FeaturesSection.tsx, apps/www/app/(products)/storage/_components/BucketTypesSection.tsx, apps/www/app/(products)/storage/_components/QuoteSection.tsx, apps/www/app/(products)/storage/_components/StorageContent.tsx, apps/www/app/(products)/storage/page.tsx
Adds the storage landing page sections, bucket-type cards, page composition with API and permissions slots, and the app-router route module.
Edge Functions sections and route
apps/www/app/(products)/edge-functions/_components/Hero.tsx, apps/www/app/(products)/edge-functions/_components/Highlights.tsx, apps/www/app/(products)/edge-functions/_components/ExamplesSection.tsx, apps/www/app/(products)/edge-functions/_components/LocalDXSection.tsx, apps/www/app/(products)/edge-functions/_components/GlobalPresenceSection.tsx, apps/www/app/(products)/edge-functions/_components/ObservabilitySection.tsx, apps/www/app/(products)/edge-functions/_components/CTASection.tsx, apps/www/app/(products)/edge-functions/_components/EdgeFunctionsContent.tsx, apps/www/app/(products)/edge-functions/page.tsx
Adds the edge-functions landing page sections, example grids, hover-aware DX cards, observability cards, terminal CTA, page composition, and the app-router route module.

Estimated code review effort

🎯 5 (Critical) | ⏱️ ~120 minutes

Possibly related PRs

  • supabase/supabase#47226: Changes the shared section container area that this PR also updates for the product pages.

Suggested labels

frontend

Suggested reviewers

  • awaseem
  • kemaldotearth

🐇 New routes bloom in the moonlit den,
Tabs and panels hop again.
Glow and code now dance in sight,
Five pages brightened overnight.
A carrot toast for all this spring—
App-router bells go ding-a-ling!

🚥 Pre-merge checks | ✅ 2 | ❌ 3

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description omits the required template sections and only gives a brief summary and references. Fill in the template sections: confirmation, change type, current behavior, new behavior, and additional context.
Docstring Coverage ⚠️ Warning Docstring coverage is 3.23% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title is generic and does not identify the specific product-page changes in this PR. Use a concise title that names the main change, such as a clear product-page refresh or refactor summary.
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/www-product-pages

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/www/app/`(products)/auth/_components/Shaders/ShieldGlow.tsx:
- Around line 84-87: The fragment shader in ShieldGlow ignores uHover, so the
glow alpha never responds to hover state. Update the fragment logic that builds
gl_FragColor to incorporate uHover into the alpha calculation, and ensure the
shader uniforms/plumbing in ShieldGlow reflect the current hovered prop so the
effect fades out when hover is false. Use the existing uHover uniform and the
fragment color/alpha path near gl_FragColor to keep the change localized.

In `@apps/www/components/CTASection.tsx`:
- Around line 150-156: Remove the unused contributors fetch in CTASection: the
useContributors() hook is still running even though AvatarCloud is commented
out, so the data is never used. Update CTASection to drop the useContributors()
call and the contributors variable until AvatarCloud is re-enabled, leaving
sendTelemetryEvent and the rest of the component unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 7effc2a8-0595-4d74-9162-5d402d671171

📥 Commits

Reviewing files that changed from the base of the PR and between d5653f1 and 55fbe89.

⛔ Files ignored due to path filters (29)
  • apps/www/public/images/logos/frameworks/expo.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/flutter.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/langchain.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/nestjs.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/nextjs.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/openai.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/stripe.svg is excluded by !**/*.svg
  • apps/www/public/images/logos/frameworks/vercel.svg is excluded by !**/*.svg
  • apps/www/public/images/product/database/sql-view/export-csv-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/export.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/favorites-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/favorites.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/manaco-editor.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/monaco-editor-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/monaco-editor.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/sql-editor-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/sql-view/sql-editor.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/create-table-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/create-table.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/create-tables.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/export-csv-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/export-csv.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/export.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/foreign-keys-light.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/foreign-keys.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/spreadsheet-interface.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/spreadsheet.png is excluded by !**/*.png
  • apps/www/public/images/product/database/table-view/table-editor-light.png is excluded by !**/*.png
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (64)
  • apps/www/app/(products)/_shared/QuoteSection.tsx
  • apps/www/app/(products)/auth/_components/ApiSection.tsx
  • apps/www/app/(products)/auth/_components/ApiSectionClient.tsx
  • apps/www/app/(products)/auth/_components/AuthContent.tsx
  • apps/www/app/(products)/auth/_components/FeaturesSection.tsx
  • apps/www/app/(products)/auth/_components/Hero.tsx
  • apps/www/app/(products)/auth/_components/HighlightsSection.tsx
  • apps/www/app/(products)/auth/_components/QuoteSection.tsx
  • apps/www/app/(products)/auth/_components/RLSSection.tsx
  • apps/www/app/(products)/auth/_components/RLSSectionClient.tsx
  • apps/www/app/(products)/auth/_components/Shaders/ShieldGlow.tsx
  • apps/www/app/(products)/auth/page.tsx
  • apps/www/app/(products)/database/_components/ApiSection.tsx
  • apps/www/app/(products)/database/_components/ApiSectionClient.tsx
  • apps/www/app/(products)/database/_components/DatabaseContent.tsx
  • apps/www/app/(products)/database/_components/FeaturesSection.tsx
  • apps/www/app/(products)/database/_components/Hero.tsx
  • apps/www/app/(products)/database/_components/HighlightsSection.tsx
  • apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx
  • apps/www/app/(products)/database/_components/QuoteSection.tsx
  • apps/www/app/(products)/database/_components/Shaders/PostgresGlow.tsx
  • apps/www/app/(products)/database/_components/SqlEditorSection.tsx
  • apps/www/app/(products)/database/_components/TableEditorSection.tsx
  • apps/www/app/(products)/database/_components/VisualDemo.tsx
  • apps/www/app/(products)/database/page.tsx
  • apps/www/app/(products)/edge-functions/_components/CTASection.tsx
  • apps/www/app/(products)/edge-functions/_components/EdgeFunctionsContent.tsx
  • apps/www/app/(products)/edge-functions/_components/ExamplesSection.tsx
  • apps/www/app/(products)/edge-functions/_components/GlobalPresenceSection.tsx
  • apps/www/app/(products)/edge-functions/_components/Hero.tsx
  • apps/www/app/(products)/edge-functions/_components/Highlights.tsx
  • apps/www/app/(products)/edge-functions/_components/IntegratesSection.tsx
  • apps/www/app/(products)/edge-functions/_components/IntegratesSectionClient.tsx
  • apps/www/app/(products)/edge-functions/_components/LocalDXSection.tsx
  • apps/www/app/(products)/edge-functions/_components/ObservabilitySection.tsx
  • apps/www/app/(products)/edge-functions/page.tsx
  • apps/www/app/(products)/layout.tsx
  • apps/www/app/(products)/realtime/_components/ApiSection.tsx
  • apps/www/app/(products)/realtime/_components/ApiSectionClient.tsx
  • apps/www/app/(products)/realtime/_components/FeaturesSection.tsx
  • apps/www/app/(products)/realtime/_components/Hero.tsx
  • apps/www/app/(products)/realtime/_components/QuoteSection.tsx
  • apps/www/app/(products)/realtime/_components/RealtimeContent.tsx
  • apps/www/app/(products)/realtime/page.tsx
  • apps/www/app/(products)/storage/_components/ApiSection.tsx
  • apps/www/app/(products)/storage/_components/ApiSectionClient.tsx
  • apps/www/app/(products)/storage/_components/BucketTypesSection.tsx
  • apps/www/app/(products)/storage/_components/FeaturesSection.tsx
  • apps/www/app/(products)/storage/_components/Hero.tsx
  • apps/www/app/(products)/storage/_components/PermissionsSection.tsx
  • apps/www/app/(products)/storage/_components/PermissionsSectionClient.tsx
  • apps/www/app/(products)/storage/_components/QuoteSection.tsx
  • apps/www/app/(products)/storage/_components/StorageContent.tsx
  • apps/www/app/(products)/storage/page.tsx
  • apps/www/components/BuiltWithSupabaseSection.tsx
  • apps/www/components/CTASection.tsx
  • apps/www/components/Layouts/SectionContainerWithCn.tsx
  • apps/www/package.json
  • apps/www/pages/auth.tsx
  • apps/www/pages/database.tsx
  • apps/www/pages/edge-functions.tsx
  • apps/www/pages/realtime.tsx
  • apps/www/pages/storage.tsx
  • apps/www/styles/globals.css
💤 Files with no reviewable changes (5)
  • apps/www/pages/storage.tsx
  • apps/www/pages/edge-functions.tsx
  • apps/www/pages/database.tsx
  • apps/www/pages/auth.tsx
  • apps/www/pages/realtime.tsx

Comment thread apps/www/components/CTASection.tsx Resolved
@github-actions

github-actions Bot commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  218 passed
flaky  1 flaky
skipped  5 skipped

Details

stats  224 tests across 24 suites
duration  3 minutes, 59 seconds
commit  261fe50

Flaky tests

Features › realtime-inspector.spec.ts › Realtime Inspector › Broadcast Messages › broadcast messages appear in the UI when listening

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
apps/www/components/Products/Functions/LocalDXImage.tsx (1)

12-134: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Export LocalDXImage before merging.

LocalDXImage is defined here but never exported. apps/www/app/(products)/edge-functions/_components/LocalDXSection.tsx:101-122 renders this component, so the page will not compile until this file exports it in the form that caller imports.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/www/components/Products/Functions/LocalDXImage.tsx` around lines 12 -
134, LocalDXImage is defined but not exported, so the caller in LocalDXSection
cannot import it and the page will fail to compile. Update the LocalDXImage
component declaration to export it using the same symbol name, and keep the
export style consistent with how it is imported from the edge-functions section
component.
apps/www/components/Products/Functions/ParityImage.tsx (1)

54-139: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Export ParityImage before merging.

ParityImage is defined here but never exported. Since the product page renders this component, the import will fail until this file exports it using the style expected by the caller.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/www/components/Products/Functions/ParityImage.tsx` around lines 54 -
139, ParityImage is defined but not exported, so callers cannot import it from
the product page module. Update the ParityImage component declaration to export
it using the same export style used elsewhere in this codebase, and keep the
existing component implementation and referenced symbols like SyncLines and cn
unchanged.
apps/www/components/Products/Functions/NpmEcosystem.tsx (1)

158-221: 🎯 Functional Correctness | 🔴 Critical | ⚡ Quick win

Export NpmEcosystem before merging.

This component is declared but not exported. The Edge Functions page consumes NpmEcosystem, so leaving this file unexported will fail the import/build for that route.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/www/components/Products/Functions/NpmEcosystem.tsx` around lines 158 -
221, The NpmEcosystem component is declared but not exported, so the Edge
Functions page cannot import it. Update the NpmEcosystem component definition to
export it from this module, keeping the component name unchanged so the existing
consumer can resolve it correctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/www/components/Products/Functions/CI.tsx`:
- Around line 88-128: The CI component is declared but not exported, so the Edge
Functions page import will fail. Update the CI component in CI.tsx to export it
using the same export style expected by the caller (named or default), and keep
the existing component signature and behavior intact so <CI
isHovered={isHovered} /> can resolve correctly.

---

Outside diff comments:
In `@apps/www/components/Products/Functions/LocalDXImage.tsx`:
- Around line 12-134: LocalDXImage is defined but not exported, so the caller in
LocalDXSection cannot import it and the page will fail to compile. Update the
LocalDXImage component declaration to export it using the same symbol name, and
keep the export style consistent with how it is imported from the edge-functions
section component.

In `@apps/www/components/Products/Functions/NpmEcosystem.tsx`:
- Around line 158-221: The NpmEcosystem component is declared but not exported,
so the Edge Functions page cannot import it. Update the NpmEcosystem component
definition to export it from this module, keeping the component name unchanged
so the existing consumer can resolve it correctly.

In `@apps/www/components/Products/Functions/ParityImage.tsx`:
- Around line 54-139: ParityImage is defined but not exported, so callers cannot
import it from the product page module. Update the ParityImage component
declaration to export it using the same export style used elsewhere in this
codebase, and keep the existing component implementation and referenced symbols
like SyncLines and cn unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: 88803481-0408-4ad4-ba46-9346afc6f8ef

📥 Commits

Reviewing files that changed from the base of the PR and between 80cf0d4 and 935e7db.

📒 Files selected for processing (4)
  • apps/www/components/Products/Functions/CI.tsx
  • apps/www/components/Products/Functions/LocalDXImage.tsx
  • apps/www/components/Products/Functions/NpmEcosystem.tsx
  • apps/www/components/Products/Functions/ParityImage.tsx

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Caution

Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted.

Error details
{"name":"HttpError","status":500,"request":{"method":"PATCH","url":"https://api.github.com/repos/supabase/supabase/issues/comments/4789774484","headers":{"accept":"application/vnd.github.v3+json","user-agent":"octokit.js/0.0.0-development octokit-core.js/7.0.6 Node.js/24","authorization":"token [REDACTED]","content-type":"application/json; charset=utf-8"},"body":{"body":"<!-- This is an auto-generated comment: summarize by coderabbit.ai -->\n<!-- review_stack_entry_start -->\n\n[![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/47271?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)\n\n<!-- review_stack_entry_end -->\n<!-- This is an auto-generated comment: review in progress by coderabbit.ai -->\n\n> [!NOTE]\n> Currently processing new changes in this PR. This may take a few minutes, please wait...\n> \n> <details>\n> <summary>⚙️ Run configuration</summary>\n> \n> **Configuration used**: Repository UI (base), Organization UI (inherited)\n> \n> **Review profile**: CHILL\n> \n> **Plan**: Pro\n> \n> **Run ID**: `bd238c29-043b-4d66-bedf-22c7950d55b5`\n> \n> </details>\n> \n> <details>\n> <summary>📥 Commits</summary>\n> \n> Reviewing files that changed from the base of the PR and between 935e7dbe8b9bbcd6e749a50ef9e22c4c9aca9ac8 and 7af6352f3428898da4616839adc4a3817be72553.\n> \n> </details>\n> \n> <details>\n> <summary>📒 Files selected for processing (4)</summary>\n> \n> * `apps/www/app/(products)/edge-functions/_components/Highlights.tsx`\n> * `apps/www/components/Products/Functions/Metrics.tsx`\n> * `apps/www/components/Products/Functions/QueryLogs.tsx`\n> * `apps/www/components/Products/Functions/RealtimeLogs.tsx`\n> \n> </details>\n> \n> ```ascii\n>  ______________________________________________________\n> < Linters are opinions; I'm the peer-reviewed journal. >\n>  ------------------------------------------------------\n>   \\\n>    \\   (\\__/)\n>        (•ㅅ•)\n>        /   づ\n> ```\n\n<!-- end of auto-generated comment: review in progress by coderabbit.ai -->\n\n<!-- walkthrough_start -->\n\n<details>\n<summary>📝 Walkthrough</summary>\n\n## Walkthrough\nThe PR moves product marketing pages to app-router routes under `app/(products)/`, adds shared layout and reusable section primitives, and introduces Shiki-highlighted code panels, animated product sections, and new Edge Functions visual components.\n\n## Changes\n**Product Pages Migration to App Router**\n\n|Layer / File(s)|Summary|\n|---|---|\n|**Shared layout and reusable sections** <br> `apps/www/app/(products)/layout.tsx`, `apps/www/components/Layouts/SectionContainerWithCn.tsx`, `apps/www/styles/globals.css`, `apps/www/package.json`, `apps/www/app/(products)/_shared/QuoteSection.tsx`, `apps/www/components/CTASection.tsx`, `apps/www/components/BuiltWithSupabaseSection.tsx`|Adds pathname-based product navigation, section container spacing and width updates, shared quote rendering, a CTA banner with telemetry hooks, built-with example cards, and runtime dependencies for `ogl` and `shiki`.|\n|**WebGL shader glow components** <br> `apps/www/app/(products)/auth/_components/Shaders/ShieldGlow.tsx`, `apps/www/app/(products)/database/_components/Shaders/PostgresGlow.tsx`|Adds two canvas components that rasterize SVG masks and render animated glow effects through `ogl` shaders with resize-aware uniforms and RAF loops.|\n|**Shiki server→client code panel pattern** <br> `apps/www/app/(products)/auth/_components/ApiSection.tsx`, `apps/www/app/(products)/auth/_components/ApiSectionClient.tsx`, `apps/www/app/(products)/auth/_components/RLSSection.tsx`, `apps/www/app/(products)/auth/_components/RLSSectionClient.tsx`, `apps/www/app/(products)/database/_components/ApiSection.tsx`, `apps/www/app/(products)/database/_components/ApiSectionClient.tsx`, `apps/www/app/(products)/realtime/_components/ApiSection.tsx`, `apps/www/app/(products)/realtime/_components/ApiSectionClient.tsx`, `apps/www/app/(products)/storage/_components/ApiSection.tsx`, `apps/www/app/(products)/storage/_components/ApiSectionClient.tsx`, `apps/www/app/(products)/storage/_components/PermissionsSection.tsx`, `apps/www/app/(products)/storage/_components/PermissionsSectionClient.tsx`, `apps/www/app/(products)/edge-functions/_components/IntegratesSection.tsx`, `apps/www/app/(products)/edge-functions/_components/IntegratesSectionClient.tsx`|Server components build Shiki-highlighted HTML from example snippets, and client components rotate tabs with viewport-gated timers, animate panel height from measured content, and cross-fade snippets and captions.|\n|**Auth product page** <br> `apps/www/app/(products)/auth/_components/Hero.tsx`, `apps/www/app/(products)/auth/_components/FeaturesSection.tsx`, `apps/www/app/(products)/auth/_components/HighlightsSection.tsx`, `apps/www/app/(products)/auth/_components/QuoteSection.tsx`, `apps/www/app/(products)/auth/_components/AuthContent.tsx`, `apps/www/app/(products)/auth/page.tsx`|Adds the auth landing page sections, including animated provider-grid, static auth UI preview, shield glow, highlights cards, page composition, and the app-router route module.|\n|**Database product page** <br> `apps/www/app/(products)/database/_components/Hero.tsx`, `apps/www/app/(products)/database/_components/FeaturesSection.tsx`, `apps/www/app/(products)/database/_components/HighlightsSection.tsx`, `apps/www/app/(products)/database/_components/QuoteSection.tsx`, `apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx`, `apps/www/app/(products)/database/_components/SqlEditorSection.tsx`, `apps/www/app/(products)/database/_components/TableEditorSection.tsx`, `apps/www/app/(products)/database/_components/VisualDemo.tsx`, `apps/www/app/(products)/database/_components/DatabaseContent.tsx`, `apps/www/app/(products)/database/page.tsx`|Adds the database landing page sections, including Postgres, RLS, realtime-style visuals, spreadsheet and editor illustrations, an animated row mutation demo, page composition, and the app-router route module.|\n|**Realtime product page** <br> `apps/www/app/(products)/realtime/_components/Hero.tsx`, `apps/www/app/(products)/realtime/_components/FeaturesSection.tsx`, `apps/www/app/(products)/realtime/_components/QuoteSection.tsx`, `apps/www/app/(products)/realtime/_components/RealtimeContent.tsx`, `apps/www/app/(products)/realtime/page.tsx`|Adds the realtime landing page sections, including database-change, presence, and broadcast visuals, page composition, and the app-router route module.|\n|**Storage product page** <br> `apps/www/app/(products)/storage/_components/Hero.tsx`, `apps/www/app/(products)/storage/_components/FeaturesSection.tsx`, `apps/www/app/(products)/storage/_components/BucketTypesSection.tsx`, `apps/www/app/(products)/storage/_components/QuoteSection.tsx`, `apps/www/app/(products)/storage/_components/StorageContent.tsx`, `apps/www/app/(products)/storage/page.tsx`|Adds the storage landing page sections, bucket-type cards, page composition with API and permissions slots, and the app-router route module.|\n|**Edge Functions product page** <br> `apps/www/app/(products)/edge-functions/_components/Hero.tsx`, `apps/www/app/(products)/edge-functions/_components/Highlights.tsx`, `apps/www/app/(products)/edge-functions/_components/ExamplesSection.tsx`, `apps/www/app/(products)/edge-functions/_components/LocalDXSection.tsx`, `apps/www/app/(products)/edge-functions/_components/GlobalPresenceSection.tsx`, `apps/www/app/(products)/edge-functions/_components/ObservabilitySection.tsx`, `apps/www/app/(products)/edge-functions/_components/CTASection.tsx`, `apps/www/app/(products)/edge-functions/_components/EdgeFunctionsContent.tsx`, `apps/www/app/(products)/edge-functions/page.tsx`|Adds the edge-functions landing page sections, example grids, hover-aware DX cards, observability cards, terminal CTA, page composition, and the app-router route module.|\n\n## Estimated code review effort\n🎯 5 (Critical) | ⏱️ ~120 minutes\n\n## Possibly related PRs\n- [supabase/supabase#47226](https://github.com/supabase/supabase/pull/47226): Changes the shared section container area that this PR also updates for the product pages.\n\n## Suggested labels\n`frontend`\n\n## Suggested reviewers\n- awaseem\n- kemaldotearth\n\n> 🐇 New routes bloom in the moonlit den,  \n> Tabs and panels hop again.  \n> Glow and code now dance in sight,  \n> Five pages brightened overnight.  \n> A carrot toast for all this spring—  \n> App-router bells go ding-a-ling!\n\n</details>\n\n<!-- walkthrough_end -->\n<!-- pre_merge_checks_walkthrough_start -->\n\n<details>\n<summary>🚥 Pre-merge checks | ✅ 2 | ❌ 3</summary>\n\n### ❌ Failed checks (2 warnings, 1 inconclusive)\n\n|     Check name     | Status         | Explanation                                                                                             | Resolution                                                                                                                          |\n| :----------------: | :------------- | :------------------------------------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------- |\n|  Description check | ⚠️ Warning     | The description is far shorter than the required template and omits all mandatory sections and details. | Fill in the template sections: CONTRIBUTING.md acknowledgment, change type, current behavior, new behavior, and additional context. |\n| Docstring Coverage | ⚠️ Warning     | Docstring coverage is 3.33% which is insufficient. The required threshold is 80.00%.                    | Write docstrings for the functions missing them to satisfy the coverage threshold.                                                  |\n|     Title check    | ❓ Inconclusive | The title is related to the changes, but it is too vague to describe the main update clearly.           | Use a more specific title that names the product-page marketing site update, such as the affected sections or pages.                |\n\n<details>\n<summary>✅ Passed checks (2 passed)</summary>\n\n|         Check name         | Status   | Explanation                                                              |\n| :------------------------: | :------- | :----------------------------------------------------------------------- |\n|     Linked Issues check    | ✅ Passed | Check skipped because no linked issues were found for this pull request. |\n| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |\n\n</details>\n\n<sub>✏️ Tip: You can configure your own custom pre-merge checks in the settings.</sub>\n\n</details>\n\n<!-- pre_merge_checks_walkthrough_end -->\n<!-- finishing_touch_checkbox_start -->\n\n<details>\n<summary>✨ Finishing Touches</summary>\n\n<details>\n<summary>📝 Generate docstrings</summary>\n\n- [ ] <!-- {\"checkboxId\": \"7962f53c-55bc-4827-bfbf-6a18da830691\"} --> Create stacked PR\n- [ ] <!-- {\"checkboxId\": \"3e1879ae-f29b-4d0d-8e06-d12b7ba33d98\"} --> Commit on current branch\n\n</details>\n<details>\n<summary>🧪 Generate unit tests (beta)</summary>\n\n- [ ] <!-- {\"checkboxId\": \"f47ac10b-58cc-4372-a567-0e02b2c3d479\", \"radioGroupId\": \"utg-output-choice-group-unknown_comment_id\"} -->   Create PR with unit tests\n- [ ] <!-- {\"checkboxId\": \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\", \"radioGroupId\": \"utg-output-choice-group-unknown_comment_id\"} -->   Commit unit tests in branch `feat/www-product-pages`\n\n</details>\n<details open>\n<summary>⚔️ Resolve merge conflicts</summary>\n\n- [ ] <!-- {\"checkboxId\": \"c3a5b2e1-4d7f-4a8c-b9d6-e1f2c3d4a5b6\"} --> Resolve merge conflict in branch `feat/www-product-pages`\n\n</details>\n\n</details>\n\n<!-- finishing_touch_checkbox_end -->\n<!-- tips_start -->\n\n---\n\nThanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=supabase/supabase&utm_content=47271)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.\n\n<details>\n<summary>❤️ Share</summary>\n\n- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)\n- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)\n- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)\n- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)\n\n</details>\n\n\n<sub>Comment `@coderabbitai help` to get the list of available commands.</sub>\n\n<!-- tips_end -->"},"request":{"retryCount":3,"signal":{},"retries":3,"retryAfter":16}}}

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/www/components/Products/Functions/QueryLogs.tsx`:
- Around line 90-104: The activeLogs list in QueryLogs is growing without bounds
because both the isPlaying useEffect and the useInterval callback keep
prepending new entries; update the setActiveLogs logic in QueryLogs to cap the
array length the same way as RealtimeLogs, so older logs are dropped once the
maximum size is reached. Use the existing createLog, setActiveLogs, and
useInterval paths to keep behavior unchanged except for the fixed upper limit.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: bd238c29-043b-4d66-bedf-22c7950d55b5

📥 Commits

Reviewing files that changed from the base of the PR and between 935e7db and 7af6352.

📒 Files selected for processing (4)
  • apps/www/app/(products)/edge-functions/_components/Highlights.tsx
  • apps/www/components/Products/Functions/Metrics.tsx
  • apps/www/components/Products/Functions/QueryLogs.tsx
  • apps/www/components/Products/Functions/RealtimeLogs.tsx
✅ Files skipped from review due to trivial changes (1)
  • apps/www/components/Products/Functions/Metrics.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/www/app/(products)/edge-functions/_components/Highlights.tsx

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the marketing site’s product pages to the Next.js App Router and introduces new modular, interactive sections (code panels, quotes, CTAs, demos/visuals) for Database, Auth, Realtime, Storage, and Edge Functions.

Changes:

  • Replaced legacy pages/* product pages with App Router routes under app/(products)/*, plus a shared products layout and shared quote component.
  • Added new interactive sections (syntax-highlighted Shiki code panels, tabbed content, animated visuals/logs, shader glow) and shared “Built with Supabase” + CTA blocks.
  • Updated global styling and added/updated brand/framework logo assets and new dependencies (ogl, shiki).

Reviewed changes

Copilot reviewed 72 out of 104 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
apps/www/styles/globals.css Updates section-container utility to include w-full.
apps/www/public/images/logos/resend-wordmark.svg Adds Resend wordmark asset.
apps/www/public/images/logos/resend-icon.svg Adds Resend icon asset.
apps/www/public/images/logos/hugging-face-icon.svg Adds Hugging Face icon asset.
apps/www/public/images/logos/frameworks/vercel.svg Adds Vercel logo asset.
apps/www/public/images/logos/frameworks/stripe.svg Adds Stripe logo asset.
apps/www/public/images/logos/frameworks/openai.svg Adds OpenAI logo asset.
apps/www/public/images/logos/frameworks/nextjs.svg Replaces Next.js logo asset.
apps/www/public/images/logos/frameworks/nestjs.svg Adds NestJS logo asset.
apps/www/public/images/logos/frameworks/langchain.svg Adds LangChain logo asset.
apps/www/public/images/logos/frameworks/flutter.svg Updates Flutter logo asset.
apps/www/public/images/logos/frameworks/expo.svg Updates Expo logo asset.
apps/www/pages/realtime.tsx Removes legacy Pages Router Realtime product page.
apps/www/pages/edge-functions.tsx Removes legacy Pages Router Edge Functions product page.
apps/www/package.json Adds ogl and shiki dependencies for new visuals and code rendering.
apps/www/data/Examples.ts Removes commented-out example entry.
apps/www/components/Products/Functions/RealtimeLogs.tsx Improves log rendering and caps log count; expands status variety.
apps/www/components/Products/Functions/QueryLogs.tsx Improves log rendering and caps log count; adjusts status distribution.
apps/www/components/Products/Functions/ParityImage.tsx Adds hover-driven animated parity visual.
apps/www/components/Products/Functions/NpmEcosystem.tsx Adds hover-driven staggered pill animation and expands npm module list.
apps/www/components/Products/Functions/Metrics.tsx Refines layout/spacing of metrics chart.
apps/www/components/Products/Functions/LocalDXImage.tsx Adds hover typing animation + output line for local DX terminal card.
apps/www/components/Products/Functions/CI.tsx Replaces CodeWindow with custom animated/tokenized YAML renderer.
apps/www/components/Layouts/SectionContainerWithCn.tsx Adds spacing variant to standardize section vertical rhythm.
apps/www/components/CTASection.tsx Adds reusable CTA section with telemetry hooks.
apps/www/components/BuiltWithSupabaseSection.tsx Adds reusable “Built with Supabase” examples grid with skeleton previews.
apps/www/app/(products)/storage/page.tsx Adds Storage product page route + metadata.
apps/www/app/(products)/storage/_components/StorageContent.tsx Composes Storage page sections + shared CTA/examples.
apps/www/app/(products)/storage/_components/QuoteSection.tsx Storage-specific quote wrapper using shared QuoteSection.
apps/www/app/(products)/storage/_components/PermissionsSectionClient.tsx Client tabbed/auto-advancing permissions code panel.
apps/www/app/(products)/storage/_components/PermissionsSection.tsx Server-side Shiki rendering for permissions examples.
apps/www/app/(products)/storage/_components/Hero.tsx Storage hero section.
apps/www/app/(products)/storage/_components/BucketTypesSection.tsx Storage bucket types section and CTAs.
apps/www/app/(products)/storage/_components/ApiSectionClient.tsx Client tabbed/multi-language API code panel.
apps/www/app/(products)/storage/_components/ApiSection.tsx Server-side Shiki rendering for Storage API examples.
apps/www/app/(products)/realtime/page.tsx Adds Realtime product page route + metadata.
apps/www/app/(products)/realtime/_components/RealtimeContent.tsx Composes Realtime page sections + shared CTA/examples.
apps/www/app/(products)/realtime/_components/QuoteSection.tsx Realtime-specific quote wrapper using shared QuoteSection.
apps/www/app/(products)/realtime/_components/Hero.tsx Realtime hero section.
apps/www/app/(products)/realtime/_components/ApiSectionClient.tsx Client tabbed Realtime API code panel.
apps/www/app/(products)/realtime/_components/ApiSection.tsx Server-side Shiki rendering for Realtime examples.
apps/www/app/(products)/layout.tsx Adds shared products layout with nav + deep dark theme enforcement.
apps/www/app/(products)/edge-functions/page.tsx Adds Edge Functions product page route + metadata.
apps/www/app/(products)/edge-functions/_components/ObservabilitySection.tsx Adds observability bento section using animated log/metrics cards.
apps/www/app/(products)/edge-functions/_components/LocalDXSection.tsx Adds local DX bento grid (local dev, parity, CI, ecosystem).
apps/www/app/(products)/edge-functions/_components/IntegratesSectionClient.tsx Client tabbed integrations section with code panel.
apps/www/app/(products)/edge-functions/_components/IntegratesSection.tsx Server-side Shiki rendering for integrations examples.
apps/www/app/(products)/edge-functions/_components/Hero.tsx Edge Functions hero section.
apps/www/app/(products)/edge-functions/_components/GlobalPresenceSection.tsx Adds global presence feature copy section.
apps/www/app/(products)/edge-functions/_components/ExamplesSection.tsx Adds Edge Functions examples grid.
apps/www/app/(products)/edge-functions/_components/EdgeFunctionsContent.tsx Composes Edge Functions page sections.
apps/www/app/(products)/edge-functions/_components/CTASection.tsx Edge Functions-specific CTA with terminal animation.
apps/www/app/(products)/database/page.tsx Adds Database product page route + metadata.
apps/www/app/(products)/database/_components/TableEditorSection.tsx Adds auto-advancing table editor tabs with imagery.
apps/www/app/(products)/database/_components/SqlEditorSection.tsx Adds auto-advancing SQL editor tabs with imagery.
apps/www/app/(products)/database/_components/QuoteSection.tsx Database-specific quote wrapper using shared QuoteSection.
apps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsx Adds custom spreadsheet/table illustration component.
apps/www/app/(products)/database/_components/HighlightsSection.tsx Adds database highlights cards section.
apps/www/app/(products)/database/_components/Hero.tsx Database hero section.
apps/www/app/(products)/database/_components/DatabaseContent.tsx Composes Database page sections + shared CTA/examples.
apps/www/app/(products)/database/_components/ApiSectionClient.tsx Client multi-language API code panel for Database page.
apps/www/app/(products)/auth/page.tsx Adds Auth product page route + metadata.
apps/www/app/(products)/auth/_components/Shaders/ShieldGlow.tsx Adds shader-driven glow visual using ogl.
apps/www/app/(products)/auth/_components/RLSSectionClient.tsx Client tabbed RLS examples panel.
apps/www/app/(products)/auth/_components/RLSSection.tsx Server-side Shiki rendering for RLS examples.
apps/www/app/(products)/auth/_components/QuoteSection.tsx Auth-specific quote wrapper using shared QuoteSection.
apps/www/app/(products)/auth/_components/HighlightsSection.tsx Adds Auth enterprise/security highlights section.
apps/www/app/(products)/auth/_components/Hero.tsx Auth hero section.
apps/www/app/(products)/auth/_components/AuthContent.tsx Composes Auth page sections + shared CTA/examples.
apps/www/app/(products)/auth/_components/ApiSectionClient.tsx Client multi-language Auth API code panel.
apps/www/app/(products)/_shared/QuoteSection.tsx Adds shared quote component used across product pages.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

@dnywh dnywh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a few things to clean up:

  • Contrast
  • That Copilot comment 2× about milliseconds vs seconds

fsansalvadore and others added 5 commits June 25, 2026 11:39
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>

@dnywh dnywh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested on staging. Looks good. Thanks for addressing those comments!

@fsansalvadore
fsansalvadore merged commit cd62b0b into master Jun 26, 2026
32 checks passed
@fsansalvadore
fsansalvadore deleted the feat/www-product-pages branch June 26, 2026 13:47
@github-actions

github-actions Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1782481796)

Score Average Improvements Regressions
Completeness 88.5% (-11pp) - 10 🔴
Conciseness 51.1% (+6pp) 12 🟢 3 🔴
Docs Faithfulness 65.9% (+5pp) 6 🟢 4 🔴
Goal Completion 73% (-8pp) 4 🟢 12 🔴
Knowledge Usage 97.4% (+5pp) 2 🟢 -
Tool Usage 74.5% (+3pp) 2 🟢 -
Correctness 63.3% (-3pp) 2 🟢 6 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 85.7% (-5pp) 1 🟢 2 🔴
Time_to_first_token 7.66tok (+4.01tok) 23 🟢 6 🔴
Llm_calls 7.23 (-0.15) 9 🟢 15 🔴
Tool_calls 3.09 (-0.05) 8 🟢 12 🔴
Errors 0.02 (+0) 1 🟢 1 🔴
Llm_errors 0.01 (+0) 1 🟢 1 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 22030.21tok (-3103.03tok) 17 🟢 9 🔴
Prompt_cached_tokens 6420.6tok (-1124.05tok) 13 🟢 13 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 575.84tok (-50.53tok) 16 🟢 13 🔴
Completion_reasoning_tokens 108.43tok (-1.72tok) 17 🟢 10 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 22606.05tok (-3153.56tok) 20 🟢 9 🔴
Estimated_cost 0$ (0$) 21 🟢 8 🔴
Duration 29.23s (+10.83s) 21 🟢 8 🔴
Llm_duration 19.63s (+8.46s) 21 🟢 8 🔴

pamelachia added a commit that referenced this pull request Jul 27, 2026
The June/July marketing redesign (#47271, #47228) rebuilt the homepage
and product pages off the Pages Router, silently dropping their `<link
rel="alternate" type="text/markdown">` head tags, and llms-full.txt has
been accidentally embedding every blog/customer/event page via an
`MD_CONTENT` spread. I restored the tags behind a shared helper, added a
CI drift test so a future redesign can't drop them silently again, and
trimmed both llms files to the agreed docs-index shape.

**Changed:**

- **Markdown siblings advertised again**: homepage, the 5 product pages,
pricing, and blog emit absolute `.md` alternate URLs via a new
`mdAlternates(slug)` helper (the one documented consumer of the tag
parses it from `<head>` and fetches the `.md` sibling, so tags must
point at the sibling, never the page itself).
- **Drift test**: a vitest file walks `content/md/**` and asserts every
markdown-served slug's page wires the helper (or is covered by the Pages
Router `_app.tsx` mechanism, whose alternate-link wiring the test also
asserts directly so removing it fails CI too). Source-level assertions
by design: page modules can't be imported under www's vitest config.
Fails correctly when wiring is removed (verified by hiding a page and by
altering the `_app.tsx` tag).
- **Vector orphan fixed**: `content/md/vector.md` moved to
`modules/vector` matching the live route (the page previously had no
negotiation or tag, and `/modules/vector.md` 404'd); `/vector.md` now
308s to `/modules/vector.md` and the legacy `/llms/vector.txt` redirect
no longer chains.
- **llms.txt + llms-full.txt**: the `## Product Overview` sections are
gone from both, each keeps a `## Pricing` section. This deletes the
hand-maintained links array (a drift trap) and fixes the accidental
~470-page embed, shrinking llms-full.txt from ~9.8MB to ~4.9MB and
dropping the 4.1MB generated content module from that route's serverless
bundle.

**Note:** this PR is scoped to apps/www only. The docs side
(troubleshooting pages and the rest of the docs surface) is handled
separately through a consolidated manifest-gated mechanism; an earlier
troubleshooting-tag commit was reverted out of this branch to keep the
scopes clean.

<details>
<summary>Why alternate tags matter (background)</summary>

Agents ingest markdown far more efficiently than our rendered HTML: a
fraction of the tokens and no extraction step. Since #47770 removed
UA-based serving (UA sniffing broke a major AI app's fetcher and
poisoned CDN caches), markdown is served only on explicit request: a
`.md` suffix URL, an `Accept: text/markdown` header, or llms.txt. That's
the right serving model, but it makes the markdown twin invisible to any
agent that doesn't already know our URL convention, and the major AI
fetchers send browser/wildcard Accept headers, so bare URLs hand them
HTML.

The `<link rel="alternate" type="text/markdown">` head tag is the
standards-based advertisement of the sibling. It has a documented
consumer today: an agent CLI that parses the tag from `<head>` and then
fetches the `.md` sibling, which is also why the tag must point at a
real sibling URL and never at the page itself. Peer docs sites ship this
tag as table stakes. These www pages used to carry it until the
June/July marketing redesign silently dropped it; the drift test in this
PR turns that regression class into a CI failure.

</details>

## To test

Tested locally (www + docs dev servers):
- [x] `/llms.txt` renders `## Documentation` + single-link `## Pricing`,
no Product Overview
- [x] `/llms-full.txt` renders `# Supabase` → `## Pricing` → `##
Documentation`, no Product Overview, ~4.9MB
- [x] Full www suite: 6 files / 71 tests green; drift test fails
correctly when a page is removed or the `_app.tsx` wiring is altered
- [x] `generateMdContent.mjs` emits `modules/vector`, bare `vector` slug
gone

On the Vercel preview (browser-verified with Playwright):
- [x] Alternate tag present on `/`, `/auth`, `/database`, `/storage`,
`/edge-functions`, `/realtime`, `/pricing`, and a blog post: exactly one
tag each, href = preview origin + `.md` sibling
- [x] `/vector.md` → 308 → `/modules/vector.md`, renders as markdown (`#
Supabase Vector`)
- [x] `/llms.txt` shows single-link `## Pricing`, no Product Overview
- [x] Coverage sweep: all 482 `MD_PAGES` slugs + changelog index/entry
curled on the preview; 471 pages carry exactly one tag, all `.md`
siblings 200 as `text/markdown`. The 11 misses are legacy blog slugs
whose HTML 308-redirects away (stale `MD_PAGES` entries predating this
PR, no head to tag; follow-up tracked in Linear)

Post-merge prod:
- [ ] Full llms.txt link sweep (every linked URL 200s; previews can't
cover the docs-hosted links)

## Linear

- fixes GROWTH-1013


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

## Summary by CodeRabbit

* **New Features**
* Added Markdown alternate links across key product, pricing, blog, and
troubleshooting pages.
* Added Supabase Vector documentation covering features, use cases,
workflows, and technical details.
* Updated AI-focused documentation indexes with dedicated pricing
content.
  * Added redirects for updated Vector documentation URLs.

* **Tests**
* Added coverage to verify Markdown documentation links stay aligned
with available pages.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.

3 participants