runelite / runelite.net

RuneLite website
https://runelite.net
MIT License
78 stars 92 forks source link

Homepage improvements #487

Closed gc closed 1 year ago

gc commented 1 year ago

This significantly reduces the size (5mb~ -> 1mb~) of the homepage, and makes the initial load smoother.

Changes

Demo (you might get a warning that it looks like a phishing site because I chose runelite-net as the name) Before: https://edb92a9a.runelite-net.pages.dev/ After: https://homepage-fix.runelite-net.pages.dev/

Google Lighthouse report Before: https://pagespeed.web.dev/analysis/https-edb92a9a-runelite-net-pages-dev/zdhmzmwhge?form_factor=mobile After: https://pagespeed.web.dev/analysis?url=https://homepage-fix.runelite-net.pages.dev/

FYI I'm @Magnaboy#7556 on discord

Nightfirecat commented 1 year ago

The "Latest commit:" label seems to be missing from the new homepage? Looks pretty nice at a glance

gc commented 1 year ago

@Nightfirecat Weird, that worked locally. Should be fixed now in the last commit.

Nightfirecat commented 1 year ago

FWIW I still don't see the latest commit on the homepage anymore. I see it for ~1 frame, then it's hidden again

EDIT: False alarm, this computer was blocking requests from runelite.net to GitHub's API