feat(site): add TypedSQL product page#7724
Conversation
Rebuild the TypedSQL page from the old website into the new apps/site with ORM color scheme, CardSection blocks, YouTube embed, and Card+Action expand section. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Left-align the TypedSQL CTA links and swap in a supported icon so the capabilities card renders correctly. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
WalkthroughThis pull request introduces a new TypedSQL marketing page route with supporting UI components and refines styling in an existing card layout. The additions include a landing page with hero, cards, video, and capabilities sections, plus two reusable components for video embedding and capability showcase. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
🧹 Nitpick comments (1)
apps/site/src/components/typedsql/video-section.tsx (1)
1-1: Consider removing"use client"— this component has no client-side interactivity.This component renders static JSX with an iframe. It doesn't use any React hooks, event handlers, or browser APIs that would require client-side JavaScript. Removing the directive allows Next.js to render it as a Server Component, reducing the client bundle size.
♻️ Suggested change
-"use client"; - export const VideoSection = () => {🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/site/src/components/typedsql/video-section.tsx` at line 1, Remove the "use client" directive at the top of the video-section component so it can be a Next.js Server Component; locate the top of apps/site/src/components/typedsql/video-section.tsx (the module that currently only renders static JSX with an iframe and exports the component) and delete the "use client" line, then verify there are no client-only hooks or browser API usages in the component (e.g., no useState/useEffect or event handlers) so it can safely be server-rendered.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@apps/site/src/components/typedsql/video-section.tsx`:
- Line 1: Remove the "use client" directive at the top of the video-section
component so it can be a Next.js Server Component; locate the top of
apps/site/src/components/typedsql/video-section.tsx (the module that currently
only renders static JSX with an iframe and exports the component) and delete the
"use client" line, then verify there are no client-only hooks or browser API
usages in the component (e.g., no useState/useEffect or event handlers) so it
can safely be server-rendered.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 6cfb5b62-aa07-4005-9401-66d71ad5dc64
⛔ Files ignored due to path filters (6)
apps/site/public/illustrations/typedsql/end-to-end-type-safety.svgis excluded by!**/*.svgapps/site/public/illustrations/typedsql/end-to-end-type-safety_light.svgis excluded by!**/*.svgapps/site/public/illustrations/typedsql/full-controll-sql.svgis excluded by!**/*.svgapps/site/public/illustrations/typedsql/full-controll-sql_light.svgis excluded by!**/*.svgapps/site/public/illustrations/typedsql/great-dx.svgis excluded by!**/*.svgapps/site/public/illustrations/typedsql/great-dx_light.svgis excluded by!**/*.svg
📒 Files selected for processing (4)
apps/site/src/app/sitemap.tsapps/site/src/app/typedsql/page.tsxapps/site/src/components/typedsql/expand-capabilities.tsxapps/site/src/components/typedsql/video-section.tsx
…round Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@apps/site/src/app/typedsql/page.tsx`:
- Around line 144-146: The wrapper div around CardSection uses "w-screen" which
can cause horizontal overflow; change the className on the div rendering
CardSection (the element wrapping CardSection and twoCol) to use "w-full"
instead of "w-screen" so the container respects parent width and avoids 100vw
scrollbar issues; update the JSX where CardSection and twoCol are passed to
reflect this class change.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: fd2cf037-1d03-4ac8-bf56-c83d4f68f792
📒 Files selected for processing (1)
apps/site/src/app/typedsql/page.tsx
- Fix hero overflow by removing fixed height on mobile, using padding-based layout - Reduce h1 to text-4xl on mobile (md:text-6xl desktop unchanged) - Center card section links on mobile (lg: left-aligned) - Fix CardSection base padding (py-16 → py-6, matching sm breakpoint intention) - Rework capabilities cards: icon and title on same row - Reduce footer CTA padding on mobile Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Test plan
apps/site/src/app/typedsql/page.tsxfor lint issuesapps/site/src/components/typedsql/expand-capabilities.tsxfor lint issues/typedsqlMade with Cursor
Summary by CodeRabbit
Release Notes
New Features
Style