It's great that you added a bitcoin halving countdown feature which will help users find out when the halving will occur. but is this feature still in development stage? because after I saw this feature the number on countdown is not running, apparently it's not working.
and additionally, you can put a toggle night/day mode feature to help users who want a night or bright look.
Hey there!
The countdown is working correctly, but I think I kind of owe an explanation on this to the community. It looks as if the countdown isn't running because I decided to use a dynamic formula for calculating the time left until the next halving. Instead of using a simple formula that takes the average block mining time of 10 minutes and multiplies it by the number of remaining blocks until the halving, I use an approach that would provide a more exact result:
Time Until Halving = (halving block - next block height) * average time between blocks - estimated time until the next block
This is why every 60 seconds the countdown value changes depending on the real-time block mining time and real-time estimated time until next block, probably giving you a completely different result every time but still a more true-to-life one.
It's an open question though and I think people will have mixed feeling on this one, some would prefer see the average 10 minutes results and others would prefer to get the result using real-time values. Which option do you prefer, man?
When it comes to the dark/light theme, I'm going to implement it soon as I'm currently working on an almost complete website UI overhaul in order to make it look smoother and more modern, and the color palette change switch will come together with it.