142 lines
3.8 KiB
PHP
Executable File
142 lines
3.8 KiB
PHP
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
<title><?= isset($page_name) ? $page_name : 'NHance'; ?></title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta content="" name="description" />
|
|
<meta content="NHANCE" name="NHANCE" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
<!-- App favicon -->
|
|
<link rel="shortcut icon" href="<?= base_url()."public"; ?>/assets/images/Nhance_Favi.svg">
|
|
|
|
|
|
<style>
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: 'Poppins', sans-serif;
|
|
color: #103245;
|
|
background-color: #ffffff;
|
|
background-image: radial-gradient(circle at 0 0, rgba(87, 233, 255, 0.16) 0, rgba(87, 233, 255, 0.16) 180px, transparent 180px), radial-gradient(circle at 100% 100%, rgba(87, 233, 255, 0.16) 0, rgba(87, 233, 255, 0.16) 220px, transparent 220px);
|
|
padding: 24px;
|
|
}
|
|
|
|
.error-wrapper {
|
|
width: 100%;
|
|
max-width: 900px;
|
|
text-align: center;
|
|
}
|
|
|
|
.error-illustration-frame {
|
|
display: inline-block;
|
|
max-width: 100%;
|
|
line-height: 0;
|
|
margin: 0 auto 24px auto;
|
|
}
|
|
|
|
.error-image {
|
|
display: block;
|
|
width: 446px;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 52vh;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.error-title {
|
|
font-size: clamp(34px, 3.8vw, 54px);
|
|
line-height: 1.2;
|
|
letter-spacing: 0.02em;
|
|
margin-bottom: 10px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: #0f2f44;
|
|
}
|
|
|
|
.error-subtitle {
|
|
font-size: clamp(15px, 1.4vw, 32px);
|
|
color: #415b69;
|
|
margin-bottom: 24px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.go-back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 142px;
|
|
height: 48px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: #00a9c5;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: transform 0.2s ease, background-color 0.2s ease;
|
|
}
|
|
|
|
.go-back-btn:hover {
|
|
background: #008ea6;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.go-back-btn:focus-visible {
|
|
outline: 3px solid rgba(0, 169, 197, 0.35);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
@media screen and (max-width: 640px) {
|
|
body {
|
|
padding: 20px;
|
|
background-image: radial-gradient(circle at 0 0, rgba(87, 233, 255, 0.12) 0, rgba(87, 233, 255, 0.12) 120px, transparent 120px), radial-gradient(circle at 100% 100%, rgba(87, 233, 255, 0.12) 0, rgba(87, 233, 255, 0.12) 140px, transparent 140px);
|
|
}
|
|
|
|
.error-illustration-frame {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.error-subtitle {
|
|
margin-bottom: 24px;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
<main class="error-wrapper">
|
|
<div class="error-illustration-frame">
|
|
<img class="error-image"
|
|
src="<?= base_url()."public"; ?>/assets/images/errors/403_illustration.png"
|
|
width="446"
|
|
height="415"
|
|
decoding="async"
|
|
fetchpriority="high"
|
|
alt="403 access forbidden">
|
|
</div>
|
|
<h1 class="error-title">ACCESS DENIED</h1>
|
|
<p class="error-subtitle">
|
|
<?= isset($message) && !empty($message) ? $message : "You don't have permission to access this page." ?>
|
|
</p>
|
|
<a class="go-back-btn" href="javascript:history.back()">Go Back</a>
|
|
</main>
|
|
</body>
|
|
|
|
</html>
|