<!-- Top Bar Start -->
<div class="topbar">

        <!-- LOGO -->
        <div class="topbar-left">
            <a href="<?php echo e(url('/')); ?>" class="logo">
                <span>
                    <img style="border-radius: 8px;" src="<?php echo e(config('newscms.default_truck_logo')); ?>" class="responsive-image" alt="Truck Logo" width="160px" height="41">
                </span>
                <i>
                    <p style="font-size: 33px; color:white;"><b>VD</b></p>
                </i>
            </a>
        </div>

        <!-- Button mobile view to collapse sidebar menu -->
        <div class="navbar navbar-default" role="navigation">
            <div class="container-fluid">

                <!-- Navbar-left -->
                <ul class="nav navbar-left">
                    <li>
                        <button type="button" class="button-menu-mobile open-left waves-effect">
                            <i class="dripicons-menu"></i>
                        </button>
                    </li>
                </ul>
                
                <style>
                    .imgs {
                        display: none;
                    }

                    @media (max-width: 770px) {
                        .imgs {
                            display: block;
                        }    
                        .imgs img {
                            position: relative;
                            top: -1px; 
                            clip-path: inset(1px 0 0 0); 
                        }
                        
                    }
                </style>
                <div class="responsive-image imgs">
                    <img style="border-radius: 8px;" src="<?php echo e(config('newscms.default_truck_logo')); ?>" class="responsive-image" alt="Truck Logo" width="160px" height="41">
                </div>

                <!-- Right(Notification) -->
                <ul class="nav navbar-right list-inline">
                    <li class="dropdown user-box list-inline-item">
                        <a href="" class="dropdown-toggle waves-effect user-link" data-toggle="dropdown" aria-expanded="true">
                            <img src="<?php echo e(auth()->user()->getProfileImg() ?? config('newscms.default_profile_img_src')); ?>" alt="<?php echo e(__('Profilna slika')); ?>" class="rounded-circle user-img">
                        </a>

                        <ul class="dropdown-menu dropdown-menu-right arrow-dropdown-menu arrow-menu-right user-list notify-list">
                            <li><a href="<?php echo e(route('profile.edit')); ?>" class="dropdown-item"><?php echo app('translator')->get('Profil'); ?></a></li>
                            <li><a href="<?php echo e(route('profile.edit_password')); ?>" class="dropdown-item"><?php echo app('translator')->get('Izmena Lozinke'); ?></a></li>
                            <!-- li><a href="javascript:void(0)" class="dropdown-item"><span class="badge badge-pill badge-info float-right">4</span>Settings</a></li>
                            <li><a href="javascript:void(0)" class="dropdown-item">Lock screen</a></li -->
                            <li class="dropdown-divider"></li>
                            <li>
                                <a 
                                    class="dropdown-item"
                                    href="<?php echo e(route('logout')); ?>" 
                                    onclick="event.preventDefault(); document.getElementById('logout-form').submit();"
                                ><?php echo app('translator')->get('Odjavi se'); ?></a>
                                <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="post" style="display: none;">
                                    <?php echo csrf_field(); ?>
                                </form>
                            </li>
                        </ul>
                    </li>

                </ul> <!-- end navbar-right -->

            </div><!-- end container-fluid -->
        </div><!-- end navbar -->
    </div>
    <!-- Top Bar End -->

<?php /**PATH /home/drventar/vd-trans.com/fakture/resources/views/_layout/partials/_navbar.blade.php ENDPATH**/ ?>