back to index

published 2024-03-06

music player!

i have added a music player! itโ€™s entirely hand-rolled, so there may be bugs, but i thought it would be a fun challenge so here it is =)

pick a song out from the links on the home page. iโ€™ll move them somewhere nice later.

future TODOs:

a big part of why i chose to switch to astro is based on the island architecture, which gives you fine-grained control over when and how components are loaded.

initial load sizes are much smaller as a result, and pages that require no JS wonโ€™t download any at all (as opposed to SvelteKit)

plus, you can use SPA-like navigation and allow for certain components (like my music player) to persist state across routes.