Skip to content

feat: DR-7743 startups page#7713

Open
AmanVarshney01 wants to merge 1 commit intomainfrom
dr-7743-startups
Open

feat: DR-7743 startups page#7713
AmanVarshney01 wants to merge 1 commit intomainfrom
dr-7743-startups

Conversation

@AmanVarshney01
Copy link
Member

@AmanVarshney01 AmanVarshney01 commented Mar 26, 2026

Summary by CodeRabbit

  • New Features
    • Launched a new "Startup Program" landing page featuring program benefits, eligibility requirements, customer testimonials, and a dedicated application form.

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.
@vercel
Copy link

vercel bot commented Mar 26, 2026

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

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Mar 26, 2026 9:35pm
docs Ready Ready Preview, Comment Mar 26, 2026 9:35pm
eclipse Ready Ready Preview, Comment Mar 26, 2026 9:35pm
site Ready Ready Preview, Comment Mar 26, 2026 9:35pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 26, 2026

Walkthrough

Two new files were added to implement a startup program landing page. A client-only TallyEmbed component wraps an iframe configured for Tally form embedding with script injection. A new StartupsPage component exports metadata and renders a complete landing page with hero, benefits cards, testimonials, eligibility criteria, and the embedded Tally form.

Changes

Cohort / File(s) Summary
Tally Form Component
apps/site/src/app/startups/_components/tally-embed.tsx
New client-only React component that renders a Tally embed iframe with dynamic script loader injection and explicit window.Tally.loadEmbeds() call on script load.
Startup Program Page
apps/site/src/app/startups/page.tsx
New Next.js page exporting static metadata and a StartupsPage component that renders a complete landing page with hero section, benefits array, testimonials grid with images, eligibility/bootstrapped criteria lists, informational callout, and embedded contact form via TallyEmbed component with anchor navigation support.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 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
Title check ✅ Passed The title 'feat: DR-7743 startups page' directly describes the main change: adding a new startups page. It is concise, clear, and a teammate scanning history would immediately understand the primary feature being added.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@argos-ci
Copy link

argos-ci bot commented Mar 26, 2026

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

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Mar 26, 2026, 9:41 PM

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

🧹 Nitpick comments (1)
apps/site/src/app/startups/page.tsx (1)

233-241: Consider using next/image with 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.io is already configured in next.config.js under images.remotePatterns, you could use the Image component instead.

That said, native <img> with loading="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

📥 Commits

Reviewing files that changed from the base of the PR and between 6f79795 and f059b41.

📒 Files selected for processing (2)
  • apps/site/src/app/startups/_components/tally-embed.tsx
  • apps/site/src/app/startups/page.tsx

Comment on lines +28 to +33
quote: (
<>
We <b>adopted Prisma conventions as our standard</b>, and it saves lots
of time having from reinventing things ourselves.
</>
),
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

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.

Suggested change
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.

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