updated 403 page

This commit is contained in:
itzMiney committed 2025-04-05 22:12:11 +02:00
1 parent 55d1a87a59
commit 8642e0194d
6 files changed
+357 -63

No files matched your search

-2
View File
@@ -11,7 +11,6 @@ import {ServicesComponent} from './services/services.component';
import {TosComponent} from './tos/tos.component';
import {ImprintComponent} from './imprint/imprint.component';
import {ShortenerComponent} from './shortener/shortener.component';
import {ForbiddenComponent} from './forbidden/forbidden.component';
export const routes: Routes = [
{ path: '', component: AboutComponent },
@@ -26,6 +25,5 @@ export const routes: Routes = [
{ path: 'imprint', component: ImprintComponent },
{ path: 'blog/:slug', component: ArticlePageComponent },
{ path: 'shortener', component: ShortenerComponent },
{ path: '403', component: ForbiddenComponent },
{ path: '**', pathMatch: 'full', component: NotFoundComponent }
];
-43
View File
@@ -1,43 +0,0 @@
.height-container {
background: #bd3948;
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
text-align: center;
z-index: 10;
}
.error-message h1 {
font-size: 10rem;
margin: 0;
font-weight: 700;
color: white;
}
.error-message p {
font-size: 1.5rem;
margin: 20px 0;
font-weight: 400;
color: white;
}
button {
background-color: #ffffff;
color: #000000;
border: none;
padding: 10px 20px;
font-size: 1rem;
cursor: pointer;
border-radius: 25px;
transition: background-color 0.3s;
font-weight: 400;
}
button:hover {
background-color: #b88989;
}
button:active {
background-color: #952e2e;
}
@@ -1,7 +0,0 @@
<div class="height-container">
<div class="error-message">
<h1>403</h1>
<p>You shall not pass!</p>
<a href="/"><button id="reloadButton">Take me Home!</button></a>
</div>
</div>
-11
View File
@@ -1,11 +0,0 @@
import { Component } from '@angular/core';
@Component({
selector: 'app-forbidden',
imports: [],
templateUrl: './forbidden.component.html',
styleUrl: './forbidden.component.css'
})
export class ForbiddenComponent {
}