<div class="sidebar">
    <div class="sidebar-brand">
        <h2>WTC <span>ADMIN</span></h2>
    </div>
    <ul>
        <li><a href="dashboard.php"><i class="fas fa-chart-pie"></i> Dashboard</a></li>
        <li><a href="artikel.php" class="<?= (basename($_SERVER['PHP_SELF']) == 'artikel.php') ? 'active' : ''; ?>"><i class="fas fa-file-alt"></i> Artikel</a></li>
        <li><a href="kontak.php" class="<?= (basename($_SERVER['PHP_SELF']) == 'kontak.php') ? 'active' : ''; ?>"><i class="fas fa-paper-plane"></i> Pesan</a></li>
        <li><a href="logout.php"><i class="fas fa-sign-out-alt"></i> Logout</a></li>
    </ul>
</div>