From 453538a04a43b2dc52a2da10dd32261bcac8dd5a Mon Sep 17 00:00:00 2001 From: Samuel Gratzl Date: Wed, 17 Mar 2021 11:41:37 -0400 Subject: [PATCH] feat: adapt menu changes closes #263 --- config.toml | 9 +++++++-- content/covidcast/classic.md | 4 ++-- content/covidcast/indicator.md | 4 ++-- content/covidcast/summary.md | 4 ++-- content/covidcast/survey-results.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 7 files changed, 17 insertions(+), 12 deletions(-) diff --git a/config.toml b/config.toml index f86aaea0d..2e88be2b2 100644 --- a/config.toml +++ b/config.toml @@ -43,9 +43,14 @@ relativeURLs = false weight = 1 [[menu.main]] parent = "covidcast" - name = "Region Summary" + name = "Explore a Location" url = "/covidcast/summary" weight = 2 +[[menu.main]] + parent = "covidcast" + name = "Explore an Indicator" + url = "/covidcast/indicator" + weight = 3 [[menu.main]] parent = "covidcast" name = "Classic Map" @@ -122,4 +127,4 @@ relativeURLs = false feedbackDelayMin = 45 # in sec feedbackDelayMax = 180 # in sec feedbackDuration = 60 # show it for 60sec - highlightLinks = "/covidcast/,/covidcast/summary,/signals-dashboard/,/forecast-eval/" \ No newline at end of file + highlightLinks = "/covidcast/,/covidcast/summary,/covidcast/indicator,/signals-dashboard/,/forecast-eval/" \ No newline at end of file diff --git a/content/covidcast/classic.md b/content/covidcast/classic.md index 994000382..f267a2f43 100644 --- a/content/covidcast/classic.md +++ b/content/covidcast/classic.md @@ -1,6 +1,6 @@ --- -title: Classic COVIDcast -linkTitle: Classic COVIDcast +title: COVIDcast | Classic Map +linkTitle: Classic Map description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group. layout: covidcast_app app_mode: classic diff --git a/content/covidcast/indicator.md b/content/covidcast/indicator.md index 3e0011bf3..89ca4fd5d 100644 --- a/content/covidcast/indicator.md +++ b/content/covidcast/indicator.md @@ -1,6 +1,6 @@ --- -title: COVIDcast Indicator Detail -linkTitle: Indicator Detail +title: COVIDcast | Explore an Indicator +linkTitle: Explore an Indicator description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group. layout: covidcast_app app_mode: indicator diff --git a/content/covidcast/summary.md b/content/covidcast/summary.md index dc4f255bf..8c98144ea 100644 --- a/content/covidcast/summary.md +++ b/content/covidcast/summary.md @@ -1,6 +1,6 @@ --- -title: Location Summary -linkTitle: Location Summary +title: COVIDcast | Explore a Location +linkTitle: Explore a Location description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group. layout: covidcast_app app_mode: summary diff --git a/content/covidcast/survey-results.md b/content/covidcast/survey-results.md index 27f352c26..84bcab322 100644 --- a/content/covidcast/survey-results.md +++ b/content/covidcast/survey-results.md @@ -1,5 +1,5 @@ --- -title: COVIDcast Survey Results +title: COVIDcast | Survey Results linkTitle: Survey Results description: | In collaboration with Facebook Data for Good, along with a consortium of universities and public health officials, the Delphi Group at Carnegie Mellon University conducts research surveys to monitor the spread and impact of the COVID-19 pandemic in the United States. This survey is advertised through Facebook. It has run continuously since early April 2020. diff --git a/package-lock.json b/package-lock.json index e8ed58dd2..82a3519ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5135,8 +5135,8 @@ } }, "www-covidcast": { - "version": "git+https://github.com/cmu-delphi/www-covidcast.git#d47dfb763206b5019310dc4f1b96ec233cb222f7", - "from": "git+https://github.com/cmu-delphi/www-covidcast.git#d47dfb763206b5019310dc4f1b96ec233cb222f7", + "version": "git+https://github.com/cmu-delphi/www-covidcast.git#aa2251480a008cc47db281e0ec17c5b7454ec66a", + "from": "git+https://github.com/cmu-delphi/www-covidcast.git#aa2251480a008cc47db281e0ec17c5b7454ec66a", "requires": { "uikit": "^3.6.17" } diff --git a/package.json b/package.json index 194f6ec56..5e1b49148 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "highlight.js": "^10.6.0", "katex": "^0.12.0", "uikit": "^3.6.17", - "www-covidcast": "https://github.com/cmu-delphi/www-covidcast#d47dfb763206b5019310dc4f1b96ec233cb222f7" + "www-covidcast": "https://github.com/cmu-delphi/www-covidcast#aa2251480a008cc47db281e0ec17c5b7454ec66a" }, "devDependencies": { "bestzip": "^2.1.7",