Skip to content

feat(site): add TypedSQL product page#7724

Open
ArthurGamby wants to merge 3 commits intomainfrom
website-rebuilts-typedsql
Open

feat(site): add TypedSQL product page#7724
ArthurGamby wants to merge 3 commits intomainfrom
website-rebuilts-typedsql

Conversation

@ArthurGamby
Copy link
Copy Markdown
Contributor

@ArthurGamby ArthurGamby commented Mar 27, 2026

Summary

  • add a new TypedSQL product page with dedicated hero, feature sections, video section, and illustration assets
  • register the new page in the site sitemap
  • polish the page CTAs by left-aligning the link buttons and replacing the missing capabilities icon with a supported one

Test plan

  • Checked apps/site/src/app/typedsql/page.tsx for lint issues
  • Checked apps/site/src/components/typedsql/expand-capabilities.tsx for lint issues
  • Visual QA of /typedsql

Made with Cursor

Summary by CodeRabbit

  • New Features
    • Launched TypedSQL landing page with hero, two-column cards, capability highlights, embedded video demo, and multiple call-to-action buttons.
    • Added TypedSQL route to the site sitemap for improved search engine discoverability.

ArthurGamby and others added 2 commits March 27, 2026 18:31
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
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Mar 27, 2026 6:16pm
docs Ready Ready Preview, Comment Mar 27, 2026 6:16pm
eclipse Ready Ready Preview, Comment Mar 27, 2026 6:16pm
site Ready Ready Preview, Comment Mar 27, 2026 6:16pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 27, 2026

Walkthrough

Adds a TypedSQL landing page and two supporting UI components (video and capabilities), and updates the sitemap to include the new /typedsql route for discovery.

Changes

Cohort / File(s) Summary
Sitemap Configuration
apps/site/src/app/sitemap.ts
Added a /typedsql sitemap entry using new URL("/typedsql", baseUrl).toString() with changeFrequency: "weekly" and priority: 0.8.
TypedSQL Landing Page
apps/site/src/app/typedsql/page.tsx
New Next.js app route page exporting metadata and a default TypedSQLPage component. Renders hero with CTAs, a cards section, video section, capabilities, and footer CTA band.
TypedSQL UI Components
apps/site/src/components/typedsql/expand-capabilities.tsx, apps/site/src/components/typedsql/video-section.tsx
Added ExpandCapabilities component (two capability cards) and VideoSection component (YouTube iframe, lazy loading, 16:9 aspect).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat(site): add TypedSQL product page' directly and clearly summarizes the main change: adding a new TypedSQL product page to the site.

✏️ 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.

❤️ Share

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

@argos-ci
Copy link
Copy Markdown

argos-ci bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 1 changed Mar 27, 2026, 6:22 PM

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 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

📥 Commits

Reviewing files that changed from the base of the PR and between 3ff13d5 and bfd0695.

⛔ Files ignored due to path filters (6)
  • apps/site/public/illustrations/typedsql/end-to-end-type-safety.svg is excluded by !**/*.svg
  • apps/site/public/illustrations/typedsql/end-to-end-type-safety_light.svg is excluded by !**/*.svg
  • apps/site/public/illustrations/typedsql/full-controll-sql.svg is excluded by !**/*.svg
  • apps/site/public/illustrations/typedsql/full-controll-sql_light.svg is excluded by !**/*.svg
  • apps/site/public/illustrations/typedsql/great-dx.svg is excluded by !**/*.svg
  • apps/site/public/illustrations/typedsql/great-dx_light.svg is excluded by !**/*.svg
📒 Files selected for processing (4)
  • apps/site/src/app/sitemap.ts
  • apps/site/src/app/typedsql/page.tsx
  • apps/site/src/components/typedsql/expand-capabilities.tsx
  • apps/site/src/components/typedsql/video-section.tsx

…round

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

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 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

📥 Commits

Reviewing files that changed from the base of the PR and between bfd0695 and bc71d71.

📒 Files selected for processing (1)
  • apps/site/src/app/typedsql/page.tsx

Comment on lines +144 to +146
<div className="w-screen">
<CardSection cardSection={twoCol} />
</div>
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.

⚠️ Potential issue | 🟡 Minor

Prefer w-full over w-screen to avoid horizontal overflow

Line 144 can cause subtle horizontal scrollbars (100vw includes scrollbar width). w-full is safer in page containers.

💡 Proposed fix
-      <div className="w-screen">
+      <div className="w-full">
         <CardSection cardSection={twoCol} />
       </div>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<div className="w-screen">
<CardSection cardSection={twoCol} />
</div>
<div className="w-full">
<CardSection cardSection={twoCol} />
</div>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/site/src/app/typedsql/page.tsx` around lines 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.

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.

1 participant