<nav class="uk-navbar-container">
        <div uk-navbar>
            <a href="index.php"><img src="<?php echo $path .$img["logos"][0]["logo"];?>" alt="Logo" class="logo uk-flex uk-flex-center uk-margin-large-left"></a>
            <div class="uk-navbar-right">
                <ul class="uk-navbar-nav uk-margin-xlarge-right">
                    <li class="uk-active uk-margin-small-right uk-visible@s">
                        <a href="index.php" class="">Inicio</a>
                        <div class="uk-navbar-dropdown">
                            <ul class="uk-nav uk-navbar-dropdown-nav">
                                <li class=""><a href="#">Sobre Nosotros</a></li>
                                <li><a href="#">Nuestros servicios</a></li>
                                <li><a href="#">Galeria</a></li>
                            </ul>
                        </div>
                    </li>
                    <li class="uk-margin-small-right  uk-visible@s"><a href="tienda.php">Comprar</a></li>
                    <li class="uk-margin-small-right  uk-visible@s"><a href="historial.php">Historial de compras</a></li>
                    <li class="uk-margin-small-right  uk-visible@s"><a href="contactos.php">Contactanos</a></li>
                    <?php 
                    if(isset($_SESSION['nombre'])) {
                        echo '<li class="uk-margin-small-right uk-flex uk-flex-middle uk-visible@s">' . $_SESSION["nombre"] . '</li>';
                    }
                    ?>

                    <li class="uk-visible@s"><a href="login.php"><span uk-icon="icon: sign-in; ratio: 1.2"></span></a></li>;
                    <a href="#" class="uk-button uk-button-default uk-margin-medium-right uk-margin-small-top uk-margin-small-bottom uk-hidden@s" type="button" uk-icon="icon:menu; ratio:1.4;" uk-toggle="target: #offcanvas-overlay"></a>
                </ul>

            </div>

        </div>
</nav>