From 09eeb8af793f8bf4d58e41ab6314b39e5b8fea4d Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:39:27 -0700 Subject: [PATCH 1/5] Add TODO to include splash image credit on core pathogens page --- static-site/src/sections/pathogens.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/static-site/src/sections/pathogens.jsx b/static-site/src/sections/pathogens.jsx index e610077a2..d5b52a2c4 100644 --- a/static-site/src/sections/pathogens.jsx +++ b/static-site/src/sections/pathogens.jsx @@ -33,6 +33,7 @@ const resourceListingCallback = async () => { return (await response.json()).dataset[sourceId]; }; +// TODO: add splash image credit class Index extends React.Component { render() { return ( From 84d0083ee1e9e394574c298c0e9bcc469fd87b5c Mon Sep 17 00:00:00 2001 From: Trevor Bedford Date: Wed, 12 Jun 2024 14:53:50 -0700 Subject: [PATCH 2/5] Swap splash tiles to viz screenshots This commit swaps the tiles used on the splash page from the previous doctored electron micrographs to be simple screenshots of the pages / pathogens that are linked to. This has two advantages: 1. It's super simple and no longer requires sourcing a copyright-free image and doctoring it in LunaPic 2. It's a more up front, more transparent window into what you get when you click on a tile I used tree vs map depending on spatial / epi patterns. For pathogens like WNV and Ebola, the map is meaningful and interesting, while for things like H3N2, it's less relevant. I generally tried to stick close to the content that's directly linked and not update coloring, etc..., but I made a couple of exceptions for visual interest. --- static-site/src/components/splash/index.jsx | 2 +- .../src/components/splash/showcase.yaml | 24 +++++++++--------- .../static/splash_images/chikv_map.png | Bin 0 -> 55236 bytes .../static/splash_images/ebola_drc_map.png | Bin 0 -> 92736 bytes .../h5n1_cattle_outbreak_tree.png | Bin 0 -> 68595 bytes static-site/static/splash_images/h5n1_map.png | Bin 0 -> 106751 bytes static-site/static/splash_images/hiv_tree.png | Bin 0 -> 111620 bytes .../static/splash_images/measles_tree.png | Bin 0 -> 58382 bytes .../static/splash_images/mpox_tree.png | Bin 0 -> 31771 bytes .../static/splash_images/ncov_freq.png | Bin 0 -> 12777 bytes static-site/static/splash_images/rsv_tree.png | Bin 0 -> 91306 bytes .../splash_images/seasonal_flu_freq.png | Bin 0 -> 20833 bytes static-site/static/splash_images/wnv_map.png | Bin 0 -> 95861 bytes .../static/splash_images/yersinia_tree.png | Bin 0 -> 47290 bytes 14 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 static-site/static/splash_images/chikv_map.png create mode 100644 static-site/static/splash_images/ebola_drc_map.png create mode 100644 static-site/static/splash_images/h5n1_cattle_outbreak_tree.png create mode 100644 static-site/static/splash_images/h5n1_map.png create mode 100644 static-site/static/splash_images/hiv_tree.png create mode 100644 static-site/static/splash_images/measles_tree.png create mode 100644 static-site/static/splash_images/mpox_tree.png create mode 100644 static-site/static/splash_images/ncov_freq.png create mode 100644 static-site/static/splash_images/rsv_tree.png create mode 100644 static-site/static/splash_images/seasonal_flu_freq.png create mode 100644 static-site/static/splash_images/wnv_map.png create mode 100644 static-site/static/splash_images/yersinia_tree.png diff --git a/static-site/src/components/splash/index.jsx b/static-site/src/components/splash/index.jsx index c0176ef4f..d6cc9a685 100644 --- a/static-site/src/components/splash/index.jsx +++ b/static-site/src/components/splash/index.jsx @@ -199,7 +199,7 @@ const Splash = () => { -