Skip to content

Commit

Permalink
maintenance page make-up
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Sep 4, 2021
1 parent 74bd505 commit 91a24e7
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
<div class="raw-landing-raw-content-page">
<div class="hero">
<div class="hero maintenance-content">
<div class="brand-logo-wrapper hero-content">
<div class="bounce-stage">
<img [src]="brand.brandLogo" alt="logo" class="bounce brand-logo" height="100"/>
<div>
<img [src]="brand.brandLogoBroken" alt="logo" class="brand-logo" height="150"/>
</div>
<h2>Under maintenance 🚧</h2>
</div>
<h6>Please check again later</h6>
<div class="section-submit">
<app-button1 (click)="router.navigate(['/'])" [text]="'HOME'"></app-button1>
<h1>Under maintenance</h1>
</div>
<h3>Please check again later</h3>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/* Intentionally blank */
.maintenance-content h3{
color: var(--brand-color);
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ThemeService } from '../../../service/theme/theme.service';
export class MaintenanceComponent {

brand = {
brandLogo: '',
brandLogoBroken: '',
};

constructor(
Expand Down
4 changes: 3 additions & 1 deletion src/app/service/theme/theme.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export class ThemeService {
private sideNavClosedSubject: BehaviorSubject<string>;

public brand = {
brandLogo: ''
brandLogo: '',
brandLogoBroken: ''
};

private maxAspectRatioMedia;
Expand Down Expand Up @@ -73,6 +74,7 @@ export class ThemeService {
this.sideNavClosedSubject = new BehaviorSubject<string>( sideNavClosedStorageItem );
this.sideNavClosed = this.sideNavClosedSubject.asObservable();
this.brand.brandLogo = './assets/logo/brand-logo.png';
this.brand.brandLogoBroken = './assets/logo/brand-logo-broken.png';

if ( version ) {
this.appVersion = version;
Expand Down
Binary file added src/assets/logo/brand-logo-broken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions src/styles/other/animation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@
}
}

.bounce-stage {
border-bottom: 3px solid var(--lighter);
display: flex;
justify-content: center;
width: 20%;
}

.bounce {
animation-duration: 2s;
animation-iteration-count: infinite;
Expand Down
28 changes: 1 addition & 27 deletions src/styles/other/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@
justify-content: center;
}

.hero .quote {
margin-top: 4em;
padding: 0 10%;
}

.hero .author {
color: var(--brand-color);
}

.layers {
width: 100%;
overflow: hidden;
Expand Down Expand Up @@ -71,16 +62,7 @@
}

.hero .brand-logo {
height: 75px;
}

.hero .quote {
margin-top: 2.5em;
font-size: 1em;
}

.hero .author {
font-size: 0.7em;
height: 100px;
}

.landing-title {
Expand All @@ -106,14 +88,6 @@
}

@media only screen and (min-width: 1000px) {
.hero .quote {
font-size: 0.9em;
}

.hero .author {
font-size: 0.8em;
}

.landing-title {
padding-top: 125px;
padding-bottom: 90px;
Expand Down

0 comments on commit 91a24e7

Please sign in to comment.