Reimplement Last.fm, minor design improvements #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "aidan/my-website:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Giv,
I have implemented lastfm-last-played, an API I used to use for my website, into the LastFM client-side API. This is safer because it does not require an API key be exposed to the client, and the user does not need to set an API key to see your status.
You might want to self-host this API if you get a lot of traffic because I used the author's API endpoint for requests.
No environment variables are required anymore either, and your username is hard-coded into the API. I updated the documentation to show this as well.
I've also made some design changes to the header. I think the hamburger icon displays better on mobile with the larger size, so I have changed that. The sidebar title ("Giv's Website") now looks different than the other links. A new component for this has been made, too.
I hope you like the changes I have made!
Next Steps
I am not sure the Last.fm features work 100%, so please test and make sure it works when you are playing music, and when you aren't playing music. Some tweaks might have to be made, but I cannot test as much because I don't use Last.fm anymore.
Make sure it works how you like it :)