89 lines
3.0 KiB
PHP
89 lines
3.0 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
@ini_set('display_errors', '1');
|
|
@error_reporting(E_ALL);
|
|
@date_default_timezone_set('UTC');
|
|
|
|
$phpVersion = PHP_VERSION;
|
|
$now = date('Y-m-d H:i:s');
|
|
?>
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>New Style</title>
|
|
<?php
|
|
// Read project preview data from environment
|
|
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
|
|
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
|
?>
|
|
<?php if ($projectDescription): ?>
|
|
<!-- Meta description -->
|
|
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
|
|
<!-- Open Graph meta tags -->
|
|
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<!-- Twitter meta tags -->
|
|
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<?php endif; ?>
|
|
<?php if ($projectImageUrl): ?>
|
|
<!-- Open Graph image -->
|
|
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<!-- Twitter image -->
|
|
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<?php endif; ?>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--primary-color: #0050A0;
|
|
--secondary-color: #F2B705;
|
|
--bg-light: #F8F9FA;
|
|
}
|
|
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
background-color: var(--bg-light);
|
|
}
|
|
.hero {
|
|
background: linear-gradient(45deg, var(--primary-color), #007bff);
|
|
color: white;
|
|
padding: 80px 0;
|
|
text-align: center;
|
|
}
|
|
.hero h1 {
|
|
font-weight: 700;
|
|
}
|
|
.btn-admin {
|
|
background-color: var(--secondary-color);
|
|
border-color: var(--secondary-color);
|
|
color: var(--text-dark);
|
|
font-weight: 600;
|
|
}
|
|
.btn-admin:hover {
|
|
background-color: #d9a404;
|
|
border-color: #d9a404;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<div class="hero">
|
|
<div class="container">
|
|
<h1 class="display-4">Manajemen User & Domain</h1>
|
|
<p class="lead">Selamat datang di panel manajemen Anda. Klik tombol di bawah untuk masuk ke dashboard admin.</p>
|
|
<a href="/admin/" class="btn btn-admin btn-lg mt-3">Masuk ke Admin Panel</a>
|
|
</div>
|
|
</div>
|
|
<div class="container text-center py-5">
|
|
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
|
</div>
|
|
</main>
|
|
<footer class="text-center text-muted py-3">
|
|
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
|
</footer>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html>
|