techno-tim / littlelink-server

A lightweight, open source, stateless, and self-hosted alternative to linktree in a Docker container!
https://links.technotim.live
MIT License
921 stars 162 forks source link

Feature Request: Mouseover effect custom buttons #105

Closed srsbsnsx closed 2 years ago

srsbsnsx commented 2 years ago

btw: great work guys!

Feature Request: Mouseover effect for custom buttons

Requesting: it would be nice if the mouse over effect could also be implemented for custom buttons

timothystewart6 commented 2 years ago

Hi! This works. Be sure to include the variable CUSTOM_BUTTON_ALT_TEXT

https://github.com/techno-tim/littlelink-server/blob/master/src/components/Home/Home.js#L98

timothystewart6 commented 2 years ago

You can see this working on my personal site too, the last link Documentation is a custom button and has the alt text https://technotim.live/

srsbsnsx commented 2 years ago

Sorry for the misunderstanding. I don't mean the text of the button, I mean the brightness of the button. It dims a bit as soon as the mouse points to the button. This "effect" is also missing in your documentation button.

timothystewart6 commented 2 years ago

Ah, sorry! Thank you! Will check it out!