ua-snap / ardac-explorer

ARDAC GUI Explorer
0 stars 0 forks source link

Read card content from a JSON file and group them into categories on front page #7

Closed cstephen closed 9 months ago

cstephen commented 9 months ago

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.