M0nica / how-many-days-until

A React countdown app of days between today and next year.
https://m0nica.github.io/how-many-days-until/
10 stars 32 forks source link

Add ability to switch pages/views #29

Closed M0nica closed 6 years ago

M0nica commented 6 years ago

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:

MicroDroid commented 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?

M0nica commented 6 years ago

I think it should be configurable by end users who visit the website. Is that what you mean?

MicroDroid commented 6 years ago

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.

deecewan commented 6 years ago

I'll take a crack at this.

aarai commented 6 years ago

Added routing between Home, Christmas and new years views. Please let me know if this is what you had in mind.

33