diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/bem.blocks/hero.css b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/bem.blocks/hero.css index 512868303f..8d5042421b 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/bem.blocks/hero.css +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/bem.blocks/hero.css @@ -39,6 +39,9 @@ font-size: 20px; line-height: 28px; } +.bem-hero__image { + max-height: 50px; +} .bem-hero__sections { color: #000; font-weight: 400; diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/images/landing_pages/logo_hdx_signals.png b/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/images/landing_pages/logo_hdx_signals.png new file mode 100644 index 0000000000..4d5e87f29c Binary files /dev/null and b/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/images/landing_pages/logo_hdx_signals.png differ diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/bem.blocks/hero.less b/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/bem.blocks/hero.less index ebb924867c..d767c87755 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/bem.blocks/hero.less +++ b/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/bem.blocks/hero.less @@ -42,6 +42,10 @@ line-height: 28px; } + &__image { + max-height: 50px; + } + &__sections { color: @black-color; font-weight: 400; diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/helpers/ui_constants/landing_pages/signals.py b/ckanext-hdx_theme/ckanext/hdx_theme/helpers/ui_constants/landing_pages/signals.py index 886760ea77..ac98059eb7 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/helpers/ui_constants/landing_pages/signals.py +++ b/ckanext-hdx_theme/ckanext/hdx_theme/helpers/ui_constants/landing_pages/signals.py @@ -1,13 +1,12 @@ CONSTANTS = { - 'HERO_SECTION_TITLE': '''HDX Signals monitors key datasets and generates automated emails when significant, negative changes are detected''', - 'HERO_SECTION_DESCRIPTION': '''HDX Signals is a new product. We are seeking feedback. Please contact us at hdx-signals@un.org''', - 'HERO_SECTION_LABEL': '''HDX Signals''', + 'HERO_SECTION_TITLE': '''A new product that monitors key datasets and generates automated emails when significant, negative changes are detected''', + 'HERO_SECTION_DESCRIPTION': '''We are seeking feedback. Please contact us at hdx-signals@un.org''', 'DATA_COVERAGE_SECTION_TITLE': '''Data Coverage''', 'DATA_COVERAGE_SECTION_DESCRIPTION': '''Datasets monitored by HDX signals at the moment are as follows:''', 'SIGNUP_SECTION_TITLE': '''Sign up''', - 'SIGNUP_SECTION_DESCRIPTION': '''Sign up below to receive HDX Signals emails. You must select specific datasets, plus regions and/or HRP countries, to receive content that you are interested in.''', + 'SIGNUP_SECTION_DESCRIPTION': '''Sign up below to receive HDX Signals emails. To receive the content you are interested in, please make sure you have selected AT LEAST ONE dataset and region or priority humanitarian location from the options below.''', 'RESOURCES_SECTION_TITLE': '''Resources''', 'RESOURCES_SECTION_DESCRIPTION': '''For more information about the datasets monitored by HDX signals as well as information for developers see the following:''', @@ -19,9 +18,9 @@ 'RESOURCES_CARD_BUTTON_LINK_MAP': '''https://baripembo.github.io/viz-hdx-signals/''', 'RESOURCES_CARD_TITLE_DATASET': '''Download HDX Signals dataset on HDX''', - 'RESOURCES_CARD_TEXT_DATASET': '''Preview or download the full HDX Signals dataset''', + 'RESOURCES_CARD_TEXT_DATASET': '''Explore the full HDX Signals dataset''', 'RESOURCES_CARD_BUTTON_DATASET': '''Learn more''', - 'RESOURCES_CARD_BUTTON_LINK_DATASET': '''#''', + 'RESOURCES_CARD_BUTTON_LINK_DATASET': '''https://data.humdata.org/dataset/hdx-signals''', 'RESOURCES_CARD_TITLE_METHODOLOGY': '''Methodology''', 'RESOURCES_CARD_TEXT_METHODOLOGY': '''Read the HDX Signals methodology''', @@ -50,7 +49,7 @@ "link": "https://data.humdata.org/organization/acled" }, { - "title": "Food security", + "title": "Food insecurity", "organization": "the Integrated Food Security Phase Classification (IPC)", "link": "https://data.humdata.org/dataset/global-acute-food-insecurity-country-data" }, @@ -60,15 +59,15 @@ "link": "https://data.humdata.org/organization/international-displacement-monitoring-centre-idmc" }, { - "title": "Market monitor", + "title": "Market monitoring", "organization": "World Food Programme (WFP)", - "link": "https://data.humdata.org/organization/wfp" + "link": "https://data.humdata.org/datasets/global-market-monitor" }, ] SECTIONS_CONSTANTS = [ - {'name': 'Data Coverage', 'url': '#data-coverage'}, {'name': 'Signup', 'url': '#signup'}, + {'name': 'Data Coverage', 'url': '#data-coverage'}, {'name': 'Signals map', 'url': 'https://baripembo.github.io/viz-hdx-signals/'}, {'name': 'Resources', 'url': '#resources'}, {'name': 'FAQ', 'url': '#faq'}, diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/templates/bem.blocks/hero.html b/ckanext-hdx_theme/ckanext/hdx_theme/templates/bem.blocks/hero.html index fe1537b8e7..9b9a8215b8 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/templates/bem.blocks/hero.html +++ b/ckanext-hdx_theme/ckanext/hdx_theme/templates/bem.blocks/hero.html @@ -5,6 +5,9 @@ {% if label %}
{{ label }}
{% endif %} + {% if image %} + + {% endif %}