
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
.right-links {
    display: flex;
    align-items: center; /* Center-align items vertically */
    gap: 10px; /* Space between elements */
}
    .user-container {
    display: flex;
    align-items: center; /* Center-align items vertically */
    gap: 5px; /* Space between profile image, username, and logout */
}

.profile-image {
    width: 30px;     
    height: 30px; 
    border-radius: 50%;
    margin-top: -10px;
     object-fit: contain;  
    background-color: #f2f2f2;
    display: block;
}

</style>
    </head>
    <body>
   

    <div class="toolbar-container">
        <header>
            <div class="left-links">
                <p class="small-text">Avez-vous des questions?</p>
                <span class="icon">&#128222;</span>
                <a href="tel:+442034750264">+442034750264</a>
                <span class="icon">&#9993;</span>
                <a href="mailto:info@edtechplus.com">info@edtechplus.com</a>
            </div>
            <div class="right-links">
            <?php if(session('logged_in')): ?>
    <!-- User is logged in -->
    <div class="user-container">
            <img src="<?php echo e(asset(Auth::user()->ProfilePicture)); ?>" alt="User Profile Picture" class="profile-image">
            <a href="<?php echo e(route('profile')); ?>"><span><?php echo e(Auth::user()->Username); ?></span></a>
            <a href="<?php echo e(route('logout')); ?>">Déconnexion</a>
        </div>
<?php else: ?>
    <!-- User is NOT logged in -->
    <a href="<?php echo e(route('register')); ?>">S'inscrire</a>
    <a href="<?php echo e(route('login')); ?>">Connexion</a>
<?php endif; ?>

<a href="https://wa.me/447389775445" target="_blank" class="whatsapp-icon">
    <i class="fab fa-whatsapp"></i>
</a>

            </div>
        </header>
    </div>

    <div class="navbar" id="navbar">
       <div class="logo">
       <img src="<?php echo e(asset('images/Edtech-logo-white-01-768x151-1.png')); ?>" alt="Logo" id="navbar-logo">
       </div>

        <div class="right-links">


            <!-- <a href="<?php echo e(route('courses')); ?>" class="nav-link">COURS</a>
            <a href="<?php echo e(route('ownafranchise')); ?>" class="nav-link">POSSEDER UNE FRANCHISE</a>
            <a href="<?php echo e(route('homefr')); ?>" id="active" class="nav-link active">HOME</a>
            <a href="<?php echo e(route('contact')); ?>" class="nav-link">CONTACT</a> -->


            <a href="<?php echo e(route('courses')); ?>">COURS</a>
            <a href="<?php echo e(route('ownafranchise')); ?>">POSSEDER UNE FRANCHISE</a>
            <a href="<?php echo e(route('homefr')); ?>">HOME</a>
            <a href="<?php echo e(route('contact')); ?>">CONTACT</a>


<div class="dropdown">
        <button class="dropbtn">
            <span class="selected-icon">
            <img src="<?php echo e(asset('images/france.png')); ?>" alt="French" class="flag">
            </span>
            <span class="selected-language"><div class="selected-text">FRANCAIS</div></span>
            <div class="dropdown-icon"><i class="fa fa-caret-down"></i></div>
        </button>
        <ul class="dropdown-content">
            <li><a href="<?php echo e(route('homear')); ?>" class="flag">
            <img src="<?php echo e(asset('images/lebanon.jpg')); ?>" alt="Arabic" class="flag">
            <span class="selected-language">ARABIC</span></a></li>
            <li><a href="<?php echo e(route('home')); ?>" class="flag">
            <img src="<?php echo e(asset('images/uk.png')); ?>" alt="English" class="flag"> 

<span class="selected-language">ENGLISH</span></a></li>
            <li><a href="<?php echo e(route('homefr')); ?>" class="flag">
            <img src="<?php echo e(asset('images/france.png')); ?>" alt="French" class="flag">
            <span class="selected-language">FRANCAIS</span></a></li>
        </ul>
    </div>
            <span class="search-icon">&#128269;</span>
        </div>
    </div>


    </body>
    </html><?php /**PATH /home1/edtechp4/public_html/edtechplusclub12102023/EdTechPlus/resources/views/HeaderFR.blade.php ENDPATH**/ ?>