Skip to content

Commit 10ff836

Browse files
authored
Merge pull request #199 from cmu-delphi/sgratzl/modes_in_nav
modes in navigation
2 parents 608d08e + 3418282 commit 10ff836

File tree

15 files changed

+85
-12
lines changed

15 files changed

+85
-12
lines changed

config.toml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,49 @@ relativeURLs = false
3838
weight = 2
3939
[[menu.main]]
4040
parent = "covidcast"
41-
name = "Map"
41+
name = "Map Overview"
4242
url = "/covidcast"
4343
weight = 1
44+
[[menu.main]]
45+
parent = "covidcast"
46+
name = "Timelapse"
47+
url = "/covidcast/timelapse"
48+
weight = 2
49+
[[menu.main]]
50+
parent = "covidcast"
51+
name = "Top 10"
52+
url = "/covidcast/top10"
53+
weight = 3
54+
[[menu.main]]
55+
parent = "covidcast"
56+
name = "Single Region"
57+
url = "/covidcast/single"
58+
weight = 4
4459
[[menu.main]]
4560
parent = "covidcast"
4661
name = "Surveys"
4762
url = "/covidcast/surveys"
48-
weight = 2
63+
weight = 5
4964
[[menu.main]]
5065
parent = "covidcast"
5166
name = "Survey Results"
5267
url = "/covidcast/survey-results"
53-
weight = 3
68+
weight = 6
69+
[[menu.main]]
70+
parent = "covidcast"
71+
name = "Export Data"
72+
url = "/covidcast/export"
73+
weight = 7
5474
[[menu.main]]
5575
parent = "covidcast"
5676
name = "Release Log"
5777
url = "/covidcast/release-log"
58-
weight = 4
78+
weight = 8
5979
[[menu.main]]
6080
parent = "covidcast"
6181
name = "Terms Of Use"
6282
url = "/covidcast/terms-of-use"
63-
weight = 5
83+
weight = 9
6484
[[menu.main]]
6585
identifier = "flu"
6686
name = "Flu and Other Diseases"

content/covidcast/_index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
title: COVIDcast
3-
layout: covidcast_app
43
description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group.
4+
layout: covidcast_app
5+
app_mode: overview
6+
order: 1
7+
modeTitle: Map Overview
8+
icon: solid/map
59
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
610
---

content/covidcast/export.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ title: COVIDCast Export Data
33
linkTitle: Export Data
44
description: Use COVIDcast data in your own analysis
55
layout: covidcast_app
6+
app_mode: export
7+
order: 6
8+
icon: solid/download
69
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
710
---

content/covidcast/single.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ title: COVIDCast Region Details
33
linkTitle: Region Details
44
description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group.
55
layout: covidcast_app
6+
app_mode: single
7+
order: 4
8+
icon: location-solid
69
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
710
---

content/covidcast/survey-results.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ linkTitle: Survey Results
44
description: |
55
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.
66
layout: covidcast_app
7+
app_mode: survey-results
8+
order: 5
9+
icon: solid/poll
710
heroImage: /images/landing-page/hero-images/covidcast_survey.jpg
811
---

content/covidcast/timelapse.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ title: COVIDCast Timelapse
33
linkTitle: Timelapse
44
description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group.
55
layout: covidcast_app
6+
app_mode: timelapse
7+
order: 2
8+
icon: solid/clock
69
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
710
---

content/covidcast/top10.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ title: COVIDCast Top 10
33
linkTitle: Top 10
44
description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group.
55
layout: covidcast_app
6+
app_mode: top10
7+
order: 3
8+
icon: solid/list
69
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
710
---

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"highlight.js": "^10.4.1",
88
"katex": "^0.12.0",
99
"uikit": "^3.5.9",
10-
"www-covidcast": "https://github.com/cmu-delphi/www-covidcast/releases/download/v1.12.0/www-covidcast-1.12.0.tgz"
10+
"www-covidcast": "github:cmu-delphi/www-covidcast#e7f0a2c6041859683649124152bf7a17654419cb"
1111
},
1212
"devDependencies": {
1313
"cpx": "^1.5.0",
Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)