pages updated - dynamic theme
This commit is contained in:
@@ -7,33 +7,33 @@
|
||||
<div class="surface-card flex justify-content-center h-full w-full m-0 py-7 px-4" style="border-radius:53px;">
|
||||
<div class="grid flex-column align-items-center">
|
||||
<span class="text-blue-500 font-bold text-3xl">404</span>
|
||||
<h1 class="text-gray-900 font-bold text-3xl lg:text-5xl mb-2">Looks like you are lost</h1>
|
||||
<span class="text-gray-600">Requested resource is not available.</span>
|
||||
<h1 class="font-bold text-3xl lg:text-5xl mb-2" [ngClass]="config.dark ? 'text-900' : 'text-gray-900'">Looks like you are lost</h1>
|
||||
<span [ngClass]="config.dark ? 'text-600' : 'text-gray-600'">Requested resource is not available.</span>
|
||||
<div class="col-12 flex align-items-center py-5 mt-6 border-300 border-bottom-1">
|
||||
<div class="flex justify-content-center align-items-center bg-cyan-400 border-round" style="height:3.5rem; width:3.5rem;">
|
||||
<i class="pi pi-fw pi-table text-50 text-2xl"></i>
|
||||
<i class="pi pi-fw pi-table text-2xl" [ngClass]="config.dark ? 'text-900' : 'text-50'"></i>
|
||||
</div>
|
||||
<div class="ml-4">
|
||||
<p class="text-gray-900 lg:text-xl font-medium mb-0">Frequently Asked Questions</p>
|
||||
<span class="text-gray-600 lg:text-xl">Ultricies mi quis hendrerit dolor.</span>
|
||||
<p class="lg:text-xl font-medium mb-0" [ngClass]="config.dark ? 'text-900' : 'text-gray-900'">Frequently Asked Questions</p>
|
||||
<span class="lg:text-xl" [ngClass]="config.dark ? 'text-600' : 'text-gray-600'">Ultricies mi quis hendrerit dolor.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 flex align-items-center py-5 border-300 border-bottom-1">
|
||||
<div class="flex justify-content-center align-items-center bg-orange-400 border-round" style="height:3.5rem; width:3.5rem;">
|
||||
<i class="pi pi-fw pi-question-circle text-50 text-2xl"></i>
|
||||
<i class="pi pi-fw pi-question-circle text-2xl" [ngClass]="config.dark ? 'text-900' : 'text-50'"></i>
|
||||
</div>
|
||||
<div class="ml-4">
|
||||
<p class="text-gray-900 lg:text-xl font-medium mb-0">Solution Center</p>
|
||||
<span class="text-gray-600 lg:text-xl">Phasellus faucibus scelerisque eleifend.</span>
|
||||
<p class="lg:text-xl font-medium mb-0" [ngClass]="config.dark ? 'text-900' : 'text-gray-900'">Solution Center</p>
|
||||
<span class="lg:text-xl" [ngClass]="config.dark ? 'text-600' : 'text-gray-600'">Phasellus faucibus scelerisque eleifend.</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 flex align-items-center py-5 border-300 border-bottom-1">
|
||||
<div class="flex justify-content-center align-items-center bg-indigo-400 border-round" style="height:3.5rem; width:3.5rem;">
|
||||
<i class="pi pi-fw pi-unlock text-50 text-2xl"></i>
|
||||
<i class="pi pi-fw pi-unlock text-2xl" [ngClass]="config.dark ? 'text-900' : 'text-50'"></i>
|
||||
</div>
|
||||
<div class="ml-4">
|
||||
<p class="text-gray-900 lg:text-xl font-medium mb-0">Permission Manager</p>
|
||||
<span class="text-gray-600 lg:text-xl">Accumsan in nisl nisi scelerisque</span>
|
||||
<p class="lg:text-xl font-medium mb-0" [ngClass]="config.dark ? 'text-900' : 'text-gray-900'">Permission Manager</p>
|
||||
<span class="lg:text-xl" [ngClass]="config.dark ? 'text-600' : 'text-gray-600'">Accumsan in nisl nisi scelerisque</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 mt-5 text-center">
|
||||
|
||||
@@ -1,7 +1,29 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, OnInit, OnDestroy } from '@angular/core';
|
||||
import { ConfigService } from '../../service/app.config.service';
|
||||
import { AppConfig } from '../../api/appconfig';
|
||||
import { Subscription } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
selector: 'app-notfound',
|
||||
templateUrl: './notfound.component.html',
|
||||
})
|
||||
export class NotfoundComponent { }
|
||||
export class NotfoundComponent implements OnInit, OnDestroy {
|
||||
|
||||
config: AppConfig;
|
||||
subscription: Subscription;
|
||||
|
||||
constructor(public configService: ConfigService){ }
|
||||
|
||||
ngOnInit(): void {
|
||||
this.config = this.configService.config;
|
||||
this.subscription = this.configService.configUpdate$.subscribe(config => {
|
||||
this.config = config;
|
||||
});
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
if(this.subscription){
|
||||
this.subscription.unsubscribe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user