<!-- <div class="sticky-top d-none d-md-block mb-2"> -->
<div class="sticky-top mb-2">
    <ul class="nav btbToolbar nav-underline bg-body justify-content-start flex-nowrap overflow-x-scroll" id="myTab">
        <a href="<?php echo URL_APP_ADMIN; ?>/?page=p" class="nav-link<?php if ( $page === 'p' ) : ?> active<?php endif; ?>" id="projectsLink" role="button">
            <span class="small">Projects</span>
        </a>

        <a href="<?php echo URL_APP_ADMIN; ?>/?page=c" class="text-nowrap nav-link<?php if ( $page === 'c' ) : ?> active<?php endif; ?>" id="clientsLink" role="button">
            <span class="small">Clients</span>
        </a>

        <?php if ( $user['superAdmin'] ) : ?>
            <a href="<?php echo URL_APP_ADMIN; ?>/?page=u" class="text-nowrap nav-link<?php if ( $page === 'u' ) : ?> active<?php endif; ?>" id="usersLink" role="button">
                <span class="small">Users</span>
            </a>
        <?php endif; ?>

        <?php if ( $user['superAdmin'] ) : ?>
            <a href="<?php echo URL_APP_ADMIN; ?>/?page=w" class="text-nowrap nav-link<?php if ( $page === 'w' ) : ?> active<?php endif; ?>" id="webhooksLink" role="button">
                <span class="small">Webhooks</span>
            </a>
        <?php endif; ?>

        <?php if ( $user['superAdmin'] ) : ?>
            <a href="<?php echo URL_APP_ADMIN; ?>/?page=pp" class="text-nowrap nav-link<?php if ( $page === 'pp' ) : ?> active<?php endif; ?>" id="publicProjectsLink" role="button">
                <span class="small">Public Projects</span>
            </a>
        <?php endif; ?>

        <?php if ( $user['id'] === 1 ) : ?>
            <a href="<?php echo URL_APP_ADMIN; ?>/?page=ai" class="text-nowrap nav-link<?php if ( $page === 'ai' ) : ?> active<?php endif; ?>" id="aiLink" role="button">
                <span class="small">AI Console</span>
            </a>
        <?php endif; ?>
    </ul> 
</div>