<?php if(config('demo.IS_DEMO')): ?>
    <div class="dashboard_announcement_bar"
         style="background-image: url(<?php echo e(asset('assets/admin/img/announcement_bar.png')); ?>)">
        <div class="container">
            <div class="wrapper py-2">
                <div class="announcement_bar-notice d-flex flex-wrap">
                    <div class="txt">
                        <?php echo app('translator')->get("This is a demo website - Buy " .basicControl()->site_title.  " using our official link!"); ?>
                    </div>
                    <a href="<?php echo e(config('requirements.item_url')); ?>"
                       class="btn btn-sm mx-2 purchase-item-btn" target="_blank"><?php echo app('translator')->get("Buy Now"); ?></a>
                </div>
                <div class="announcement-close">
                    <button class="btn btn-sm" type="button"><i class="bi bi-x-square text-white"></i></button>
                </div>
            </div>
        </div>
    </div>

    <script>
        document.querySelector('.announcement-close button').addEventListener('click', function() {
            const announcementBar = document.querySelector('.dashboard_announcement_bar');
            announcementBar.classList.remove('dashboard_announcement_bar');
            announcementBar.style.backgroundImage = 'none';

            document.body.classList.remove('demo');
        });
    </script>
<?php endif; ?>
<?php /**PATH D:\server\htdocs\SMM_v5\project\resources\views/admin/layouts/announcement_bar.blade.php ENDPATH**/ ?>