35804-vm/index.php
2025-11-17 18:36:39 +00:00

165 lines
8.9 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Haki Scheduling Master</title>
<meta name="description" content="The modern timetable solution for schools. Automated scheduling, easy administration, and teacher collaboration.">
<meta name="keywords" content="timetable app, school scheduling, class scheduler, teacher timetable, automated scheduling, subscription software, education technology, school administration, lesson planner, kenya schools, mpesa integration, Built with Flatlogic Generator">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Haki Scheduling Master">
<meta property="og:description" content="The modern timetable solution for schools. Automated scheduling, easy administration, and teacher collaboration.">
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? '', ENT_QUOTES, 'UTF-8'); ?>">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Haki Scheduling Master">
<meta property="twitter:description" content="The modern timetable solution for schools. Automated scheduling, easy administration, and teacher collaboration.">
<meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? '', ENT_QUOTES, 'UTF-8'); ?>">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<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;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-white sticky-top">
<div class="container">
<a class="navbar-brand fw-bold" href="#">Haki Scheduling Master</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" href="#features">Features</a></li>
<li class="nav-item"><a class="nav-link" href="#demo">Demo</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
<li class="nav-item"><a class="nav-link" href="login.php">Login</a></li>
<li class="nav-item ms-lg-2"><a class="btn btn-primary" href="register.php">Sign Up</a></li>
</ul>
</div>
</div>
</nav>
<header class="hero text-center">
<div class="container">
<h1 class="display-4">The Modern Timetable Solution for Schools</h1>
<p class="lead my-4">Automate scheduling, simplify administration, and empower your teachers. All in one place.</p>
<a href="register.php" class="btn btn-primary btn-lg">Get Started for Free</a>
</div>
</header>
<section id="features" class="section">
<div class="container text-center">
<h2 class="mb-5">Why Choose Us?</h2>
<div class="row">
<div class="col-md-4 mb-4">
<div class="card p-4 h-100">
<i class="bi bi-calendar-check feature-icon mb-3"></i>
<h4>Automated Scheduling</h4>
<p>Our intelligent engine generates conflict-free class and teacher timetables in minutes, not days.</p>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card p-4 h-100">
<i class="bi bi-person-badge feature-icon mb-3"></i>
<h4>Easy Administration</h4>
<p>Manage classes, subjects, teachers, and workloads from a simple, intuitive dashboard.</p>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card p-4 h-100">
<i class="bi bi-people feature-icon mb-3"></i>
<h4>Teacher Collaboration</h4>
<p>Allow teachers to view their schedules, manage workloads, and stay informed with in-app notifications.</p>
</div>
</div>
</div>
</div>
</section>
<section id="demo" class="section bg-white">
<div class="container text-center">
<h2 class="mb-4">See It in Action</h2>
<p class="lead mb-5">A full public demo and feature tour is coming soon.</p>
<div class="card p-5">
<i class="bi bi-camera-video" style="font-size: 4rem; color: #17A2B8;"></i>
<h4 class="mt-3">Demo Coming Soon</h4>
</div>
</div>
</section>
<section id="contact" class="section">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 text-center">
<h2 class="mb-4">Get in Touch</h2>
<p class="lead mb-5">Have questions? We'd love to hear from you. Fill out the form below and we'll get back to you shortly.</p>
<form action="contact.php" method="POST">
<div class="row">
<div class="col-md-6 mb-3">
<input type="text" class="form-control" name="name" placeholder="Your Name" required>
</div>
<div class="col-md-6 mb-3">
<input type="text" class="form-control" name="school" placeholder="School Name" required>
</div>
</div>
<div class="mb-3">
<input type="email" class="form-control" name="email" placeholder="Your Email Address" required>
</div>
<div class="mb-4">
<textarea class="form-control" name="message" rows="5" placeholder="Your Message" required></textarea>
</div>
<button type="submit" class="btn btn-primary btn-lg">Send Message</button>
</form>
</div>
</div>
</div>
</section>
<footer class="bg-white py-4 mt-auto">
<div class="container text-center">
<p class="text-muted mb-0">&copy; <?php echo date("Y"); ?> Haki Scheduling Master. All Rights Reserved.</p>
</div>
</footer>
<div class="toast-container">
<div id="notificationToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<strong class="me-auto">Notification</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const urlParams = new URLSearchParams(window.location.search);
const status = urlParams.get('status');
const toastEl = document.getElementById('notificationToast');
if (status && toastEl) {
const toast = new bootstrap.Toast(toastEl);
const toastBody = toastEl.querySelector('.toast-body');
if (status === 'success') {
toastBody.textContent = 'Thank you for your message! We will get back to you shortly.';
toastEl.classList.add('bg-success', 'text-white');
} else if (status === 'error') {
toastBody.textContent = 'There was an error sending your message. Please try again.';
toastEl.classList.add('bg-danger', 'text-white');
}
toast.show();
}
});
</script>
</body>
</html>