From 456ef7e7361dc0ba478437dcad43fdcec705ec84 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Mon, 15 Jun 2026 18:56:28 +0300 Subject: [PATCH] feat(iot-hub): add YouTube link to creator profile Add youtubeUrl to CreatorView and render it alongside the other creator social links. Reindents the link block so it nests correctly inside the surrounding flex column. --- .../iot-hub-creator-profile.component.html | 66 ++++++++++--------- .../models/iot-hub/iot-hub-creator.models.ts | 1 + 2 files changed, 37 insertions(+), 30 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html index e36dd5210c..f599fcc743 100644 --- a/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html +++ b/ui-ngx/src/app/modules/home/pages/iot-hub/iot-hub-creator-profile.component.html @@ -61,36 +61,42 @@

{{ creator.description }}

}
- @if (creator.website) { - - language - {{ getWebsiteLabel() }} - - } - @if (creator.contactEmail) { - - mdi:email-outline - {{ creator.contactEmail }} - - } - @if (creator.githubUrl) { - - mdi:github - GitHub - - } - @if (creator.linkedinUrl) { - - mdi:linkedin - LinkedIn - - } - @if (creator.twitterUrl) { - - mdi:twitter - X - - } + @if (creator.website) { + + language + {{ getWebsiteLabel() }} + + } + @if (creator.contactEmail) { + + mdi:email-outline + {{ creator.contactEmail }} + + } + @if (creator.githubUrl) { + + mdi:github + GitHub + + } + @if (creator.linkedinUrl) { + + mdi:linkedin + LinkedIn + + } + @if (creator.twitterUrl) { + + mdi:twitter + X + + } + @if (creator.youtubeUrl) { + + mdi:youtube + YouTube + + }
diff --git a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-creator.models.ts b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-creator.models.ts index 0f9c791f3d..3cf365fbb5 100644 --- a/ui-ngx/src/app/shared/models/iot-hub/iot-hub-creator.models.ts +++ b/ui-ngx/src/app/shared/models/iot-hub/iot-hub-creator.models.ts @@ -25,6 +25,7 @@ export interface CreatorView { githubUrl: string; linkedinUrl: string; twitterUrl: string; + youtubeUrl: string; publishedCount: number; verified: boolean; }