Initial commit

This commit is contained in:
Ronald Huynen
2026-03-23 21:37:59 +01:00
commit 2547717edb
2193 changed files with 972171 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Unauthorized') }}
</h3>
<div class="text-sm text-theme-secondary">
401
</div>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,20 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Payment required') }}
</h3>
<div class="text-sm text-theme-secondary">
402
</div>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-theme="{{ config('themes.active') }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ __('Unauthorized Access') }} - 403</title>
@vite(['resources/css/app.css'])
</head>
<body class="bg-gray-50 dark:bg-gray-900">
<div class="min-h-screen flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose max-w-md">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Unauthorized Access') }}
</h3>
<p class="text-sm text-theme-secondary mb-2">
{{ __('You do not have permission to access this resource. This may be due to a session mismatch or invalid authentication state.') }}
</p>
<div class="text-sm text-theme-secondary mb-8">
403
</div>
</div>
<div class="w-full max-w-xs">
<form method="POST" action="{{ route('logout') }}" class="w-full">
@csrf
<button type="submit" class="w-full inline-flex items-center justify-center px-4 py-2 bg-gray-800 dark:bg-gray-700 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-gray-700 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 transition ease-in-out duration-150">
{{ __('Logout and Reset Session') }}
</button>
</form>
</div>
@if(config('app.debug'))
<div class="mt-8 p-4 bg-gray-100 dark:bg-gray-800 rounded-lg text-left max-w-2xl">
<p class="text-xs text-gray-500 dark:text-gray-400 font-mono break-all">
{{ $message ?? 'No additional details available.' }}
</p>
</div>
@endif
</div>
</body>
</html>

View File

@@ -0,0 +1,20 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __($exception->getMessage() ?: 'Forbidden') }}
</h3>
<div class="text-sm text-theme-secondary">
403
</div>
</div>
<x-jetstream.button onclick="window.location.href='{{ Auth::check() ? route('main') : route('welcome') }}'" class="mt-12">
{{ Auth::check() ? __('Main page') : __('Welcome') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,26 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Page not found') }}
</h3>
<div class="text-sm text-theme-secondary">
404
</div>
</div>
<div class="mt-12">
<a href="{{ route('static-report-error') }}" target="_blank" rel="noopener noreferrer" class="text-theme-brand underline">
{{ __('Report website bugs and issues here') }}
</a>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,20 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Page Expired') }}
</h3>
<div class="text-sm text-theme-secondary">
419
</div>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,20 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Too many requests') }}
</h3>
<div class="text-sm text-theme-secondary">
429
</div>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,26 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Server error') }}
</h3>
<div class="text-sm text-theme-secondary">
500
</div>
</div>
<div class="mt-12">
<a href="{{ route('static-report-error') }}" target="_blank" rel="noopener noreferrer" class="text-theme-brand underline">
{{ __('Report website bugs and issues here') }}
</a>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,26 @@
@php
$layout = Auth::check() ? 'app-layout' : 'guest-layout';
@endphp
<x-dynamic-component :component="$layout">
<div class="mt-48 mb-36 flex flex-col items-center justify-center px-4">
<div class="text-center leading-loose">
<h3 class="text-lg font-medium text-theme-primary mb-4">
{{ __('Service unavailable') }}
</h3>
<div class="text-sm text-theme-secondary">
503
</div>
</div>
<div class="mt-12">
<a href="{{ route('static-report-error') }}" target="_blank" rel="noopener noreferrer" class="text-theme-brand underline">
{{ __('Report website bugs and issues here') }}
</a>
</div>
<x-jetstream.button onclick="window.location.href='{{ route('main') }}'" class="mt-12">
{{ __('Main page') }}
</x-jetstream.button>
</div>
</x-dynamic-component>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title')</title>
<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-weight: 100;
height: 100vh;
margin: 0;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.content {
text-align: center;
}
.title {
font-size: 36px;
padding: 20px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title">
@yield('message')
</div>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
<div class="flex items-center justify-center p-8">
<div class="text-center">
<div class="text-red-500 text-6xl mb-4">
<i class="fas fa-exclamation-triangle"></i>
</div>
<h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-2">
{{ __('Unauthorized Access') }}
</h2>
<p class="text-gray-600 dark:text-gray-400">
{{ __('You do not have permission to access this content.') }}
</p>
</div>
</div>