<header class="relative flex justify-between items-center w-full py-4">
    <!-- header left -->
    <section>
        <ul class="flex items-center gap-4">

            <li>Dashboard</li>
        </ul>
    </section>
    <!-- header right -->
    <section>

        <ul class="flex  sm:text-[1.3rem] items-center text-skin-nav-hover-mute">
            <li class=" cursor-pointer container  ">
                <a href="<?php echo e(url('/')); ?>" target="_blank" class="text-sm whitespace-nowrap border  rounded-md p-2"> <i
                        class="fa-solid fa-globe"></i> View Webiste</a>
                <!-- Profile hover -->
            </li>
            <li class="relative cursor-pointer container w-6 sm:w-9 group">
                <img src="<?php echo e(asset('defualt/user.png')); ?>" alt="profile" class="rounded-md" />
                <!-- Profile hover -->
                <div
                    class="w-[300px] absolute top-full right-0  px-6 py-4 bg-white rounded-lg shadow-lg hidden group-hover:block">
                    <!-- profile header -->
                    <div class="border-b-[1px] py-4 px-2 flex items-center gap-2">
                        <img src="<?php echo e(asset('defualt/user.png')); ?>" alt="profile" class="w-[40px]">
                        <div class="text-sm text-skin-muted">
                            <h1 class="flex items-center gap-2 text-skin-header font-semibold"><?php echo e(Auth::user()->name); ?>


                            </h1>
                            <p class="hover:text-skin-hover"><a href="#"><?php echo e(Auth::user()->email); ?></a></p>
                        </div>
                    </div>
                    <!-- Profile body -->
                    <div>

                        <ul class="text-skin-base text-[0.9rem] font-semibold w-full py-2">
                            <li
                                class="flex items-center gap-x-2 justify-between hover:bg-neutral-100 px-2 py-3 rounded-md hover:text-skin-hover">
                                <form action="<?php echo e(route('logout')); ?>" method="post">
                                    <?php echo csrf_field(); ?>
                                    <button type="submit">Logout</a>
                                </form>
                            </li>
                        </ul>
                    </div>
                </div>
            </li>
        </ul>
    </section>
</header>
<?php /**PATH /home/khawajashipping/mrglogisticsbd.com/resources/views/components/backend/right-header.blade.php ENDPATH**/ ?>