<a href="<?php echo e(route('compare')); ?>" class="d-flex align-items-center text-reset">
    <i class="la la-refresh la-2x opacity-80"></i>
    <span class="flex-grow-1 ml-1">
        <?php if(Session::has('compare')): ?>
            <span class="badge badge-primary badge-inline badge-pill"><?php echo e(count(Session::get('compare'))); ?></span>
        <?php else: ?>
            <span class="badge badge-primary badge-inline badge-pill">0</span>
        <?php endif; ?>
        <span class="nav-box-text d-none d-xl-block opacity-70"><?php echo e(translate('Compare')); ?></span>
    </span>
</a><?php /**PATH /home2/haseeb40/public_html/resources/views/frontend/partials/compare.blade.php ENDPATH**/ ?>