Closed M0nica closed 6 years ago
How about I implement a configuration key that switches between different modes?
Meaning, you can configure it to show how many days until 2019, or Christmas, or anything else included in the package, and so that this project becomes a counter for basically anything
What do you think?
I think it should be configurable by end users who visit the website. Is that what you mean?
Ah, I was thinking configurable by the guy who hosts the app. Hmm, your implementation sounds better. But at least the default should be configurable and/or other counters should have the ability to be disabled.
I'll take a crack at this.
Added routing between Home, Christmas and new years views. Please let me know if this is what you had in mind.
In this PR https://github.com/M0nica/how-many-days-until/pull/27/ a Christmas countdown component was added. We need to add the ability to switch pages/vies this can be achieved by: