<?php $__env->startSection('content'); ?>
<link rel="stylesheet" href="https://unpkg.com/swiper@9/swiper-bundle.min.css">
<style>
  .swiper { width: 100%; max-width: 100%; }
  .swiper-slide img { width: 100%; height: auto; display: block; }
  /* চাইলে নির্দিষ্ট অনুপাত চান:
  .mySwiper { aspect-ratio: 16 / 6; }
  .mySwiper .swiper-slide { height: 100%; }
  .mySwiper img { height: 100%; object-fit: cover; }
  */
</style>
    <div class="shell">
        <?php echo $__env->make('frontend.common.header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

        <section class="grid">
            <a class="qi" href="<?php echo e(url('/add-money-methods')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/addmoney.jpg')); ?>" alt=""></span><small>অ্যাড মানি</small></a>
            <a class="qi" href="<?php echo e(url('/wallet/send')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/s.jpg')); ?>" alt=""></span><small>সেন্ড মানি</small></a>
            <a class="qi" href="<?php echo e(url('/offers')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/offer.png')); ?>" alt=""></span><small>ড্রাইভ অফার</small></a>

            <a class="qi" href="<?php echo e(url('/recharge')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/r.jpg')); ?>" alt=""></span><small>মোবাইল রিচার্জ</small></a>
            <a class="qi" href="<?php echo e(url('/deposits')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/20240915_220918.png')); ?>" alt=""></span><small>স্পেশাল
                    অফার</small></a>
            <a class="qi" href="<?php echo e(url('/rewards/convert')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/reward.png')); ?>" alt=""></span><small>কমিশন</small></a>

            <a class="qi" href="<?php echo e(url('/loans/apply')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/png-clipart-computer-icons-loan-finance-bank-donate-text-trademark.png')); ?>"
                        alt=""></span><small>লোন</small></a>
            <a class="qi" href="<?php echo e(url('/paybills')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/paybill.png')); ?>" alt=""></span><small>পে বিল</small></a>
            <a class="qi" href="<?php echo e(url('/statement')); ?>"><span class="round"><img style="width: 100%;"
                        src="<?php echo e(asset('frontend/img/offer.png')); ?>" alt=""></span><small>স্টেটমেন্ট</small></a>


        </section>


        <marquee direction="left" class="markuee_headline">
            <?php
                $headline = \App\Models\Headline::first();
              ?>
            <?php echo e($headline->headline); ?>

        </marquee>


        <section class="mobile-banking">
            <h3>মোবাইল ব্যাংকিং</h3>

            <div class="wallet-grid" aria-label="quick actions">
                <a class="wallet-item" href="<?php echo e(url('/mobile-banking/bkash')); ?>">
                    <div class="icon-wrap">
                        <img src="<?php echo e(asset('frontend/img/bkash.png')); ?>" alt="bKash" />
                    </div>
                    <span>বিকাশ</span>
                </a>

                <a class="wallet-item" href="<?php echo e(url('/mobile-banking/nagad')); ?>">
                    <div class="icon-wrap">
                        <img src="<?php echo e(asset('frontend/img/nagad.png')); ?>" alt="Nagad" />
                    </div>
                    <span>নগদ</span>
                </a>

                <a class="wallet-item" href="<?php echo e(url('/mobile-banking/rocket')); ?>">
                    <div class="icon-wrap">
                        <img src="<?php echo e(asset('frontend/img/rocket.png')); ?>" alt="Rocket" />
                    </div>
                    <span>রকেট</span>
                </a>

                <a class="wallet-item" href="<?php echo e(url('/banks')); ?>">
                    <div class="icon-wrap">
                        <img src="<?php echo e(asset('frontend/img/mobile-banking.png')); ?>" alt="Bank" />
                    </div>
                    <span>ব্যাংক</span>
                </a>
            </div>
        </section>


        <div class="swiper mySwiper" style="display: inline-block; margin-bottom: 10px !important;">
            <div class="swiper-wrapper">
                <?php
                    $banners = \App\Models\Banner::get();
                  ?>
                <?php $__currentLoopData = $banners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="swiper-slide">
                        <img style="height: 200px!important;" src="<?php echo e(asset('storage/' . $banner->image_path)); ?>" alt="banner">
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <div class="swiper-pagination"></div>
        </div>

        <section class="mobile-banking" style="padding-bottom: 115px;">
            <h4>আজকে আমাদের কোম্পানির চলমান রেট সমূহ</h4>

            <div class="wallet-grid" aria-label="quick actions">

                <?php $__currentLoopData = App\Models\ExchangeCountry::get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <a class="wallet-item" href="<?php echo e(route('rates.show', $c)); ?>">
                        <div class="icon-wrap">
                            <img src="<?php echo e(asset('storage/' . $c->flag_path)); ?>" alt="<?php echo e($c->name); ?>" alt="bKash" />
                        </div>
                        <span class="text-sm"><?php echo e($c->name); ?></span>
                    </a>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            </div>
        </section>
        <?php echo $__env->make('frontend.common.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    </div>

    <script src="https://unpkg.com/swiper@9/swiper-bundle.min.js"></script>
<script>
  document.addEventListener('DOMContentLoaded', function () {
    // যদি পেজে একটাই স্লাইডার থাকে:
    const swiper = new Swiper('.mySwiper', {
      slidesPerView: 1,
      spaceBetween: 12,
      loop: true,
      autoplay: { delay: 4000, disableOnInteraction: false },
      pagination: { el: '.swiper-pagination', clickable: true },
      // চাইলে effect: 'fade',
      // navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev' },
    });
  });
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\new-development-re-banking\re_banking_2\resources\views/frontend/dashboard.blade.php ENDPATH**/ ?>