<?php if(auth()->guard()->check()): ?>
<div class="dropdown-menu">
    <div class="dropdown-header d-flex flex-column align-items-center">
        <div class="figure mb-3">
            <img src="/assets/img/avatar.svg" alt="">
        </div>
        <div class="info text-center">
            <p class="name font-weight-bold mb-0"><?php echo e(Auth::user()->name); ?></p>
            <p class="email text-muted mb-3"><?php echo e(Auth::user()->email); ?></p>
        </div>
    </div>
    <div class="dropdown-body">
        <ul class="profile-nav">
            <li class="nav-item">
                <a href="/profile" class="nav-link">
                    <i class="icon ion-md-person"></i>
                    <span>Profile</span>
                </a>
            </li>
            <li class="nav-item">
                <a href="/wallet" class="nav-link">
                    <i class="icon ion-md-wallet"></i>
                    <span>My Wallet</span>
                </a>
            </li>
            <li class="nav-item">
                <form method="POST" action="<?php echo e(route('logout')); ?>">
                    <?php echo csrf_field(); ?>
                    <button type="submit" class="nav-link red" style="border: none; background: none; width: 100%; text-align: left;">
                        <i class="icon ion-md-power"></i>
                        <span>Log Out</span>
                    </button>
                </form>
            </li>
        </ul>
    </div>
</div>
<?php endif; ?> <?php /**PATH C:\Users\indri\prjct\crypo\resources\views/components/user-dropdown.blade.php ENDPATH**/ ?>