Dynamic Tire Rebates Landing Page
projects
9/8/2020
I built this landing page template in order to schedule and expire tire rebates for the winter 2020 tire changeover season. My preference whenever I build something is to only have to build it once, and not have to return to maintain it. I didn't want to have to continuously update the landing page, which I thought might be the case considering most of the tire rebates were only active for a short period of time. I got around this be storing all of the tire rebates in a JSON file that I could iterate over to build the page. I wrote some conditional logic to determine if the tire rebate should be displayed on the page based on the date that the campaign would be active.
The tire rebates have expired from the landing page, and no longer display on the page.
If you are interested, you can check out the code for this project on my GitHub.