gdc_cmod/app/Views/errors/unauthorized.php
mikael-zakaria 77f15bfc94 first commit
2025-11-11 09:14:25 +07:00

77 lines
2.1 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Unauthorized!</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
.error-page {
min-height: 100vh;
background: linear-gradient(45deg, #0d6efd 0%, #0dcaf0 100%);
}
.error-container {
max-width: 600px;
}
.error-code {
font-size: 12rem;
font-weight: 900;
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.5));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: pulse 2s infinite;
}
.error-message {
color: rgba(255, 255, 255, 0.9);
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
.btn-glass {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
transition: all 0.3s ease;
}
.btn-glass:hover {
background: rgba(255, 255, 255, 0.3);
color: white;
}
</style>
</head>
<body>
<div class="error-page d-flex align-items-center justify-content-center">
<div class="error-container text-center p-4">
<h1 class="error-code mb-0">401</h1>
<h2 class="display-6 error-message mb-3">Akses Ditolak✋</h2>
<p class="lead error-message mb-5">Anda tidak punya izin untuk mengakses halaman ini.</p>
<div class="d-flex justify-content-center gap-3">
<a href="/" class="btn btn-glass px-4 py-2">Kembali</a>
<!-- <a href="#" class="btn btn-glass px-4 py-2">Report Problem</a> -->
</div>
</div>
</div>
</body>
</html>