diff --git a/gov_uk_dashboards/assets/dashboard.css b/gov_uk_dashboards/assets/dashboard.css index d73a339..1e0fab2 100644 --- a/gov_uk_dashboards/assets/dashboard.css +++ b/gov_uk_dashboards/assets/dashboard.css @@ -3366,18 +3366,13 @@ x:-moz-any-link { display: inline-block; min-width: 125px; padding-top: 112px; - background-image: url("/assets/images/govuk-crest.png"); + background-image: url("/assets/images/govuk-crest.svg"); background-repeat: no-repeat; background-position: 50% 0%; background-size: 125px 102px; text-align: center; white-space: nowrap; } -@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) { - .govuk-footer__copyright-logo { - background-image: url("/assets/images/govuk-crest-2x.png"); - } -} .govuk-footer__inline-list { margin-top: 0; diff --git a/gov_uk_dashboards/assets/images/MHCLG_favicon.ico b/gov_uk_dashboards/assets/images/MHCLG_favicon.ico new file mode 100644 index 0000000..fa32680 Binary files /dev/null and b/gov_uk_dashboards/assets/images/MHCLG_favicon.ico differ diff --git a/gov_uk_dashboards/assets/images/govuk-crest-2x.png b/gov_uk_dashboards/assets/images/govuk-crest-2x.png deleted file mode 100644 index 78e751c..0000000 Binary files a/gov_uk_dashboards/assets/images/govuk-crest-2x.png and /dev/null differ diff --git a/gov_uk_dashboards/assets/images/govuk-crest.png b/gov_uk_dashboards/assets/images/govuk-crest.png deleted file mode 100644 index bed4efe..0000000 Binary files a/gov_uk_dashboards/assets/images/govuk-crest.png and /dev/null differ diff --git a/gov_uk_dashboards/assets/images/govuk-crest.svg b/gov_uk_dashboards/assets/images/govuk-crest.svg new file mode 100644 index 0000000..db3e20a --- /dev/null +++ b/gov_uk_dashboards/assets/images/govuk-crest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/gov_uk_dashboards/assets/images/mhclg_coat_of_arms.png b/gov_uk_dashboards/assets/images/mhclg_coat_of_arms.png new file mode 100644 index 0000000..e3d972e Binary files /dev/null and b/gov_uk_dashboards/assets/images/mhclg_coat_of_arms.png differ diff --git a/gov_uk_dashboards/components/plotly/header.py b/gov_uk_dashboards/components/plotly/header.py index cd575d4..e35169c 100644 --- a/gov_uk_dashboards/components/plotly/header.py +++ b/gov_uk_dashboards/components/plotly/header.py @@ -19,8 +19,8 @@ def header(title: str, strong_class: str = "", background_colour: str = None): html.Div( [ html.Img( - src="assets\\images\\dcms_coatofarms.png", - srcSet="assets\\images\\dcms_coatofarms.png 490w", + src="assets\\images\\mhclg_coat_of_arms.png", + srcSet="assets\\images\\mhclg_coat_of_arms.png 490w", sizes="(min-width: 600px) 400px, 30vw", className="header-image", style={"maxWidth": "400px"}, diff --git a/setup.py b/setup.py index 8532572..bab549a 100644 --- a/setup.py +++ b/setup.py @@ -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="11.4.0", + version="12.0.0", long_description=long_description, long_description_content_type="text/markdown", packages=find_packages(),