diff --git a/climate_emotions_map/layout.py b/climate_emotions_map/layout.py index 5065a3e..5c939ef 100644 --- a/climate_emotions_map/layout.py +++ b/climate_emotions_map/layout.py @@ -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(), ], diff --git a/climate_emotions_map/utility.py b/climate_emotions_map/utility.py index 6585c43..df2f236 100644 --- a/climate_emotions_map/utility.py +++ b/climate_emotions_map/utility.py @@ -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",