59 lines
2.0 KiB
PHP
59 lines
2.0 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Al Rahma Sunday School API Documentation</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
height: 100vh;
|
|
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background: linear-gradient(160deg, #15654f 0%, #0c3c2e 100%);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
}
|
|
.container {
|
|
text-align: center;
|
|
background: rgba(255,255,255,0.1);
|
|
padding: 3rem 4rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 0 20px rgba(0,0,0,0.25);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
h1 { margin-bottom: 0.5rem; font-size: 2rem; letter-spacing: 1px; }
|
|
p { margin-bottom: 2rem; font-size: 1rem; opacity: 0.9; }
|
|
.buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
|
|
a.button {
|
|
display: inline-block; padding: 0.8rem 1.6rem; background-color: #fff;
|
|
color: #15654f; text-decoration: none; border-radius: 6px; font-weight: 600;
|
|
transition: all 0.25s ease-in-out;
|
|
}
|
|
a.button:hover { background-color: #e8f6ef; transform: translateY(-2px); }
|
|
.divider { margin: 2rem auto 1rem; width: 60%; height: 1px; background: rgba(255,255,255,0.3); }
|
|
footer { margin-top: 2rem; font-size: 0.8rem; opacity: 0.7; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Al Rahma Sunday School API</h1>
|
|
<p>Welcome to the API documentation portal.<br>Select your preferred access type:</p>
|
|
|
|
<div class="buttons">
|
|
<a href="<?= base_url('docs/api') ?>" class="button">🔒 Secured API Docs</a>
|
|
<a href="<?= base_url('docs/api/public') ?>" class="button">🌍 Public Read-Only Docs</a>
|
|
</div>
|
|
|
|
<div class="divider"></div>
|
|
|
|
<div class="buttons">
|
|
<a href="<?= base_url('login') ?>" class="button">🔑 Admin Login</a>
|
|
</div>
|
|
|
|
<footer>© <?= date('Y') ?> Al Rahma Sunday School</footer>
|
|
</div>
|
|
</body>
|
|
</html>
|