Update viz
To test, npm install
and npm run dev
(no need to run the R scripts unless you want to, they're in the R_src
directory)
This MR does:
- Update the way background images fit so that they're always showing the full image rather than getting cut off
- Update placement of png elements on top of background images
- Update the text to drop the work "ranger" (wrt SME advice)
- Update the button styling (#4 (closed))
- Change to grid setting (close #12 (closed))
- Includes !18 (merged) changes, such as including mobile layout, grid layout, etc (close #13 (closed))
- Includes references and placeholder for authorship (closes #5 (closed) and #6 (closed))
This MR doesn't:
- Read images from s3 #11 (closed)
-
Change button styles to something more fitting with theme#4 (closed) -
Fix the fact that the background image div size is not consistent (based on js logic, the size of the background image div is very small on a few key places)#12 (closed) -
Fix the fact that mobile is not being recognized?#13 (closed) - Fix the refresh problem when you're in the CYOA part #14 (closed)
- Add alt text #15 (closed)
- References links aren't working #16 (closed)
- Fix the png images in place on the background image (as one png per page)
don't love but are maybe ok for MVP FIXED
Things I - The large gap at the top of the page between the short title and the narrative text (top screenshot), I tried fixing this with css grid properties but didn't get any quick changes to fix it. I would prefer if the grid fit better so that buttons didn't overlap the images, and that gap wasn't so big.
- I could redo these illustrations (second screenshot) so that the landscape looks better and isn't so small
Edited by Archer, Althea Anne