Skip to content

Design/white section on home page#80

Open
ValentinAhrend wants to merge 3 commits intomainfrom
design/white-section-on-home-page
Open

Design/white section on home page#80
ValentinAhrend wants to merge 3 commits intomainfrom
design/white-section-on-home-page

Conversation

@ValentinAhrend
Copy link
Copy Markdown
Contributor

@ValentinAhrend ValentinAhrend commented Apr 6, 2026

Adding a white section to the landing page with small changes.

Summary by CodeRabbit

  • Style
    • Restyled the "FACTS & STARTUPS" section with a light background theme, replacing the dark theme appearance.
    • Updated text colors and visual styling for improved contrast and readability.
    • Adjusted link and gradient styling throughout the section for consistency with the new light theme.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

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

Project Deployment Actions Updated (UTC)
start-munich Ready Ready Preview, Comment Apr 6, 2026 10:59pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 6, 2026

📝 Walkthrough

Walkthrough

The "FACTS & STARTUPS" section in HomeClient.tsx is restyled from a dark theme to a light/white background. Changes include updating the container and section header to white backgrounds and black text, adding dark background overrides to stat cards, adjusting gradient directions from dark blue to white, and explicitly setting link text color to black while preserving hover effects.

Changes

Cohort / File(s) Summary
Homepage Facts & Startups Section
app/home/HomeClient.tsx
Restyled section background from dark to light theme with updated text colors, stat card background overrides, adjusted gradient edge colors, and explicit link text color styling.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🐰 A coat of fresh white paint applied with care,
Dark shadows fade to light beyond compare,
Black text now dances where pink once did gleam,
The facts and startups shine—a brighter dream!

🚥 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 accurately summarizes the main change: restyling the 'FACTS & STARTUPS' section from dark to light/white background on the home page.

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

✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch design/white-section-on-home-page

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.

Copy link
Copy Markdown

@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)
app/home/HomeClient.tsx (1)

291-291: Replace repeated inline background color with Tailwind utility class.

Lines 291, 312, 333, and 348 use inline style={{"backgroundColor": "#00002c"}} with the same fixed color, which breaks the Tailwind-first styling rule. Replace with the Tailwind utility class bg-[#00002c].

Proposed refactor
- <div style={{"backgroundColor": "#00002c"}} className="relative bg-gradient-to-br from-brand-pink/20 via-brand-pink/10 to-transparent border border-brand-pink/20 rounded-[2rem] p-10 sm:p-14 h-full overflow-hidden">
+ <div className="relative bg-[`#00002c`] bg-gradient-to-br from-brand-pink/20 via-brand-pink/10 to-transparent border border-brand-pink/20 rounded-[2rem] p-10 sm:p-14 h-full overflow-hidden">

- <div style={{"backgroundColor": "#00002c"}} className="relative bg-white/5 border border-white/10 rounded-[1.5rem] p-8 h-full hover:border-brand-pink/30 hover:bg-white/[0.07] transition-all duration-300">
+ <div className="relative bg-[`#00002c`] bg-white/5 border border-white/10 rounded-[1.5rem] p-8 h-full hover:border-brand-pink/30 hover:bg-white/[0.07] transition-all duration-300">

- <div style={{"backgroundColor": "#00002c"}} className="relative bg-white/5 border border-white/10 rounded-[1.5rem] p-6 h-full hover:border-brand-pink/30 hover:bg-white/[0.07] transition-all duration-300">
+ <div className="relative bg-[`#00002c`] bg-white/5 border border-white/10 rounded-[1.5rem] p-6 h-full hover:border-brand-pink/30 hover:bg-white/[0.07] transition-all duration-300">

- <div style={{"backgroundColor": "#00002c"}} className="relative bg-white/5 border border-white/10 rounded-[1.5rem] p-6 h-full hover:border-brand-pink/30 hover:bg-white/[0.07] transition-all duration-300">
+ <div className="relative bg-[`#00002c`] bg-white/5 border border-white/10 rounded-[1.5rem] p-6 h-full hover:border-brand-pink/30 hover:bg-white/[0.07] transition-all duration-300">
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/home/HomeClient.tsx` at line 291, In HomeClient.tsx, remove the repeated
inline style prop style={{"backgroundColor": "#00002c"}} on the card <div>
elements and add the Tailwind utility class bg-[`#00002c`] to their className
strings (e.g., the <div> with className starting "relative
bg-gradient-to-br..."); apply this change to all four occurrences so the
background color is provided via Tailwind instead of an inline style.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@app/home/HomeClient.tsx`:
- Line 388: The Link in HomeClient.tsx uses conflicting text color classes
("text-black" and "text-white/70") causing low-contrast text; remove the
incorrect/overriding utility and keep the intended color (e.g., remove
"text-white/70" if you want black, or remove "text-black" if you want the
semi-transparent white) in the className on the startups CTA Link element so
only one text color utility remains (search for the Link with className
containing both "text-black" and "text-white/70" to update).

---

Nitpick comments:
In `@app/home/HomeClient.tsx`:
- Line 291: In HomeClient.tsx, remove the repeated inline style prop
style={{"backgroundColor": "#00002c"}} on the card <div> elements and add the
Tailwind utility class bg-[`#00002c`] to their className strings (e.g., the <div>
with className starting "relative bg-gradient-to-br..."); apply this change to
all four occurrences so the background color is provided via Tailwind instead of
an inline style.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fd353f4e-9a5f-4578-a51b-5a055bb176cb

📥 Commits

Reviewing files that changed from the base of the PR and between f71c60c and 8f9cf45.

📒 Files selected for processing (1)
  • app/home/HomeClient.tsx

Comment thread app/home/HomeClient.tsx Outdated

<div className="text-center mt-10">
<Link href="/startups" className="group inline-flex items-center gap-2 text-white/70 hover:text-brand-pink font-medium transition-colors">
<Link href="/startups" className="text-black group inline-flex items-center gap-2 text-white/70 hover:text-brand-pink font-medium transition-colors">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Fix conflicting text color utilities on the startups CTA link.

Line 388 includes both text-black and text-white/70; the latter overrides and leaves low-contrast text on a white background.

✅ Suggested fix
- <Link href="/startups" className="text-black group inline-flex items-center gap-2 text-white/70 hover:text-brand-pink font-medium transition-colors">
+ <Link href="/startups" className="group inline-flex items-center gap-2 text-black hover:text-brand-pink font-medium transition-colors">
📝 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
<Link href="/startups" className="text-black group inline-flex items-center gap-2 text-white/70 hover:text-brand-pink font-medium transition-colors">
<Link href="/startups" className="group inline-flex items-center gap-2 text-black hover:text-brand-pink font-medium transition-colors">
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@app/home/HomeClient.tsx` at line 388, The Link in HomeClient.tsx uses
conflicting text color classes ("text-black" and "text-white/70") causing
low-contrast text; remove the incorrect/overriding utility and keep the intended
color (e.g., remove "text-white/70" if you want black, or remove "text-black" if
you want the semi-transparent white) in the className on the startups CTA Link
element so only one text color utility remains (search for the Link with
className containing both "text-black" and "text-white/70" to update).

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