<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <title>Pondok Pesantren Nurul Iman Al Hasanah</title>
    <link rel="stylesheet" href="assets/style.css">
</head>
<body>

<!-- NAVBAR -->
<nav class="navbar">
    <div class="logo">🕌 Nurul Iman</div>
    <ul class="menu">
        <li><a href="index.php">Beranda</a></li>
        <li><a href="profil.php">Profil</a></li>
        <li><a href="kegiatan.php">Kegiatan</a></li>
        <li><a href="berita.php">Berita</a></li>
        <li><a href="login.php" class="btn-login">Login</a></li>
    </ul>
</nav>

<!-- HERO -->
<section class="hero">
    <div class="hero-content">
        <h1>Selamat Datang</h1>
        <p>Sistem Informasi Pondok Pesantren Nurul Iman Al Hasanah</p>
        <a href="login.php" class="btn-masuk">Masuk Sistem</a>
    </div>
</section>

</body>
</html>

<?php
include "koneksi.php";
$data = mysqli_query($conn, "SELECT * FROM kegiatan ORDER BY tanggal DESC");
?>
