Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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:
WalkthroughAdds a large new Query Insights page; introduces a light-theme Next.js logo and inverts its theme display logic; converts multiple internal CTAs to external links (some with UTM params); adjusts hero spacing and typography across several pages; removes a footer link and updates social URLs; small layout and formatting fixes. (50 words) Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes 🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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/app/(index)/page.tsx (1)
245-249: Extract the sign-up URL into a shared constant to prevent CTA drift.Line 248 duplicates the same UTM URL already used at Line 115; centralizing it will keep both CTAs aligned during future campaign updates.
♻️ Proposed refactor
+const CONSOLE_SIGN_UP_URL = + "https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta"; export default function SiteHome() { return ( @@ <Button variant="ppg" - href="https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta" + href={CONSOLE_SIGN_UP_URL} size="3xl" target="_blank" rel="noopener noreferrer" @@ <Button variant="ppg" size="2xl" - href="https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta" + href={CONSOLE_SIGN_UP_URL} >🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/site/src/app/`(index)/page.tsx around lines 245 - 249, The sign-up UTM URL used in the Button's href is duplicated elsewhere and should be extracted into a shared constant to avoid CTA drift; create a constant (e.g., PRISMA_SIGNUP_URL) exported from a nearby constants/module file and replace the literal href in the Button component (and the other CTA that uses the same URL) with that constant so both CTAs reference the single source of truth.
🤖 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/app/`(index)/page.tsx:
- Around line 245-249: The sign-up UTM URL used in the Button's href is
duplicated elsewhere and should be extracted into a shared constant to avoid CTA
drift; create a constant (e.g., PRISMA_SIGNUP_URL) exported from a nearby
constants/module file and replace the literal href in the Button component (and
the other CTA that uses the same URL) with that constant so both CTAs reference
the single source of truth.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: c767a3ce-3d63-4830-97a2-5b637f34e501
📒 Files selected for processing (5)
apps/site/src/app/(index)/page.tsxapps/site/src/app/ecosystem/page.tsxapps/site/src/app/orm/page.tsxapps/site/src/app/partners/page.tsxpackages/ui/src/data/footer.ts
✅ Files skipped from review due to trivial changes (2)
- apps/site/src/app/orm/page.tsx
- apps/site/src/app/ecosystem/page.tsx
d1cc1e7 to
3fac910
Compare
Summary by CodeRabbit
New Features
Bug Fixes
UI Changes
Content Updates
Navigation & Links