- Add complete Auth module with login, logout, lock screen functionality - Fix 401 error on error monitoring page by adding /error-monitoring/ to public patterns - Improve lock screen with proper form handling and unlock functionality - Add RoleModel and role management views - Add BaseModel for common model functionality - Update authentication system and middleware - Add troubleshooting documentation - Update assets and build tools
18 lines
780 B
PHP
18 lines
780 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
use App\Core\View;
|
|
|
|
View::render('layouts/main.php', [
|
|
'title' => 'Erro 404 - Página não encontrada',
|
|
'page_content' => function() {
|
|
// Simple, styled 404 message (Portuguese)
|
|
echo '<div class="row justify-content-center align-items-center" style="min-height:60vh;">';
|
|
echo '<div class="col-md-8 text-center">';
|
|
echo '<img src="' . View::asset('/assets/images/404-error.png') . '" alt="404" style="max-width:220px; margin-bottom:2rem;">';
|
|
echo '<h1 class="display-4 mb-3">Erro 404</h1>';
|
|
echo '<p class="lead mb-4">A página que procura não existe ou foi movida.</p>';
|
|
echo '<a href="/" class="btn btn-primary">Voltar à página inicial</a>';
|
|
echo '</div></div>';
|
|
}
|
|
]);
|