Skip to content

Add header images to the clan and server pages - #34

Merged
needs merged 1 commit into
masterfrom
clan-page-header-shield-image
Aug 25, 2026
Merged

Add header images to the clan and server pages#34
needs merged 1 commit into
masterfrom
clan-page-header-shield-image

Conversation

@needs

@needs needs commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Adds a shield image to the clan page header and a server-box image to the server page header, matching how the player page uses player.png.

Layout

Both headers now use the player page's arrangement: the image sits left of the name, with the stats row stacked underneath (flex-row items-center gap-4 on the ActivityHeader content, name and stats wrapped in a section).

On the server page this covers both headers — the online one and the OfflineServer one — so the page doesn't lose the image when a server goes down.

Images

  • clan.png — 189×240, displayed at 79×100
  • server.png — 298×240, displayed at 124×100 (the box is landscape, so it matches on height rather than width)

Both were cut out of white-background sources by flooding from the image border and stopping at the artwork's black outline, which also removes the shield's drop shadow. The masks were downscaled from 1024px in premultiplied-alpha space, so the edges antialias cleanly with no white fringe.

Verified

Rendered locally against seeded data: clan page, server page (online, with the activity calendar and snapshot timeline), and server page (offline). Checked the clan header at mobile width too, where the calendar drops out.

🤖 Generated with Claude Code

Both headers now match the player page layout: the image sits left of
the name, with the stats row stacked underneath.

The server page gets the image in both the online and offline headers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@needs
needs merged commit 455c62f into master Aug 25, 2026
1 check passed
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