eucp-project / storyboards

Simple web application to show example use cases with some interactivity. (visitors via old url will be redirected to the website with new url)
https://eucp-project.github.io/storyboards
Other
7 stars 5 forks source link

Interactive figures for flash flood story #32

Closed SarahAlidoost closed 2 years ago

SarahAlidoost commented 2 years ago

Two figures in the "Alpine flash floods" (see PR #31) can be interactive. For more info, see comments in the raw ppt material, slides numbers 7 & 9.

Peter9192 commented 2 years ago

If I understand correctly, these are standalone HTML files produced with mapbox. The easiest way might be to embed them using an iframe. So in the _panel.vue we could check if the image extension is HTML, and in that case create an iframe instead of an image tag.

The index page now only uses the first image, but we might want to make sure that this page won't fail if we also allow html as main content.

geek-yang commented 2 years ago

It is done.