Commit Graph

4 Commits

Author SHA1 Message Date
Guangcong Luo
5a1cec202b Redesign website top navigation
The topbar in pokemonshowdown.com (and all not-in-sim pages)
has gotten revised in three ways:

1. Ladder has been replaced with Strategy, a link to the Smogon
   Strategydex.
2. Strategy and Forum now open in new tabs, because they don't
   share top nav with PS.
3. Strategy and Forum are now purple, to signal that they lead
   to Smogon and open in new tabs.

I'm way more a fan of the new look than I expected to be. Purple
and blue matches the "Horizon" art used on the main page quite
well, it turns out.

Ladder was always kind of useless - there's a better Ladder button
in-sim that keeps way more up-to-date with tier additions/removals,
and finding users can be done by clicking on the "X users online"
button.
2025-04-01 18:21:04 +00:00
Guangcong Luo
2db2b9bcc2 Directory listing: Support colored icons
We're using Font Awesome 5 Pro on the live site for duotone icons,
but I'm still retaining support for Font Awesome 4 for licensing
reasons.

Both are colored now, which makes for a better look, too.
2025-03-31 13:22:55 +00:00
Guangcong Luo
1c760ccabc Refactor sprite views
Any directory that supports sprite view now also supports
directory view.

For instance:

https://play.pokemonshowdown.com/sprites/afd/?view=dir

Many more directories now support sprite view.

For instance:

https://play.pokemonshowdown.com/sprites/digimon/sprites/pokemonani/?view=sprites
2025-03-31 13:22:55 +00:00
Guangcong Luo
2d7a9c81d4 Improve directory indexes and 404 pages
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled
We now have a custom look for directory indexes, so you can go dig
through PS's back closets in style:

https://play.pokemonshowdown.com/sprites/

Additionally, the 404 page everywhere is now as nice as the custom
404 page in Replays.

https://pokemonshowdown.com/404
2025-03-29 13:11:44 +00:00