feat(web): use a pixel-art medal for recent match winners

Swap the lucide trophy in the home recent results for a hand-drawn
pixel medal, keep the two alternative trophy drafts as assets, and
tune the gold text tokens to match.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
dahyeonandClaude Fable 5.2 committed 2026-11-11 13:48:48 +09:00
1 parent 9064340584
commit 6c582ba3cf
5 files changed
+27 -4

No files matched your search

@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" shape-rendering="crispEdges">
<path fill="#2b1b12" d="M0 0h5v1h-5zM8 0h5v1h-5zM0 1h1v1h-1zM4 1h1v1h-1zM8 1h1v1h-1zM12 1h1v1h-1zM1 2h1v1h-1zM5 2h1v1h-1zM7 2h1v1h-1zM11 2h1v1h-1zM2 3h1v1h-1zM6 3h1v1h-1zM10 3h1v1h-1zM4 4h5v1h-5zM2 5h2v1h-2zM9 5h2v1h-2zM1 6h1v1h-1zM6 6h1v1h-1zM11 6h1v1h-1zM1 7h1v1h-1zM5 7h2v1h-2zM11 7h1v1h-1zM1 8h1v1h-1zM6 8h1v1h-1zM11 8h1v1h-1zM1 9h1v1h-1zM6 9h1v1h-1zM11 9h1v1h-1zM1 10h1v1h-1zM5 10h3v1h-3zM11 10h1v1h-1zM2 11h2v1h-2zM9 11h2v1h-2zM4 12h5v1h-5z"/>
<path fill="#fff4a8" d="M4 5h1v1h-1zM2 6h1v1h-1zM2 7h1v1h-1z"/>
<path fill="#ffd91a" d="M5 5h3v1h-3zM3 6h3v1h-3zM7 6h3v1h-3zM3 7h2v1h-2zM7 7h3v1h-3zM2 8h4v1h-4zM7 8h3v1h-3zM2 9h4v1h-4zM7 9h3v1h-3zM2 10h3v1h-3zM8 10h2v1h-2zM4 11h4v1h-4z"/>
<path fill="#f08a24" d="M8 5h1v1h-1zM10 6h1v1h-1zM10 7h1v1h-1zM10 8h1v1h-1zM10 9h1v1h-1zM10 10h1v1h-1zM8 11h1v1h-1z"/>
<path fill="#e5372b" d="M3 1h1v1h-1zM9 1h1v1h-1zM4 2h1v1h-1zM8 2h1v1h-1zM5 3h1v1h-1zM7 3h1v1h-1z"/>
<path fill="#3b6fe0" d="M1 1h2v1h-2zM10 1h2v1h-2zM2 2h2v1h-2zM9 2h2v1h-2zM3 3h2v1h-2zM8 3h2v1h-2z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" shape-rendering="crispEdges">
<path fill="#2b1b12" d="M2 0h11v1h-11zM0 1h3v1h-3zM12 1h3v1h-3zM0 2h1v1h-1zM2 2h1v1h-1zM7 2h1v1h-1zM12 2h1v1h-1zM14 2h1v1h-1zM0 3h1v1h-1zM2 3h1v1h-1zM6 3h2v1h-2zM12 3h1v1h-1zM14 3h1v1h-1zM0 4h1v1h-1zM2 4h1v1h-1zM7 4h1v1h-1zM12 4h1v1h-1zM14 4h1v1h-1zM0 5h3v1h-3zM7 5h1v1h-1zM12 5h3v1h-3zM2 6h1v1h-1zM6 6h3v1h-3zM12 6h1v1h-1zM3 7h1v1h-1zM11 7h1v1h-1zM4 8h1v1h-1zM10 8h1v1h-1zM5 9h1v1h-1zM9 9h1v1h-1zM6 10h1v1h-1zM8 10h1v1h-1zM6 11h1v1h-1zM8 11h1v1h-1zM4 12h2v1h-2zM9 12h2v1h-2zM3 13h1v1h-1zM11 13h1v1h-1zM3 14h9v1h-9z"/>
<path fill="#fff4a8" d="M3 1h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1zM4 13h1v1h-1z"/>
<path fill="#ffd91a" d="M4 1h7v1h-7zM4 2h3v1h-3zM8 2h3v1h-3zM4 3h2v1h-2zM8 3h3v1h-3zM4 4h3v1h-3zM8 4h3v1h-3zM4 5h3v1h-3zM8 5h3v1h-3zM4 6h2v1h-2zM9 6h2v1h-2zM4 7h6v1h-6zM5 8h4v1h-4zM6 9h2v1h-2zM7 10h1v1h-1zM6 12h2v1h-2zM5 13h5v1h-5z"/>
<path fill="#f08a24" d="M11 1h1v1h-1zM11 2h1v1h-1zM11 3h1v1h-1zM11 4h1v1h-1zM11 5h1v1h-1zM11 6h1v1h-1zM10 7h1v1h-1zM9 8h1v1h-1zM8 9h1v1h-1zM7 11h1v1h-1zM8 12h1v1h-1zM10 13h1v1h-1z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" shape-rendering="crispEdges">
<path fill="#2b1b12" d="M2 0h11v1h-11zM0 1h3v1h-3zM12 1h3v1h-3zM0 2h1v1h-1zM2 2h1v1h-1zM12 2h1v1h-1zM14 2h1v1h-1zM0 3h1v1h-1zM2 3h1v1h-1zM12 3h1v1h-1zM14 3h1v1h-1zM0 4h1v1h-1zM2 4h1v1h-1zM12 4h1v1h-1zM14 4h1v1h-1zM0 5h3v1h-3zM12 5h3v1h-3zM2 6h1v1h-1zM12 6h1v1h-1zM3 7h1v1h-1zM11 7h1v1h-1zM4 8h1v1h-1zM10 8h1v1h-1zM5 9h1v1h-1zM9 9h1v1h-1zM6 10h1v1h-1zM8 10h1v1h-1zM6 11h1v1h-1zM8 11h1v1h-1zM4 12h2v1h-2zM9 12h2v1h-2zM3 13h1v1h-1zM11 13h1v1h-1zM3 14h9v1h-9z"/>
<path fill="#fff4a8" d="M3 1h1v1h-1zM3 2h1v1h-1zM3 3h1v1h-1zM3 4h1v1h-1zM3 5h1v1h-1zM3 6h1v1h-1z"/>
<path fill="#ffd91a" d="M4 1h7v1h-7zM4 2h3v1h-3zM8 2h3v1h-3zM4 3h2v1h-2zM9 3h2v1h-2zM4 4h3v1h-3zM8 4h3v1h-3zM4 5h7v1h-7zM4 6h7v1h-7zM4 7h6v1h-6zM5 8h4v1h-4zM6 9h2v1h-2zM7 10h1v1h-1zM6 12h2v1h-2z"/>
<path fill="#f08a24" d="M11 1h1v1h-1zM11 2h1v1h-1zM11 3h1v1h-1zM11 4h1v1h-1zM11 5h1v1h-1zM11 6h1v1h-1zM10 7h1v1h-1zM9 8h1v1h-1zM8 9h1v1h-1zM7 11h1v1h-1zM8 12h1v1h-1z"/>
<path fill="#e5372b" d="M4 13h7v1h-7z"/>
<path fill="#ffffff" d="M7 2h1v1h-1zM6 3h3v1h-3zM7 4h1v1h-1z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

+2 -2
View File
@@ -77,8 +77,8 @@
--color-palette-loss-fill-light: #d75464;
--color-palette-loss-fill-dark: #ea7583;
--color-palette-loss-tint-dark: #39272b;
--color-palette-gold-text-light: #805213;
--color-palette-gold-text-dark: #f1cd82;
--color-palette-gold-text-light: #8a5a00;
--color-palette-gold-text-dark: #f2c14e;
--color-palette-gold-tint-light: #fbf2df;
--color-palette-gold-tint-dark: #3b3020;
--color-palette-leaf-text-light: #246a46;
+3 -2
View File
@@ -4,7 +4,7 @@ import type {
MatchEventType,
MatchSummaryResponse,
} from '@lolympus/contracts';
import { ChevronLeft, ChevronRight, Trophy } from 'lucide-react';
import { ChevronLeft, ChevronRight } from 'lucide-react';
import { Link, useSearchParams } from 'react-router';
import {
useCommunityLeaderboard,
@@ -13,6 +13,7 @@ import {
useMatchesPage,
} from '../api/hooks';
import nextMatchArtwork from '../assets/next-match-hero.webp';
import pixelMedal from '../assets/pixel-medal-first.svg';
import HomeHallOfFame from '../components/HomeHallOfFame';
import { championIconUrl, profileIconUrl } from '../lib/ddragon';
import { rankLeaderboardByLane } from '../lib/internal-stats-presentation';
@@ -521,7 +522,7 @@ function WinnerTeam({ team, label }: { team: WinnerTeamSummary; label: string })
return (
<div className="min-w-0">
<p className="flex min-w-0 items-center gap-1.5">
<Trophy className="size-4 shrink-0 text-gold" aria-hidden="true" />
<img src={pixelMedal} alt="" className="size-4 shrink-0 [image-rendering:pixelated]" />
<span className="shrink-0 text-xs font-semibold text-gold">{label}</span>
<strong className="truncate text-[15px] font-semibold text-content group-hover:underline">
{team.name}