Skip to content

Commit eaf7307

Browse files
mathur07Meer Sawood
andauthored
chore: Add maintenance page (#208)
Co-authored-by: Meer Sawood <msawood@redhat.com>
1 parent 36d8b9e commit eaf7307

4 files changed

Lines changed: 8 additions & 12 deletions

File tree

src/app/app.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<router-outlet>
2-
<app-banner *ngIf="label && version=='v1'"></app-banner>
3-
<stack-details *ngIf="label && version=='v2'" [stack]="stackUrl && stackUrl !== '' && label && stackUrl"
4-
[gatewayConfig]="gateway && gateway" [uuid]="uuid && uuid" style="text-align: left;"></stack-details>
2+
<app-banner *ngIf="label"></app-banner>
3+
<!-- <stack-details *ngIf="label && version=='v2'" [stack]="stackUrl && stackUrl !== '' && label && stackUrl"
4+
[gatewayConfig]="gateway && gateway" [uuid]="uuid && uuid" style="text-align: left;"></stack-details> -->
55
</router-outlet>

src/app/banner/banner.component.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33

44
<div class="box text">
55
<div class="heading">
6-
Update Your Dependency Analytics Extension!
6+
Sorry, we are down for scheduled maintenance.
77
</div>
88
<div class="content">
9-
<div>There is a updated version of Dependency Analytics Extension with new features</div>
10-
<div>Click <u><a href="https://marketplace.visualstudio.com/items?itemName=redhat.fabric8-analytics" target="_blank" title="cmd/ctrl + click">here</a></u> to update</div>
9+
<div>CRDA is upgrading its system. We will be back soon.</div>
1110
</div>
1211
</div>

src/app/banner/banner.component.less

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.bg {
2-
background-image: url('../../assets/img/bg.png');
2+
background-image: url('../../assets/img/rh-bg.jpg');
33
filter: blur(8px);
44
-webkit-filter: blur(8px);
55
height: 850px;
@@ -21,20 +21,17 @@
2121
left: 50%;
2222
transform: translate(-50%, -50%);
2323
z-index: 2;
24-
width: 60%;
24+
width: 40%;
2525
padding: 20px;
2626
text-align: center;
27-
&:hover {
28-
box-shadow: 0 16px 24px 0 rgba(0, 0, 0, .2);
29-
}
3027
}
3128

3229
.text {
3330
font-family: Verdana, Geneva, Tahoma, sans-serif;
3431
.heading {
3532
font-size: 2em;
3633
margin: .5em;
37-
color: black;
34+
color: rgb(255, 255, 255);
3835
}
3936
.content {
4037
font-size: 1.2em;

src/assets/img/rh-bg.jpg

97.9 KB
Loading

0 commit comments

Comments
 (0)