Re:Show HN: Sunrisewhen – pretty sunrise and sunset times fo...
by nurlennart on Tuesday January 30, 2024 @10:54AM
(#39191556)
that's brilliant. I don't know why I never thought of that. Just implemented it. Was basically just wasting horizontal space on desktops. thank you!
[ Parent
| on HN ]
Re:Show HN: Sunrisewhen – pretty sunrise and sunset times fo...
by whycome on Tuesday January 30, 2024 @11:06AM
(#39191759)
Great!
Get rid of the footer padding? It forces scroll on Macbook pro (1440x900)
(Or stick it to the bottom?)
Re:Show HN: Sunrisewhen – pretty sunrise and sunset times fo...
by nurlennart on Tuesday January 30, 2024 @11:25AM
(#39192001)
Should not scroll anymore, cleaned up a little
Re:Show HN: Sunrisewhen – pretty sunrise and sunset times fo...
by whycome on Tuesday January 30, 2024 @03:46PM
(#39195557)
Still scrolling (due to taht 150px padding) but still clean and to the point with the additional info you added. The design is really great.
Is something like this appropriate for a long-term display? How often does it refresh? It's the perfect thing to add as a single card for various display signage (eg in a transit system, or ad screen).
Re:Show HN: Sunrisewhen – pretty sunrise and sunset times fo...
by nurlennart on Wednesday January 31, 2024 @01:38AM
(#39200726)
I'll remove the padding, I think. This is appropriate for long-term displaying, the sun data is fetched once at loading the site and stored in a cookie for 6 hours. Weather data is fetched live at every request. Using a tab refresh plugin, this could be automatically fetched every hour or so.