<?php $__env->startSection('noindex', true); ?>
<?php $__env->startSection('section', $user->username); ?>
<?php $__env->startSection('title', translate('Following')); ?>
<?php $__env->startSection('content_size', 9); ?>
<?php $__env->startSection('content'); ?>
    <?php if($followings->count() > 0): ?>
        <div class="row row-cols-1 row-cols-sm-2 row-cols-lg-3 g-3">
            <?php $__currentLoopData = $followings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $following): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php
                    $following = $following->following;
                ?>
                <div class="col">
                    <div class="card-v card-bg border h-100 py-5">
                        <div class="row row-cols-1 text-center g-2">
                            <div class="col">
                                <a href="<?php echo e($following->getProfileLink()); ?>" class="user-avatar user-avatar-xl me-1">
                                    <img src="<?php echo e($following->getAvatar()); ?>" alt="<?php echo e($following->username); ?>">
                                </a>
                            </div>
                            <div class="col">
                                <a href="<?php echo e($following->getProfileLink()); ?>" class="d-block text-dark fs-5 mb-1">
                                    <h6 class="mb-0 small"><?php echo e($following->username); ?></h6>
                                </a>
                                <p class="mb-0 fs-6 mb-3">
                                    <span class="text-muted small">
                                        <?php echo e(translate('Member since :date', ['date' => dateFormat($following->created_at, 'M Y')])); ?>

                                    </span>
                                </p>
                                <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('follow-button', ['user' => $following])->html();
} elseif ($_instance->childHasBeenRendered('hkdusOB')) {
    $componentId = $_instance->getRenderedChildComponentId('hkdusOB');
    $componentTag = $_instance->getRenderedChildComponentTagName('hkdusOB');
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild('hkdusOB');
} else {
    $response = \Livewire\Livewire::mount('follow-button', ['user' => $following]);
    $html = $response->html();
    $_instance->logRenderedChild('hkdusOB', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
                            </div>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <?php echo e($followings->links()); ?>

    <?php else: ?>
        <div class="card-v border card-bg text-center">
            <div class="py-3">
                <i class="fa-solid fa-users fa-lg"></i>
                <p class="mb-0 mt-3"><?php echo e(translate('No followings found')); ?></p>
            </div>
        </div>
    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('themes.basic.profile.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/gxramdau/public_html/resources/views/themes/basic/profile/following.blade.php ENDPATH**/ ?>