Skip to content

Commit

Permalink
Merge pull request #169 from communitiesuk/Update-header-for-mhclg
Browse files Browse the repository at this point in the history
Update header for MHCLG
  • Loading branch information
tom-clarke-dluhc authored Jul 11, 2024
2 parents d841e0b + 7c8c1cd commit 25a0402
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Binary file added gov_uk_dashboards/assets/images/MHCLG-favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions gov_uk_dashboards/components/plotly/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def header(title: str, strong_class: str = "", background_colour: str = None):
html.Div(
[
html.Img(
src="assets\\images\\DLUHC_WHITE_Master_AW_sm.png",
srcSet="assets\\images\\DLUHC_WHITE_Master_AW_sm.png 490w",
src="assets\\images\\mhclg_white_no_background.png",
srcSet="assets\\images\\mhclg_white_no_background.png 490w",
sizes="(min-width: 600px) 200px, 30vw",
className="header-image",
style={"maxWidth": "200px"},
Expand All @@ -43,6 +43,7 @@ def header(title: str, strong_class: str = "", background_colour: str = None):
"OFFICIAL",
className="govuk-tag protective-marking",
id="protective-marking",
style={"background-color": "#000000"},
)
],
className=f"{strong_class}",
Expand All @@ -56,9 +57,11 @@ def header(title: str, strong_class: str = "", background_colour: str = None):
className="govuk-header__content",
),
className="govuk-header__container govuk-width-container",
style={"border-bottom": "10px solid #000000"},
),
className="govuk-header",
role="banner",
style=header_style,
style=header_style
| {"border-color": "#000000", "background-color": "rgb(0,98,94)"},
**{"data-module": "govuk-header"},
)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
author="Department for Levelling Up, Housing and Communities",
description="Provides access to functionality common to creating a data dashboard.",
name="gov_uk_dashboards",
version="9.43.0",
version="10.0.0",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
Expand Down

0 comments on commit 25a0402

Please sign in to comment.