This PR removes our hard-coded HTML cards and moves their content into a JSON file. The JSON fields are tentative and will surely change/grow over time, and in the future we may receive this JSON content from a web service of some kind instead of including it as a static local file. This is just a step in that direction.
To test, load the app and observe that the cards are not only read and displayed from the cards.json file, but also categorized on the front page too. Each category currently has the same duplicated card over and over, so the Masonry effect is not as pronounced, but Masonry is indeed working.
This PR removes our hard-coded HTML cards and moves their content into a JSON file. The JSON fields are tentative and will surely change/grow over time, and in the future we may receive this JSON content from a web service of some kind instead of including it as a static local file. This is just a step in that direction.
To test, load the app and observe that the cards are not only read and displayed from the
cards.json
file, but also categorized on the front page too. Each category currently has the same duplicated card over and over, so the Masonry effect is not as pronounced, but Masonry is indeed working.