Repository navigation
www: product pages - #47271
www: product pages#47271
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Note Reviews pausedIt 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 Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe PR moves product marketing pages to app-router routes under ChangesProduct Pages Migration to App Router
Estimated code review effort🎯 5 (Critical) | ⏱️ ~120 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (2 warnings, 1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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
⛔ Files ignored due to path filters (29)
apps/www/public/images/logos/frameworks/expo.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/flutter.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/langchain.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/nestjs.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/nextjs.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/openai.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/stripe.svgis excluded by!**/*.svgapps/www/public/images/logos/frameworks/vercel.svgis excluded by!**/*.svgapps/www/public/images/product/database/sql-view/export-csv-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/export.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/favorites-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/favorites.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/manaco-editor.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/monaco-editor-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/monaco-editor.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/sql-editor-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/sql-view/sql-editor.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/create-table-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/create-table.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/create-tables.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/export-csv-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/export-csv.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/export.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/foreign-keys-light.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/foreign-keys.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/spreadsheet-interface.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/spreadsheet.pngis excluded by!**/*.pngapps/www/public/images/product/database/table-view/table-editor-light.pngis excluded by!**/*.pngpnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (64)
apps/www/app/(products)/_shared/QuoteSection.tsxapps/www/app/(products)/auth/_components/ApiSection.tsxapps/www/app/(products)/auth/_components/ApiSectionClient.tsxapps/www/app/(products)/auth/_components/AuthContent.tsxapps/www/app/(products)/auth/_components/FeaturesSection.tsxapps/www/app/(products)/auth/_components/Hero.tsxapps/www/app/(products)/auth/_components/HighlightsSection.tsxapps/www/app/(products)/auth/_components/QuoteSection.tsxapps/www/app/(products)/auth/_components/RLSSection.tsxapps/www/app/(products)/auth/_components/RLSSectionClient.tsxapps/www/app/(products)/auth/_components/Shaders/ShieldGlow.tsxapps/www/app/(products)/auth/page.tsxapps/www/app/(products)/database/_components/ApiSection.tsxapps/www/app/(products)/database/_components/ApiSectionClient.tsxapps/www/app/(products)/database/_components/DatabaseContent.tsxapps/www/app/(products)/database/_components/FeaturesSection.tsxapps/www/app/(products)/database/_components/Hero.tsxapps/www/app/(products)/database/_components/HighlightsSection.tsxapps/www/app/(products)/database/_components/Illustrations/SpreadsheetIllustration.tsxapps/www/app/(products)/database/_components/QuoteSection.tsxapps/www/app/(products)/database/_components/Shaders/PostgresGlow.tsxapps/www/app/(products)/database/_components/SqlEditorSection.tsxapps/www/app/(products)/database/_components/TableEditorSection.tsxapps/www/app/(products)/database/_components/VisualDemo.tsxapps/www/app/(products)/database/page.tsxapps/www/app/(products)/edge-functions/_components/CTASection.tsxapps/www/app/(products)/edge-functions/_components/EdgeFunctionsContent.tsxapps/www/app/(products)/edge-functions/_components/ExamplesSection.tsxapps/www/app/(products)/edge-functions/_components/GlobalPresenceSection.tsxapps/www/app/(products)/edge-functions/_components/Hero.tsxapps/www/app/(products)/edge-functions/_components/Highlights.tsxapps/www/app/(products)/edge-functions/_components/IntegratesSection.tsxapps/www/app/(products)/edge-functions/_components/IntegratesSectionClient.tsxapps/www/app/(products)/edge-functions/_components/LocalDXSection.tsxapps/www/app/(products)/edge-functions/_components/ObservabilitySection.tsxapps/www/app/(products)/edge-functions/page.tsxapps/www/app/(products)/layout.tsxapps/www/app/(products)/realtime/_components/ApiSection.tsxapps/www/app/(products)/realtime/_components/ApiSectionClient.tsxapps/www/app/(products)/realtime/_components/FeaturesSection.tsxapps/www/app/(products)/realtime/_components/Hero.tsxapps/www/app/(products)/realtime/_components/QuoteSection.tsxapps/www/app/(products)/realtime/_components/RealtimeContent.tsxapps/www/app/(products)/realtime/page.tsxapps/www/app/(products)/storage/_components/ApiSection.tsxapps/www/app/(products)/storage/_components/ApiSectionClient.tsxapps/www/app/(products)/storage/_components/BucketTypesSection.tsxapps/www/app/(products)/storage/_components/FeaturesSection.tsxapps/www/app/(products)/storage/_components/Hero.tsxapps/www/app/(products)/storage/_components/PermissionsSection.tsxapps/www/app/(products)/storage/_components/PermissionsSectionClient.tsxapps/www/app/(products)/storage/_components/QuoteSection.tsxapps/www/app/(products)/storage/_components/StorageContent.tsxapps/www/app/(products)/storage/page.tsxapps/www/components/BuiltWithSupabaseSection.tsxapps/www/components/CTASection.tsxapps/www/components/Layouts/SectionContainerWithCn.tsxapps/www/package.jsonapps/www/pages/auth.tsxapps/www/pages/database.tsxapps/www/pages/edge-functions.tsxapps/www/pages/realtime.tsxapps/www/pages/storage.tsxapps/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
🎭 Playwright Test ResultsDetails
Flaky testsFeatures › realtime-inspector.spec.ts › Realtime Inspector › Broadcast Messages › broadcast messages appear in the UI when listening Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
There was a problem hiding this comment.
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 winExport
LocalDXImagebefore merging.
LocalDXImageis defined here but never exported.apps/www/app/(products)/edge-functions/_components/LocalDXSection.tsx:101-122renders 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 winExport
ParityImagebefore merging.
ParityImageis 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 winExport
NpmEcosystembefore 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
📒 Files selected for processing (4)
apps/www/components/Products/Functions/CI.tsxapps/www/components/Products/Functions/LocalDXImage.tsxapps/www/components/Products/Functions/NpmEcosystem.tsxapps/www/components/Products/Functions/ParityImage.tsx
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
There was a problem hiding this comment.
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
📒 Files selected for processing (4)
apps/www/app/(products)/edge-functions/_components/Highlights.tsxapps/www/components/Products/Functions/Metrics.tsxapps/www/components/Products/Functions/QueryLogs.tsxapps/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
There was a problem hiding this comment.
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 underapp/(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
left a comment
There was a problem hiding this comment.
Just a few things to clean up:
- Contrast
- That Copilot comment 2× about milliseconds vs seconds
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
left a comment
There was a problem hiding this comment.
Tested on staging. Looks good. Thanks for addressing those comments!
Braintrust eval report
|
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 -->
Update product pages in marketing website.
PR breakdown of #43455
Related: #47226 #47227 #47228 #47236
Summary by CodeRabbit
pages/*.tsximplementations with the new route structure; updated shared section styling and refreshed interactive Functions visuals and log rendering.