<?php
/**
 * File: application-banner.php
 * Year: 2023
 */

use Tami\WooCommerce\TamiAdmin;
use Tami\WooCommerce\TamiAdminSettings;

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

$application_banner_dismissed = TamiAdminSettings::get_settings( 'dismiss_application_banner', '0' );
$application_banner_dismissed = apply_filters('tami_woocommerce/dismiss_application_banner', $application_banner_dismissed);

//if ( $application_banner_dismissed ) {
//	return "";
//}
?>
<div class="tami-card tami-bg-tami tami-rounded-5 tami-mb-5 tami-shadow tami-dismissible-area">
    <div class="tami-card-header tami-bg-tami-green tami-text-tami tami-rounded-5 tami-m-3">
        <div class="tami-row">
            <div class="tami-col-11">
                <h4 class="tami-mb-0">Henüz <?php TamiAdmin::get_assets( 'images/tami-full.png', 'html', [
                        'height' => 24,
                        'style' => 'margin-top: 7px'
                    ] ) ?> mağazanız yok mu?</h4>
            </div>
            <div class="tami-col-1 tami-text-center">
                <button class="tami-btn tami-border-0 tami-bg-transparent tami-rounded-5 tami-text-tami tami-align-self-end tami-btn-close tami-admin-dismiss-application-button">
                </button>
            </div>
        </div>
    </div>
    <div class="tami-card-body">
        <div class="tami-m-3">
            <p class="tami-lead">
                Lorem ipsum dolor sit amet, consectetur adipisicing elit. A excepturi ipsam laudantium, libero magnam sed!
            </p>
            <div class="tami-p-3 tami-bg-tami-grey tami-rounded-2">
                <ul class="tami-list-inline-item tami-m-0">
                    <li><i class="fa fa-chevron-right"></i> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque!</li>
                    <li><i class="fa fa-chevron-right"></i> Aliquid dicta error id in maiores natus nihil odio.</li>
                    <li><i class="fa fa-chevron-right"></i> Autem cupiditate esse officiis quibusdam sapiente temporibus tenetur voluptates!</li>
                    <li><i class="fa fa-chevron-right"></i> Architecto consequatur dicta ea, non obcaecati officia omnis ullam.</li>
                </ul>
            </div>
            <p class="tami-p-3 tami-text-end">
                <a class="tami-btn tami-btn tami-btn-tami-green tami-rounded-5" target="_blank" href="https://www.tami.com.tr/">Şimdi Başvur <i class="fa fa-arrow-right"></i></a>
            </p>
        </div>
    </div>
</div>
