92 lines
4.0 KiB
PHP
92 lines
4.0 KiB
PHP
<?php
|
|
// Read project preview data from environment
|
|
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'An Organ Donation Management System to connect donors, hospitals, and recipients.';
|
|
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Organ Donation Management System</title>
|
|
<meta name="description" content="<?= htmlspecialchars($projectDescription) ?>">
|
|
<?php if ($projectImageUrl): ?>
|
|
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<?php endif; ?>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="index.php">OrganDonation</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ms-auto">
|
|
<li class="nav-item">
|
|
<a class="nav-link active" aria-current="page" href="index.php">Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="donor_register.php">Become a Donor</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="hospital_register.php">Hospital Registration</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="hospital_login.php">Hospital Login</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="admin_login.php">Admin Login</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<header class="hero text-center">
|
|
<div class="container">
|
|
<h1 class="display-4">Give the Gift of Life</h1>
|
|
<p class="lead">Join our community of organ donors and help save lives. Your decision can make a world of difference.</p>
|
|
<a href="donor_register.php" class="btn btn-primary btn-lg">Register as a Donor Today</a>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container my-5">
|
|
<section class="text-center">
|
|
<h2 class="mb-5">How It Works</h2>
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<i class="bi bi-person-plus-fill fs-1 text-primary"></i>
|
|
<h3 class="mt-3">Register</h3>
|
|
<p>Quickly sign up as a donor through our simple registration form.</p>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<i class="bi bi-patch-check-fill fs-1 text-primary"></i>
|
|
<h3 class="mt-3">Verification</h3>
|
|
<p>Our team verifies your information to ensure validity and eligibility.</p>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<i class="bi bi-heart-pulse-fill fs-1 text-primary"></i>
|
|
<h3 class="mt-3">Save a Life</h3>
|
|
<p>Once matched, you will be contacted to begin the life-saving process.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="footer text-center">
|
|
<div class="container">
|
|
<p class="mb-0">© <?php echo date("Y"); ?> Organ Donation Management System. All Rights Reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|