From 6410b21f829810af27e42d188295630bd67d6b6b Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Mon, 20 Oct 2025 17:02:14 -0500 Subject: [PATCH] fix(homepage): add dark gradient overlay for better text contrast on game cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added layered approach for better text readability: - Vibrant gradient background layer (bottom) - Dark gradient overlay from transparent (top 10%) to semi-dark (bottom 50%) - Content with relative z-index positioning This keeps the colorful gradients visible while ensuring all text (titles, descriptions, tags) is clearly readable on all four cards. Gradient goes from barely visible at top to moderately dark at bottom, creating a natural fade that doesn't overwhelm the vibrant colors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/src/app/page.tsx | 134 ++++++++++++++++++++++---------------- 1 file changed, 78 insertions(+), 56 deletions(-) diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index ea7d9eda..311df4c7 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -609,77 +609,99 @@ function GameCard({ return (
+ {/* Vibrant gradient background */} +
+ {/* Dark gradient overlay for text readability */}
- {icon} -
-

- {title} -

-

- {description} -

-

- {players} -

-
- {tags.map((tag) => ( - - {tag} - - ))} + /> + {/* Content */} +
+
+ {icon} +
+

+ {title} +

+

+ {description} +

+

+ {players} +

+
+ {tags.map((tag) => ( + + {tag} + + ))} +