Files
psp_panel/src/views/pages/auth/error.ts
T

33 lines
1.9 KiB
TypeScript
Raw Normal View History

2024-12-30 12:42:25 +03:00
import { Component } from '@angular/core';
import {ButtonModule} from 'primeng/button';
import {RippleModule} from 'primeng/ripple';
import {RouterModule} from '@angular/router';
2025-01-07 12:16:16 +03:00
import { FloatingConfigurator } from '../../../components/floatingconfigurator';
2024-12-30 12:42:25 +03:00
@Component({
2025-01-03 15:48:50 +03:00
imports: [ButtonModule, RippleModule, RouterModule, FloatingConfigurator, ButtonModule],
2024-12-30 12:42:25 +03:00
standalone: true,
template: `
2025-01-03 15:48:50 +03:00
<floating-configurator />
<div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
<div class="flex flex-col items-center justify-center">
<div style="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="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
<div class="gap-4 flex flex-col items-center">
<div class="flex justify-center items-center border-2 border-pink-500 rounded-full" style="height: 3.2rem; width: 3.2rem">
<i class="pi pi-fw pi-exclamation-circle !text-2xl text-pink-500"></i>
</div>
<h1 class="text-surface-900 dark:text-surface-0 font-bold text-5xl mb-2">Error Occured</h1>
<span class="text-muted-color mb-8">Requested resource is not available.</span>
<img src="/demo/images/error/asset-error.svg" alt="Error" class="mb-8" width="80%" />
<div class="col-span-12 mt-8 text-center">
<p-button label="Go to Dashboard" routerLink="/" severity="danger" />
</div>
</div>
</div>
</div>
2024-12-30 12:42:25 +03:00
</div>
2025-01-03 15:48:50 +03:00
</div>`
2024-12-30 12:42:25 +03:00
})
export class Error { }