Weekly Fixes & Polish (Feb 17-23)
20 bug fixes and style improvements across navigation & routing, rosters, rankings, design system & theming, and more.
The Full Story
This week's 20 bug fixes and polish improvements touched several areas of the site:
Navigation & Routing — URL rewriting now uses Astro middleware instead of Vercel rewrites for more reliable page routing. The /theleague path prefix is now hidden on theleague.us so URLs are cleaner (e.g., theleague.us/rosters instead of theleague.us/theleague/rosters). Mobile and tablet header now stacks nav icons below the logo for a tidier layout.
Rosters — Roster page now shows a random team for new visitors instead of always defaulting to the same team.
Rankings — Removed extra right padding from composite ranking columns for tighter alignment. Ranking column border styles refined for better visual separation between sources. Player matching for imported rankings now handles nicknames (e.g., Mike/Michael) for more accurate matches.
Design System & Theming — Ranking type badge colors softened while maintaining WCAG AA contrast. New --table-header-gradient design token unifies all table header styles across the site. Hardcoded fonts and icon sizes replaced with design tokens for consistency. Accent link hover color now uses brand green instead of a non-brand amber.
Import Rankings — Ranking type badges on import page now use solid colors for better readability. Import rankings cards now have white backgrounds instead of gray.
League Summary — League summary subtitle spacing tightened from 5rem to 2rem.
Free Agents — Free agent average rank column colors updated for better contrast. Average ranking column border made symmetrical on the Free Agents page. Defense player avatars now properly centered using flex alignment. Defense avatars are now circular with smaller, better-proportioned logos. Fixed empty free agents list caused by missing projection data by switching to projectedScores.
Homepage — Homepage card hover color corrected to use the green design token.
Message