From c3e1a2edf0e8678a7cecce7546e5100bcf3d9a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Mon, 6 Dec 2021 12:51:21 +0100 Subject: [PATCH] Use ha-logo-svg on info page (#10807) --- src/panels/config/info/ha-config-info.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/panels/config/info/ha-config-info.ts b/src/panels/config/info/ha-config-info.ts index 24ed7b84fe..943f6aa329 100644 --- a/src/panels/config/info/ha-config-info.ts +++ b/src/panels/config/info/ha-config-info.ts @@ -1,6 +1,7 @@ import { css, CSSResultGroup, html, LitElement, TemplateResult } from "lit"; import { property } from "lit/decorators"; import "../../../layouts/hass-tabs-subpage"; +import "../../../components/ha-logo-svg"; import { haStyle } from "../../../resources/styles"; import { HomeAssistant, Route } from "../../../types"; import { documentationUrl } from "../../../util/documentation-url"; @@ -40,13 +41,14 @@ class HaConfigInfo extends LitElement { href=${documentationUrl(this.hass, "")} target="_blank" rel="noreferrer" - >${this.hass.localize( + + > + +

Home Assistant ${hass.connection.haVersion}

@@ -193,6 +195,11 @@ class HaConfigInfo extends LitElement { margin: 0 auto; padding-bottom: 16px; } + ha-logo-svg { + padding: 12px; + height: 180px; + width: 180px; + } `, ]; }