NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

Add campaigns timeline to homepage #654

Closed LanesGood closed 3 months ago

LanesGood commented 3 months ago
image

Implements the homepage campaigns timeline.

This PR:

Remaining todos:

References:

LanesGood commented 3 months ago

Allowing TimelineJS to Render Images:

Images in the timeline are currently blocked, as the CASEI site uses a content security policy (CSP) plugin for gatsby to follow the environment web security rules. To allow images in the timeline to render, we canL

Fixing e2e tests

Linking to campaign page

LanesGood commented 3 months ago

This is ready for review. The implementation relies on building out the timeline data internally, so the spreadsheet in the demo is not required for production. This solves the issue with images as well, as they are queried in the static site build just like the images for the campaign cards/pages.

@smwingo and ADMG team, this is also ready for a design review. Please let me know your thoughts or edits in this PR. I've captured a quick video recording of moving through the timeline. Some additions from the top screenshot include:

https://github.com/user-attachments/assets/5d8cc6ce-ac19-4168-97a6-43e55e4124c5

LanesGood commented 3 months ago

Remaining Todos: