@if(config('mindease.adsense.enabled') && config('mindease.adsense.publisher_id'))
    <div class="ad-container my-4">
        <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client={{ config('mindease.adsense.publisher_id') }}"
            crossorigin="anonymous"></script>
        <ins class="adsbygoogle"
            style="display:block"
            data-ad-client="{{ config('mindease.adsense.publisher_id') }}"
            data-ad-slot="{{ config('mindease.adsense.slots.footer') }}"
            data-ad-format="auto"
            data-full-width-responsive="true"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </div>
@endif
