feat: add star icon and styled steam review score to game cards
- Show steamReviewScore on games list cards in compact badge row with star icon - Update search result right panel to use blue-400 styling with star icon - Include "Positive" label on search results for clarity
This commit is contained in:
+5
-2
@@ -503,8 +503,11 @@ function SearchResultCard({
|
||||
|
||||
{/* Steam review score */}
|
||||
{result.steamReviewScore != null && (
|
||||
<span className="text-xs text-zinc-400">
|
||||
{result.steamReviewScore}% positive
|
||||
<span className="inline-flex items-center gap-1 text-xs text-blue-400">
|
||||
<svg className="h-3 w-3" viewBox="0 0 24 24" fill="currentColor">
|
||||
<path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" />
|
||||
</svg>
|
||||
{result.steamReviewScore}% Positive
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user