Skip to content

Commit e27e21c

Browse files
committed
feat: prepare for new covidcast
1 parent eb28cc2 commit e27e21c

File tree

10 files changed

+28
-76
lines changed

10 files changed

+28
-76
lines changed

config.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,49 +38,49 @@ relativeURLs = false
3838
weight = 2
3939
[[menu.main]]
4040
parent = "covidcast"
41-
name = "Map Overview"
41+
name = "About"
4242
url = "/covidcast"
4343
weight = 1
4444
[[menu.main]]
4545
parent = "covidcast"
46-
name = "Timelapse"
47-
url = "/covidcast/timelapse"
46+
name = "Indicator Overview"
47+
url = "/covidcast/overview"
4848
weight = 2
4949
[[menu.main]]
5050
parent = "covidcast"
51-
name = "Top 10"
52-
url = "/covidcast/top10"
51+
name = "Indicator Details"
52+
url = "/covidcast/indicator"
5353
weight = 3
5454
[[menu.main]]
5555
parent = "covidcast"
56-
name = "Single Region"
57-
url = "/covidcast/single"
56+
name = "Old Map Overview"
57+
url = "/covidcast/old"
5858
weight = 4
5959
[[menu.main]]
6060
parent = "covidcast"
6161
name = "Surveys"
6262
url = "/covidcast/surveys"
63-
weight = 5
63+
weight = 50
6464
[[menu.main]]
6565
parent = "covidcast"
6666
name = "Survey Results"
6767
url = "/covidcast/survey-results"
68-
weight = 6
68+
weight = 51
6969
[[menu.main]]
7070
parent = "covidcast"
7171
name = "Export Data"
7272
url = "/covidcast/export"
73-
weight = 7
73+
weight = 70
7474
[[menu.main]]
7575
parent = "covidcast"
7676
name = "Release Log"
7777
url = "/covidcast/release-log"
78-
weight = 8
78+
weight = 80
7979
[[menu.main]]
8080
parent = "covidcast"
8181
name = "Terms Of Use"
8282
url = "/covidcast/terms-of-use"
83-
weight = 9
83+
weight = 90
8484
[[menu.main]]
8585
identifier = "flu"
8686
name = "Flu and Other Diseases"

content/covidcast/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
title: COVIDcast
33
description: COVIDcast tracks and forecasts the spread of COVID-19. By Carnegie Mellon's Delphi Research Group.
44
layout: covidcast_app
5-
app_mode: overview
5+
app_mode: landing
66
order: 1
7-
modeTitle: Map Overview
8-
icon: solid/map
97
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
108
feedback: true
119
---
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
title: COVIDcast Timelapse
3-
linkTitle: Timelapse
2+
title: COVIDcast Indicator Detail
3+
linkTitle: Indicator Detail
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
6+
app_mode: indicator
7+
order: 3
98
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
109
feedback: true
1110
---
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: COVIDcast Region Details
3-
linkTitle: Region Details
2+
title: COVIDcast Map Overview
3+
linkTitle: Old Map Overview
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
6+
app_mode: old
7+
order: 3
98
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
109
feedback: true
10+
footer: false
1111
---
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: COVIDcast Top 10
3-
linkTitle: Top 10
2+
title: COVIDcast
3+
linkTitle: About COVIDcast
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
6+
app_mode: overview
77
order: 3
8-
icon: solid/list
98
heroImage: /images/landing-page/hero-images/covidcast_withfill.jpg
109
feedback: true
10+
footer: true
1111
---

themes/delphi/assets/css/pages/_covidcast.scss

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,6 @@
88
height: 100vh;
99
}
1010

11-
.covidcast_wrapper > footer {
11+
.covidcast_wrapper:not(.covidcast_wrapper_footer) > footer {
1212
display: none;
1313
}
14-
15-
.covidcast-modes {
16-
position: relative;
17-
18-
&::before {
19-
content: "";
20-
position: absolute;
21-
bottom: 0;
22-
left: 0;
23-
right: 0;
24-
border-bottom: 1px solid #e5e5e5;
25-
}
26-
27-
.uk-tab::before {
28-
display: none;
29-
}
30-
}

themes/delphi/assets/location-solid.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

themes/delphi/layouts/_default/covidcast_app.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<script src="{{ (partial "covidcast/find-file.html" "bundle.*\\.js$")| relURL }}"></script>
77
{{ end }}
88
{{ define "breadcrumb" }}<!-- no breadcrumb -->{{ end }}
9-
{{ define "body_class" }}covidcast_wrapper{{ end }}
9+
{{ define "body_class" }}covidcast_wrapper {{ if .Params.footer }}covidcast_wrapper_footer{{ end }}{{ end }}
1010
{{ define "main" }}
11-
{{ partial "covidcast/modes.html" . }}
1211
<div id="vizbox">
1312
<div class="ie-banner" style="display: none">
1413
<div>

themes/delphi/layouts/partials/covidcast/get-modes.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

themes/delphi/layouts/partials/covidcast/modes.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)