Skip to content

Commit

Permalink
create placeholder for more info link
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Sep 18, 2024
1 parent a2eeef9 commit f091fd0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
27 changes: 22 additions & 5 deletions climate_emotions_map/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,28 @@ def create_header():
gap=5,
justify="center",
children=[
dmc.Anchor(
SECTION_TITLES["app"],
size="xl",
href="/",
underline=False,
dmc.Grid(
children=[
dmc.GridCol(
dmc.Anchor(
SECTION_TITLES["app"],
size="xl",
href="/",
underline=False,
),
span="content",
),
# TODO: Uncomment once the more info page is created
# dmc.GridCol(
# dmc.Anchor(
# SECTION_TITLES["more_info"],
# href="/"
# ),
# span="content"
# )
],
justify="space-between",
align="flex-end",
),
create_app_subtitle(),
],
Expand Down
1 change: 1 addition & 0 deletions climate_emotions_map/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
ALL_STATES_LABEL = "National"
SECTION_TITLES = {
"app": "US Climate Emotions Map (16-25 years old)",
"more_info": "About & Methodology",
"map_opinions": "Percent (%) of adolescents and young adults who endorse the following question/statement:",
"map_impacts": "Map: Percent (%) of adolescents and young adults who reported experiencing the following in the last year",
"all_questions": "Select a survey domain to view responses for",
Expand Down

0 comments on commit f091fd0

Please sign in to comment.