From 7715849c1cd228d1053cd636044c93a77437df3b Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 4 May 2026 14:44:57 +0300 Subject: [PATCH] =?UTF-8?q?feat(iot-hub):=20redesign=20home=20hero=20?= =?UTF-8?q?=E2=80=94=20per-type=20clusters,=20glow=20blobs,=20scale=20anim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace per-type icon SVG sets with single composite cluster SVGs exported from the updated design (devices, solutions, widgets, calculated fields, alarm rules, rule chains). - Add soft per-type colored glow blobs (Ellipse 399 / 400, opacity 0.16, filter: blur(120px)) at the page level so the wash spans the whole page background instead of being clipped by the hero. - Fix hero icons transition: switch from vertical translate to a uniform scale around the hero centre so icons burst from / collapse to the centre on enter/exit, matching the design prototype. - Drive blob fill via [style.color] + currentColor for smooth per-type tint cross-fades. --- .../pages/iot-hub/iot-hub-home.component.html | 28 ++- .../pages/iot-hub/iot-hub-home.component.scss | 193 +++++++----------- .../pages/iot-hub/iot-hub-home.component.ts | 33 ++- .../iot-hub/hero-alarm-rule-cluster.svg | 48 +++++ .../iot-hub/hero-calculated-field-cluster.svg | 71 +++++++ .../iot-hub/hero-calculated-field-icon-1.svg | 25 --- .../iot-hub/hero-calculated-field-icon-2.svg | 25 --- .../iot-hub/hero-calculated-field-icon-3.svg | 25 --- .../iot-hub/hero-calculated-field-icon-4.svg | 25 --- .../assets/iot-hub/hero-dashboard-icon-1.svg | 30 --- .../assets/iot-hub/hero-dashboard-icon-2.svg | 25 --- .../assets/iot-hub/hero-dashboard-icon-3.svg | 30 --- .../assets/iot-hub/hero-dashboard-icon-4.svg | 30 --- .../assets/iot-hub/hero-device-cluster.svg | 138 +++++++++++++ .../src/assets/iot-hub/hero-device-icon-1.svg | 25 --- .../src/assets/iot-hub/hero-device-icon-2.svg | 25 --- .../src/assets/iot-hub/hero-device-icon-3.svg | 25 --- .../src/assets/iot-hub/hero-device-icon-4.svg | 30 --- .../iot-hub/hero-rule-chain-cluster.svg | 72 +++++++ .../assets/iot-hub/hero-rule-chain-icon-1.svg | 25 --- .../assets/iot-hub/hero-rule-chain-icon-2.svg | 25 --- .../assets/iot-hub/hero-rule-chain-icon-3.svg | 25 --- .../assets/iot-hub/hero-rule-chain-icon-4.svg | 35 ---- .../hero-solution-template-cluster.svg | 57 ++++++ .../iot-hub/hero-solution-template-icon-1.svg | 25 --- .../iot-hub/hero-solution-template-icon-2.svg | 25 --- .../iot-hub/hero-solution-template-icon-3.svg | 25 --- .../iot-hub/hero-solution-template-icon-4.svg | 25 --- .../assets/iot-hub/hero-widget-cluster.svg | 57 ++++++ .../src/assets/iot-hub/hero-widget-icon-1.svg | 27 --- .../src/assets/iot-hub/hero-widget-icon-2.svg | 25 --- .../src/assets/iot-hub/hero-widget-icon-3.svg | 35 ---- .../src/assets/iot-hub/hero-widget-icon-4.svg | 35 ---- 33 files changed, 542 insertions(+), 807 deletions(-) create mode 100644 ui-ngx/src/assets/iot-hub/hero-alarm-rule-cluster.svg create mode 100644 ui-ngx/src/assets/iot-hub/hero-calculated-field-cluster.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-calculated-field-icon-1.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-calculated-field-icon-2.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-calculated-field-icon-3.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-calculated-field-icon-4.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-dashboard-icon-1.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-dashboard-icon-2.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-dashboard-icon-3.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-dashboard-icon-4.svg create mode 100644 ui-ngx/src/assets/iot-hub/hero-device-cluster.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-device-icon-1.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-device-icon-2.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-device-icon-3.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-device-icon-4.svg create mode 100644 ui-ngx/src/assets/iot-hub/hero-rule-chain-cluster.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-rule-chain-icon-1.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-rule-chain-icon-2.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-rule-chain-icon-3.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-rule-chain-icon-4.svg create mode 100644 ui-ngx/src/assets/iot-hub/hero-solution-template-cluster.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-solution-template-icon-1.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-solution-template-icon-2.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-solution-template-icon-3.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-solution-template-icon-4.svg create mode 100644 ui-ngx/src/assets/iot-hub/hero-widget-cluster.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-widget-icon-1.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-widget-icon-2.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-widget-icon-3.svg delete mode 100644 ui-ngx/src/assets/iot-hub/hero-widget-icon-4.svg diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html index fb4fbab95a..47eb31ecfc 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-home.component.html @@ -16,6 +16,13 @@ -->
+ +
+
+ @if (installedItemsCount > 0) {