From dbd88033f00d2b325d2a0fb0d11e3414b1281d42 Mon Sep 17 00:00:00 2001 From: Ana Ivanov <38096095+anaivanov@users.noreply.github.com> Date: Tue, 20 May 2025 14:55:22 +0300 Subject: [PATCH] Add Cloud provider logo (#105274) * Add Cloud provider logo * remove color * remove other svg props --- packages/grafana-data/src/types/icon.ts | 1 + pkg/services/navtree/navtreeimpl/applinks.go | 2 +- public/img/icons/unicons/cloud-provider.svg | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 public/img/icons/unicons/cloud-provider.svg diff --git a/packages/grafana-data/src/types/icon.ts b/packages/grafana-data/src/types/icon.ts index 64d4bdd7a88..a5dc7794f1c 100644 --- a/packages/grafana-data/src/types/icon.ts +++ b/packages/grafana-data/src/types/icon.ts @@ -69,6 +69,7 @@ export const availableIconsIndex = { 'clock-nine': true, cloud: true, 'cloud-download': true, + 'cloud-provider': true, 'cloud-upload': true, 'code-branch': true, cog: true, diff --git a/pkg/services/navtree/navtreeimpl/applinks.go b/pkg/services/navtree/navtreeimpl/applinks.go index 9b482ce58ec..50d5bb39c9c 100644 --- a/pkg/services/navtree/navtreeimpl/applinks.go +++ b/pkg/services/navtree/navtreeimpl/applinks.go @@ -329,7 +329,7 @@ func (s *ServiceImpl) readNavigationSettings() { "grafana-easystart-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightApps + 1, Text: "Connections", Icon: "adjust-circle"}, "k6-app": {SectionID: navtree.NavIDTestingAndSynthetics, SortWeight: 1, Text: "Performance"}, "grafana-asserts-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightAsserts, Icon: "asserts"}, - "grafana-csp-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightCloudServiceProviders, Icon: "cloud"}, + "grafana-csp-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightCloudServiceProviders, Icon: "cloud-provider"}, } if s.features.IsEnabledGlobally(featuremgmt.FlagGrafanaAdvisor) { diff --git a/public/img/icons/unicons/cloud-provider.svg b/public/img/icons/unicons/cloud-provider.svg new file mode 100644 index 00000000000..5c0e5be5e63 --- /dev/null +++ b/public/img/icons/unicons/cloud-provider.svg @@ -0,0 +1,15 @@ + + + + + + +