From ef2fff3e16a1c7601ca4f7270dbe4d2f18d0bdd0 Mon Sep 17 00:00:00 2001 From: l-gorman Date: Fri, 11 Feb 2022 17:12:17 +0000 Subject: [PATCH 1/3] mock inclusion of both applications --- .gitignore | 1 + requirements.txt | 1 + site/_static/custom.css | 11 +++++++++++ site/index.md | 1 + 4 files changed, 14 insertions(+) diff --git a/.gitignore b/.gitignore index be5566c..009e683 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ presentations/ .Rproj.user/ .Rhistory data/ +data_hazards_env/ # Storage for misc docs I don't want to commit (e.g abstracts/bios) misc_docs/ diff --git a/requirements.txt b/requirements.txt index 7cc0f8c..01aadcc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ sphinx pydata-sphinx-theme myst-nb +myst sphinx-panels diff --git a/site/_static/custom.css b/site/_static/custom.css index 76ca9cd..788ceb0 100644 --- a/site/_static/custom.css +++ b/site/_static/custom.css @@ -28,3 +28,14 @@ div.timeline div.entry.left::after { div.timeline div.entry.right::after { left: -.5em; } + + + +.app-container { + display: flex; + height: 900px; + width: 150%; + justify-content: left; + align-items: flex-start; + overflow: hidden !important; +} diff --git a/site/index.md b/site/index.md index 2261eee..78c80ed 100644 --- a/site/index.md +++ b/site/index.md @@ -153,4 +153,5 @@ contents/upcoming-events contents/materials contents/sign-up contents/contact +contents/app-location ``` From 207572a65aa87266e53579a98732957d57730269 Mon Sep 17 00:00:00 2001 From: l-gorman Date: Tue, 22 Feb 2022 10:38:05 +0000 Subject: [PATCH 2/3] adding a location for the app to render --- site/contents/app-location.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 site/contents/app-location.md diff --git a/site/contents/app-location.md b/site/contents/app-location.md new file mode 100644 index 0000000..b6155f2 --- /dev/null +++ b/site/contents/app-location.md @@ -0,0 +1,15 @@ +# Hazards App + +Some text for hazards app + +```{raw} html +
+ +
+``` + +```{raw} html +
+ +
+``` \ No newline at end of file From 142fbc2dade5884acd088b7f19237beb96a14887 Mon Sep 17 00:00:00 2001 From: l-gorman Date: Tue, 6 Sep 2022 11:48:39 +0100 Subject: [PATCH 3/3] adding scenario selector example --- site/_static/custom.css | 11 ----------- site/contents/app-location.md | 16 +++++++++------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/site/_static/custom.css b/site/_static/custom.css index 788ceb0..76ca9cd 100644 --- a/site/_static/custom.css +++ b/site/_static/custom.css @@ -28,14 +28,3 @@ div.timeline div.entry.left::after { div.timeline div.entry.right::after { left: -.5em; } - - - -.app-container { - display: flex; - height: 900px; - width: 150%; - justify-content: left; - align-items: flex-start; - overflow: hidden !important; -} diff --git a/site/contents/app-location.md b/site/contents/app-location.md index b6155f2..8973528 100644 --- a/site/contents/app-location.md +++ b/site/contents/app-location.md @@ -1,15 +1,17 @@ -# Hazards App +# Hazards Apps -Some text for hazards app -```{raw} html + + +Click here to generate some scenarios. Interested in +adding more scenarios, you can add them [here](https://github.com/l-gorman/data-hazards-scenario-selector/edit/main/src/components/scenarios/scenarios.js) ```{raw} html -
- +
+
``` \ No newline at end of file