<nav class="navbar header-navbar pcoded-header">
    <div class="navbar-wrapper">
        <style>
            #blink {
                animation: blinker 10s linear infinite;
                color: #404E67;
            }
            @keyframes blinker {
                0% { opacity: 1; color: rgb(76, 100, 112);}
                50% { opacity: 0; color: rgb(9, 28, 39); }
                100% { opacity: 1; color: #404E67}
            }
        </style>
        <div class="navbar-logo">
            <a class="mobile-menu text-danger" id="mobile-collapse" href="#!">
                <i class="fab fa-cloudsmith" style="color: rgb(199, 195, 195);"></i>
            </a>
            <a href="<?php echo e(route('dashboard')); ?>">
                <img class="img-fluid" src="<?php echo e(asset('assets/images/logo.png')); ?>" alt="Theme-Logo"/><br>
                <span class="m-0 p-0" style="color: rgb(180, 182, 184)"><?php echo e(session('year')); ?></span>
                
            </a>
            <a class="mobile-options">
                <i class="fas fa-ellipsis-h"></i>
            </a>
        </div>

        <div class="navbar-container">
            <ul class="nav-left">
                <li>
                    <a href="#!" onclick="javascript:toggleFullScreen()">
                        <i class="fas fa-compress"></i>
                    </a>
                    <?php if(auth()->user()->school): ?>
                        <strong style="position: relative; width: 100%;" id="blink">
                           <?php echo e(ucwords(auth()->user()->school->name_school)); ?>

                        </strong>
                    <?php endif; ?>
                </li>
            </ul>
            <ul class="nav-right">
                <li class="header-notification">
                    <div class="dropdown-primary dropdown">
                        <div class="dropdown-toggle" data-toggle="dropdown">
                            <i class="fas fa-bell"></i>
                            <span class="badge bg-c-pink">5</span>
                        </div>
                        <ul class="show-notification notification-view dropdown-menu"
                            data-dropdown-in="fadeIn" data-dropdown-out="fadeOut">
                            <li>
                                <h6>Notifications</h6>
                                <label class="label label-danger">New</label>
                            </li>
                            <li>
                                <div class="media">
                                    <i class="fas fa-user-tie d-flex align-self-center img-radius" style="font-size: 50px"></i>
                                    <div class="media-body">
                                        <h5 class="notification-user">John Doe</h5>
                                        <p class="notification-msg">Lorem ipsum dolor sit amet, consectetuer
                                            elit.</p>
                                        <span class="notification-time">30 minutes ago</span>
                                    </div>
                                </div>
                            </li>
                            <li>
                                <div class="media">
                                    <i class="fas fa-user-tie d-flex align-self-center img-radius" style="font-size: 50px"></i>
                                    <div class="media-body">
                                        <h5 class="notification-user">Joseph William</h5>
                                        <p class="notification-msg">Lorem ipsum dolor sit amet, consectetuer
                                            elit.</p>
                                        <span class="notification-time">30 minutes ago</span>
                                    </div>
                                </div>
                            </li>
                            <li>
                                <div class="media">
                                    <i class="fas fa-user-tie d-flex align-self-center img-radius" style="font-size: 50px"></i>
                                    <div class="media-body">
                                        <h5 class="notification-user">Sara Soudein</h5>
                                        <p class="notification-msg">Lorem ipsum dolor sit amet, consectetuer
                                            elit.</p>
                                        <span class="notification-time">30 minutes ago</span>
                                    </div>
                                </div>
                            </li>
                        </ul>
                    </div>
                </li>
                <li class="header-notification">
                    <div class="dropdown-primary dropdown">
                        <div class="displayChatbox dropdown-toggle" data-toggle="dropdown">
                            <i class="fas fa-envelope"></i>
                            <span class="badge bg-c-green">3</span>
                        </div>
                    </div>
                </li>
                <li class="user-profile header-notification">
                    <div class="dropdown-primary dropdown">
                        <div class="dropdown-toggle" data-toggle="dropdown">
                            <?php if(auth()->user()->photo): ?>
                            <img src="<?php echo e(asset(auth()->user()->urlUser())); ?>" class="img-radius mx-0" alt="Admin">
                            <?php else: ?>
                            <i class="fas fa-user-tie" style="font-size: 23px;"></i>
                            <?php endif; ?>
                            <span><?php echo e(userName()); ?></span>
                            <i class="fas fa-chevron-down"></i>
                        </div>
                        <ul class="show-notification profile-notification dropdown-menu" data-dropdown-in="fadeIn" data-dropdown-out="fadeOut">
                            <?php if(auth()->user()->role->role !== 'superAdmin'): ?>
                            <li>
                                <a href="<?php echo e(route('user.show',auth()->user()->id)); ?>">
                                    <i class="fas fa-user"></i> Profile
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo e(route('password.confirm')); ?>">
                                    <i class="fas fa-lock"></i> Lock Screen
                                </a>
                            </li>
                            <?php endif; ?>
                            <li class="text-center" style="background:none">
                                <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: inline;">
                                    <?php echo csrf_field(); ?>
                                    <button type="submit" class="btn btn-danger btn-outline-danger">
                                        <i class="fas fa-sign-in-alt"></i> Logout <i class="fas fa-right-from-bracket"></i>
                                    </button>
                                </form>
                            </li>
                        </ul>

                    </div>
                </li>
            </ul>
        </div>
    </div>
</nav><?php /**PATH /home/educasnsa/public_html/neuroschool/resources/views/includes/_header.blade.php ENDPATH**/ ?>