diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-01-03 10:39:55 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-01-05 20:02:50 +0000 |
commit | 42b67b6a5fc5e5eda6bf98929946d2161c4d4cfb (patch) | |
tree | 557f1be7ab2389b662bffbf40543205f7bb7c3ff /server | |
parent | 4baa85b24f120250dd4dfb299984da76cf19e3ce (diff) | |
download | sonarqube-42b67b6a5fc5e5eda6bf98929946d2161c4d4cfb.tar.gz sonarqube-42b67b6a5fc5e5eda6bf98929946d2161c4d4cfb.zip |
[NO-JIRA] Better SQ-SL icon
Diffstat (limited to 'server')
4 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/public/images/sq-sl.png b/server/sonar-web/public/images/sq-sl.png Binary files differdeleted file mode 100644 index af6b984afea..00000000000 --- a/server/sonar-web/public/images/sq-sl.png +++ /dev/null diff --git a/server/sonar-web/public/images/sq-sl.svg b/server/sonar-web/public/images/sq-sl.svg new file mode 100644 index 00000000000..76860987bdd --- /dev/null +++ b/server/sonar-web/public/images/sq-sl.svg @@ -0,0 +1 @@ +<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 88"><defs><style>.cls-1{fill:#cb2029;}.cls-2{fill:#549dd0;}.cls-3{fill:#a0a5a8;}</style></defs><g id="Group_7691" data-name="Group 7691"><path id="Path_10468" data-name="Path 10468" class="cls-1" d="M15,87.26a14,14,0,1,1,14-14,14,14,0,0,1-14,14m0-25.42A11.44,11.44,0,1,0,26.43,73.28,11.46,11.46,0,0,0,15,61.84"/></g><path id="Path_10469" data-name="Path 10469" class="cls-1" d="M24.78,72.54c-.37-.73-.83-1.65-1.73-1.65s-1.35.91-1.72,1.65-.54,1-1,1-.62-.35-1-1-.82-1.65-1.72-1.65-1.35.91-1.73,1.65-.53,1-1,1-.62-.35-1-1-.82-1.65-1.72-1.65-1.36.91-1.73,1.65-.53,1-1,1-.63-.35-1-1-.82-1.65-1.72-1.65-1.36.87-1.72,1.6c0,0-.28.62-.4.91s-.6,1.41-.17,1.95c.25.3.6-.13.8-.45s.5-.94.5-.94c.37-.65.56-1,1-1s.62.36,1,1,.82,1.64,1.73,1.64S11,74.73,11.32,74s.54-1,1-1,.62.36,1,1,.83,1.64,1.73,1.64,1.35-.91,1.72-1.64.54-1,1-1,.62.36,1,1,.82,1.64,1.72,1.64,1.35-.91,1.73-1.64.53-1,1-1,.62.36,1,1l.38.7c.1.17.48.8.81.78s.4-1,.07-1.77C25.06,73.17,24.78,72.54,24.78,72.54Z"/><g id="SonarQube_Icon" data-name="SonarQube Icon"><path id="Path_10444" data-name="Path 10444" class="cls-2" d="M26.24,29.05H24.61A24.1,24.1,0,0,0,.37,5.15V3.52A25.73,25.73,0,0,1,26.24,29.05Z"/><path id="Path_10445" data-name="Path 10445" class="cls-2" d="M27.37,20.26a24.64,24.64,0,0,0-17-17.58l.38-1.31A26,26,0,0,1,28.7,20Z"/><path id="Path_10446" data-name="Path 10446" class="cls-2" d="M28.63,12.5A25,25,0,0,0,18.92,1.67l.57-.93A26.19,26.19,0,0,1,29.63,12.05Z"/></g><path class="cls-3" d="M16.25,42.09h4v2.33h-4V49H13.77V44.42h-4V42.09h4V37.85h2.48Z"/></svg>
\ No newline at end of file diff --git a/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx b/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx index 471e610c44a..5390e76c6db 100644 --- a/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx +++ b/server/sonar-web/src/main/js/app/components/promotion-notification/PromotionNotification.tsx @@ -48,7 +48,7 @@ export function PromotionNotification(props: PromotionNotificationProps) { return ( <div className="toaster display-flex-center big-padded-left big-padded-right"> <div className="toaster-icon spacer-right"> - <img alt="SonarQube + SonarLint" src={`${getBaseUrl()}/images/sq-sl.png`} /> + <img alt="SonarQube + SonarLint" height={80} src={`${getBaseUrl()}/images/sq-sl.svg`} /> </div> <div className="toaster-content flex-1 padded-left padded-right big-padded-top big-padded-bottom"> <span className="toaster-title text-bold medium"> diff --git a/server/sonar-web/src/main/js/app/components/promotion-notification/__tests__/__snapshots__/PromotionNotification-test.tsx.snap b/server/sonar-web/src/main/js/app/components/promotion-notification/__tests__/__snapshots__/PromotionNotification-test.tsx.snap index d2daa0ec162..3463c59ede4 100644 --- a/server/sonar-web/src/main/js/app/components/promotion-notification/__tests__/__snapshots__/PromotionNotification-test.tsx.snap +++ b/server/sonar-web/src/main/js/app/components/promotion-notification/__tests__/__snapshots__/PromotionNotification-test.tsx.snap @@ -13,7 +13,8 @@ exports[`should render correctly: loggedIn 1`] = ` > <img alt="SonarQube + SonarLint" - src="/images/sq-sl.png" + height={80} + src="/images/sq-sl.svg" /> </div> <div |