Skip to content

Commit bee5f88

Browse files
authored
fix(apps.public.cloud.components.beta.warning): set the right logo (#445)
ref: MANAGER-2590
1 parent 019ef82 commit bee5f88

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed

packages/manager/apps/public-cloud/src/components/beta-warning/beta-warning.controller.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import illustration from './beta-warning.png';
2+
import logo from './logo-ovh.svg';
23

34
const LOCALSTORAGE_KEY = 'OVH_MANAGER_PUBLIC_CLOUD_HIDE_BETA_WARNING';
45

@@ -8,6 +9,7 @@ export default class {
89
constructor() {
910
this.checked = false;
1011
this.illustration = illustration;
12+
this.logo = logo;
1113
this.isHidden = localStorage.getItem(LOCALSTORAGE_KEY) || false;
1214
}
1315

packages/manager/apps/public-cloud/src/components/beta-warning/beta-warning.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<div class="p-4" data-ng-if="!$ctrl.isHidden">
2-
<h1 class="d-flex logo">
3-
<i class="oui-icon oui-icon-ovh" style="font-size: 5rem;"></i>
4-
<span class="ml-3 my-auto">OVH</span>
5-
</h1>
2+
<img class="logo"
3+
alt=""
4+
data-ng-src="{{:: $ctrl.logo }}">
5+
66
<div class="container-fluid">
77
<div class="row d-flex justify-content-center">
88
<div class="col-xs-10 col-md-6 col-lg-5">

packages/manager/apps/public-cloud/src/components/beta-warning/beta-warning.less

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ public-cloud-beta-warning { /* stylelint-disable-line */
1212
z-index: 9998;
1313

1414
.logo {
15-
&,
16-
.oui-icon {
17-
color: @primary-color;
18-
}
15+
height: 46px;
1916
}
2017

2118
&.ng-leave {
Lines changed: 25 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)