<?php

    if(ENVIRONNEMENT != "PROD"){
        $navInfos = [
            "color" => "#0a71af",
            "title" => '<small class="rounded-2" style="padding:4px 4px 1px 4px; color:white; background-color:orange; margin-right:2px;"> ' . ENVIRONNEMENT . '</small> CSE Invent : CMS'
        ];
    } else {
        $navInfos = [
            "color" => "#0a71af",
            "title" => "CSE Invent : CMS"
        ];
    }
    
?>
<header class="navbar sticky-top navbar-expand-sm navbar-dark flex-md-nowrap p-0 shadow" style="background-color:<?php echo $navInfos["color"] ?>;">
    <div class="container-fluid">
        <?php core::menu($navInfos) ?>
    </div>
</header>    
