<?php
/**
* Front Contact Section
*
* @package constructionn
*/
$toggle_contact = get_theme_mod( 'toggle_front_contact', false );
$contact_headings = get_theme_mod( 'contact_headings' );
$contact_descriptions = get_theme_mod( 'contact_descriptions' );
$contact_form_shortcode = get_theme_mod( 'fcontact_form_shortcode' );
if ( $toggle_contact && ( $contact_headings || $contact_descriptions || $contact_form_shortcode ) ) { ?>
<div id="front-contact" class="contact-section front-contact">
<div class="container">
<div class="contact-wrapper">
<div class="contact-typo">
<?php if ( $contact_headings || $contact_descriptions ) { ?>
<div class="section-meta-wrap">
<?php if ( $contact_headings ) { ?>
<h2 class="section-heading"><?php echo esc_html( $contact_headings ); ?></h2>
<?php } if ( $contact_descriptions ) { ?>
<p class="section-desc"><?php echo esc_html( $contact_descriptions ); ?></p>
<?php } ?>
</div>
<?php
}
constructionn_social_media_repeater( 'contact-section-social-media' );
?>
</div>
<?php if ( $contact_form_shortcode ) { ?>
<div class="contact-form-wrapper">
<?php echo do_shortcode( $contact_form_shortcode ); ?>
</div>
<?php } ?>
</div>
</div>
</div>
<?php
}