add error page
This commit is contained in:
18
src/app/components/error/error.component.html
Normal file
18
src/app/components/error/error.component.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="grid flex-column surface-card align-items-center justify-content-center h-screen">
|
||||
<img src="assets/layout/images/logo-error.svg" alt="Sakai logo" class="mb-5" style="width:81px; height:60px;">
|
||||
<div class="col-11 md:col-6" style="border:none; border-radius:56px; padding:0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%);">
|
||||
<div class="surface-card h-full w-full m-0 py-7 px-4" style="border:none; border-radius:53px;">
|
||||
<div class="grid flex flex-column align-items-center justify-content-center">
|
||||
<div style="border-radius:50%; height:38px; width:38px;" class="flex justify-content-center align-items-center bg-pink-500">
|
||||
<i class="pi pi-fw pi-exclamation-circle" style="font-size:1.5rem; margin-left:2px; color:#ffffff"></i>
|
||||
</div>
|
||||
<h1 class="font-bold text-5xl text-gray-900 mb-2">Error Occured</h1>
|
||||
<span class="text-gray-600">Requested resource is not available.</span>
|
||||
<img src="assets/layout/images/asset-error.svg" alt="Error" class="mt-5" width="80%">
|
||||
<div class="col-12 mt-5 text-center">
|
||||
<i class="pi pi-fw pi-arrow-left text-blue-500 mr-2" style="vertical-align:center;"></i><a href="#" class="text-blue-500 pb-2" >Go to Dashboard</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
0
src/app/components/error/error.component.scss
Normal file
0
src/app/components/error/error.component.scss
Normal file
15
src/app/components/error/error.component.ts
Normal file
15
src/app/components/error/error.component.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-error',
|
||||
templateUrl: './error.component.html',
|
||||
styleUrls: ['./error.component.scss']
|
||||
})
|
||||
export class ErrorComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user