124 lines
5.0 KiB
PHP
124 lines
5.0 KiB
PHP
<?php
|
|
// This is the main entry point. For this step, it will serve as the landing page
|
|
// and also the template for the navigation bar included in other pages.
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>EventManager - Your All-in-One Event Solution</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<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=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
<style>
|
|
/* Additional styles for the hero section */
|
|
.hero {
|
|
background: linear-gradient(45deg, rgba(74, 144, 226, 0.9), rgba(80, 227, 194, 0.9)), url('https://picsum.photos/seed/hero-main/1600/900') no-repeat center center;
|
|
background-size: cover;
|
|
color: white;
|
|
padding: 8rem 0;
|
|
text-align: center;
|
|
}
|
|
.hero h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
color: white;
|
|
}
|
|
.hero p {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
.hero .btn-primary {
|
|
background-color: #50E3C2;
|
|
border-color: #50E3C2;
|
|
font-weight: 600;
|
|
padding: 0.75rem 2rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
.hero .btn-primary:hover {
|
|
background-color: #45c4a8;
|
|
border-color: #45c4a8;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-white sticky-top">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="/">EventManager</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="/">Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="venues.php">Venues</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="#">Vendors</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="#">Contact</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<?php if (basename($_SERVER['PHP_SELF']) == 'index.php'): ?>
|
|
<header class="hero">
|
|
<div class="container">
|
|
<h1>Effortless Event Management</h1>
|
|
<p>Your all-in-one solution for planning, organizing, and executing flawless events.</p>
|
|
<a href="venues.php" class="btn btn-primary btn-lg">Explore Venues</a>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container mt-5">
|
|
<section class="text-center">
|
|
<h2>Core Features</h2>
|
|
<p class="lead text-muted">Everything you need, all in one place.</p>
|
|
<div class="row mt-4">
|
|
<div class="col-md-3">
|
|
<i data-feather="map-pin" width="48" height="48" class="text-primary mb-3"></i>
|
|
<h4>Venues</h4>
|
|
<p>Manage all your event spaces.</p>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<i data-feather="users" width="48" height="48" class="text-primary mb-3"></i>
|
|
<h4>Vendors</h4>
|
|
<p>Organize caterers, decorators, etc.</p>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<i data-feather="calendar" width="48" height="48" class="text-primary mb-3"></i>
|
|
<h4>Schedules</h4>
|
|
<p>Plan your event minute-by-minute.</p>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<i data-feather="dollar-sign" width="48" height="48" class="text-primary mb-3"></i>
|
|
<h4>Budgets</h4>
|
|
<p>Keep track of all your finances.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="footer">
|
|
<p>© <?php echo date("Y"); ?> EventManager. All Rights Reserved.</p>
|
|
</footer>
|
|
<?php endif; ?>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="https://unpkg.com/feather-icons"></script>
|
|
<script>
|
|
feather.replace()
|
|
</script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|