Conversation
Add /startups page to apps/site migrated from the old website. Includes hero, benefits, eligibility criteria, testimonials grid, info box, and Tally form embed. Light/dark mode friendly.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughTwo new files were added to implement a startup program landing page. A client-only Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 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. Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
apps/site/src/app/startups/page.tsx (1)
233-241: Consider usingnext/imagewith remote patterns for CDN images.The eslint-disable here works, but you're missing out on Next.js's automatic image optimization (WebP conversion, responsive srcset, blur placeholders). If
cdn.sanity.iois already configured innext.config.jsunderimages.remotePatterns, you could use theImagecomponent instead.That said, native
<img>withloading="lazy"is perfectly functional—just a potential optimization to consider.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@apps/site/src/app/startups/page.tsx` around lines 233 - 241, Replace the raw <img> in apps/site/src/app/startups/page.tsx with Next.js' Image component: import Image from 'next/image', swap the <img src={t.imageUrl} ... /> usage to <Image src={t.imageUrl} alt={`Profile photo of ${t.author}`} width={48} height={48} className="size-12 rounded-full object-cover" loading="lazy" /> and remove the eslint-disable comment; also ensure your next.config.js images.remotePatterns includes the CDN host (e.g., cdn.sanity.io) so remote images are allowed and optimized.
🤖 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/startups/page.tsx`:
- Around line 28-33: The testimonial JSX in the quote prop of page.tsx contains
a broken phrase "saves lots of time having from reinventing things ourselves";
update the quote fragment (the JSX assigned to quote) to a grammatically correct
phrasing such as "saves lots of time from having to reinvent things ourselves"
or "saves a lot of time from reinventing things ourselves" so the sentence reads
smoothly.
---
Nitpick comments:
In `@apps/site/src/app/startups/page.tsx`:
- Around line 233-241: Replace the raw <img> in
apps/site/src/app/startups/page.tsx with Next.js' Image component: import Image
from 'next/image', swap the <img src={t.imageUrl} ... /> usage to <Image
src={t.imageUrl} alt={`Profile photo of ${t.author}`} width={48} height={48}
className="size-12 rounded-full object-cover" loading="lazy" /> and remove the
eslint-disable comment; also ensure your next.config.js images.remotePatterns
includes the CDN host (e.g., cdn.sanity.io) so remote images are allowed and
optimized.
🪄 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: 51f5ba56-cdac-4080-8df0-3b5a5fdcc2fd
📒 Files selected for processing (2)
apps/site/src/app/startups/_components/tally-embed.tsxapps/site/src/app/startups/page.tsx
| quote: ( | ||
| <> | ||
| We <b>adopted Prisma conventions as our standard</b>, and it saves lots | ||
| of time having from reinventing things ourselves. | ||
| </> | ||
| ), |
There was a problem hiding this comment.
Grammatical error in testimonial text.
Line 31 reads "saves lots of time having from reinventing things ourselves"—this phrase is grammatically broken. It should likely be "from having to reinvent" or simply "from reinventing."
✏️ Suggested fix
quote: (
<>
- We <b>adopted Prisma conventions as our standard</b>, and it saves lots
- of time having from reinventing things ourselves.
+ We <b>adopted Prisma conventions as our standard</b>, and it saves lots
+ of time from having to reinvent things ourselves.
</>
),📝 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.
| quote: ( | |
| <> | |
| We <b>adopted Prisma conventions as our standard</b>, and it saves lots | |
| of time having from reinventing things ourselves. | |
| </> | |
| ), | |
| quote: ( | |
| <> | |
| We <b>adopted Prisma conventions as our standard</b>, and it saves lots | |
| of time from having to reinvent things ourselves. | |
| </> | |
| ), |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@apps/site/src/app/startups/page.tsx` around lines 28 - 33, The testimonial
JSX in the quote prop of page.tsx contains a broken phrase "saves lots of time
having from reinventing things ourselves"; update the quote fragment (the JSX
assigned to quote) to a grammatically correct phrasing such as "saves lots of
time from having to reinvent things ourselves" or "saves a lot of time from
reinventing things ourselves" so the sentence reads smoothly.
Summary by CodeRabbit