<?php
/**
 * The template for displaying all pages.
 *
 * This is the template that displays all pages by default.
 * Please note that this is the WordPress construct of pages
 * and that other 'pages' on your WordPress site may use a
 * different template.
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package Insurance Hub
 */
// retrieving Customizer Value
$section_option = insurance_hub_get_option( 'insurance_hub_homepage_quote_option' );
if ( $section_option != 'hide' ) {
    $quote_title        = insurance_hub_get_option( 'insurance_hub_quote_section_title' );
    $quote_a_quote_text = insurance_hub_get_option( 'insurance_hub_quote_get_a_quate_txt' );
    $quote_a_quote_link = insurance_hub_get_option( 'insurance_hub_quote_get_a_quate_link' );
    ?>
    <section class="process">
        <div class="container">
            <div class="content row">
                <div class="col-lg-8 des"> <?php echo esc_html( $quote_title ) ?></div>
                <?php if ( !empty( $quote_a_quote_text ) ) { ?>
                    <div class="col-lg-4">
                        <a href="<?php echo esc_url( $quote_a_quote_link ) ?>" target="_blank" class="btn btn-theme">
                            <?php echo esc_html( $quote_a_quote_text ) ?>
                        </a>
                    </div>
                <?php } ?>
            </div>
        </div>
    </section>
<?php } ?>