<header class="topbar">

    <div class="topbar-left">

        <button class="menu-toggle" id="menuToggle">

            <i class="fas fa-bars"></i>

        </button>

        <div class="welcome-text">

            <h2>

                Good Morning 👋

            </h2>

            <?php
$names = explode(" ", trim($_SESSION['fullname']));
$firstName = $names[0];
?>

<p>
    <?= htmlspecialchars($_SESSION['fullname']); ?>
</p>

        </div>

    </div>

    <div class="topbar-right">

        <button class="icon-btn">

            <i class="fas fa-bell"></i>

        </button>

        <div class="profile-box">

    <i class="fas fa-circle-user"></i>

</div>

    </div>

</header>