diff --git a/public/static/images/conference.png b/public/static/images/conference.png deleted file mode 100644 index 591028a8b7..0000000000 Binary files a/public/static/images/conference.png and /dev/null differ diff --git a/src/panels/config/dashboard/ha-config-dashboard.ts b/src/panels/config/dashboard/ha-config-dashboard.ts index 9ef4aa5b67..7c7466704c 100644 --- a/src/panels/config/dashboard/ha-config-dashboard.ts +++ b/src/panels/config/dashboard/ha-config-dashboard.ts @@ -21,10 +21,7 @@ import { HomeAssistant } from "../../../types"; import "../ha-config-section"; import { configSections } from "../ha-panel-config"; import "./ha-config-navigation"; -import { mdiClose, mdiCloudLock } from "@mdi/js"; -import { showConfirmationDialog } from "../../../dialogs/generic/show-dialog-box"; - -const CONF_HAPPENING = new Date() < new Date("2020-12-13T23:00:00Z"); +import { mdiCloudLock } from "@mdi/js"; @customElement("ha-config-dashboard") class HaConfigDashboard extends LitElement { @@ -71,24 +68,6 @@ class HaConfigDashboard extends LitElement { ` : ""} - ${CONF_HAPPENING && !localStorage.dismissConf2020 - ? html` - - - -
-
- -
- ` - : ""} ${Object.values(configSections).map( (section) => html` @@ -164,33 +143,6 @@ class HaConfigDashboard extends LitElement { `; } - private async _dismissConference() { - if ( - await showConfirmationDialog(this, { - title: "Home Assistant Conference", - text: html` - If you've - bought your ticket - or have - subscribed to the livestream, you might want to dismiss this banner. Do you want to continue? - `, - }) - ) { - localStorage.dismissConf2020 = "1"; - this.requestUpdate(); - } - } - static get styles(): CSSResultArray { return [ haStyle, @@ -214,28 +166,6 @@ class HaConfigDashboard extends LitElement { text-decoration: none; color: var(--primary-text-color); } - .conf-card { - position: relative; - } - .conf-card img { - display: block; - width: 100%; - } - .conf-card .carrot { - position: absolute; - top: 0; - right: 16px; - bottom: 0; - display: flex; - align-items: center; - color: white; - } - .conf-card ha-svg-icon { - position: absolute; - bottom: -4px; - left: -4px; - color: #a2cdf3; - } .promo-advanced { text-align: center; color: var(--secondary-text-color);