<?php

if ( ! defined( 'ABSPATH' ) ) exit;

require_once plugin_dir_path(__FILE__) . '../../utils/docuchat_get_image_from_name.php';

function docuchat_gofoundme_layout()
{ 
?>
    <div class="gofoundme_donate">
        <div class="gofoundme_donate_img">
            <?php echo wp_get_attachment_image( docuchat_get_image_from_name('pig'), 'full',  false, array('style' => 'width:80px; height:80px;')); ?>
        </div>
        <div class="gofoundme_donate_text">
            <h2>
                <?php echo esc_html__('Thanks for using', 'docu-chat'); ?>
                             <a href="<?php echo esc_attr__( "https://docuchat.es", "docu-chat" )?>" > <?php echo esc_html__('Docu Chat', 'docu-chat'); ?> </a>
                              <?php echo esc_html__(' for maintain this project free you can
                             help us with a donation in our gofundme page ', 'docu-chat'); ?>
                <a href="https://gofund.me/a9a56599" target="_blank"><?php echo esc_html__('here', 'docu-chat'); ?></a>
               <br> <span> <?php echo esc_html__('Thanks for your support, write us if you have any question or suggestion', 'docu-chat'); ?>
                 <a href="mailto:ricardo@docuchat.es"><?php echo esc_html__('here', 'docu-chat'); ?></a> 
                 <?php echo esc_html__(' see you soon', 'docu-chat'); ?>
                </span>
            </h2>
        </div>
    </div>

<?php
}