Custom subpage content
Description
This MR further refines the subpage set up to dynamically pass text content, references, authors, and code links to the viz-specific components that are dynamically inserted in SubPage.vue
. It also customizes the project-specific pages to add a blurb about each project. And it adds placeholder viz components that use the VizSection
template.
Changes Made
New customized text, references, authors, and code link on subpages:
New blurb on project pages:
How to Test
Pull changes locally and run npm run dev
. A fleshed out sub-page is here: visualizations/climate-charts/fire-in-ice/glacier-scan
. An example project page is visualizations/climate-charts/fire-in-ice
Related Issues
Fixes #4 (closed), Fixes #8 (closed) , Fixes #10 (closed) , Fixes #13 (closed) .
Additional Notes
The meat of the changes are in VisualizationView.vue
and SubPage.vue
Merge Request Checklists
-
Ensure that code changes adhere to best practices documented in README.md
-
Clean the code the way Vue likes it - run npm run lint --fix
-
Document which browsers the site has been tested on: - Desktop/laptop
-
Chrome -
Safari -
Edge -
Firefox
-
- Mobile device
-
Chrome -
Safari -
Edge -
Firefox
-
- Desktop/laptop