<?php
/**
 * Template part for displaying the page banner (title + breadcrumb)
 * on archive, single post, page, shop and product pages.
 *
 * @package Beauty Parlour Salon
 */

if ( is_front_page() || ! get_theme_mod( 'beauty_parlour_salon_page_banner_enable', true ) ) {
    return;
}

$beauty_parlour_salon_banner_bg_color  = get_theme_mod( 'beauty_parlour_salon_page_banner_bg_color', '#E66345' );
$beauty_parlour_salon_banner_text_color = get_theme_mod( 'beauty_parlour_salon_page_banner_text_color', '#ffffff' );
?>
<div class="page-banner-section" style="background-color: <?php echo esc_attr( $beauty_parlour_salon_banner_bg_color ); ?>; color: <?php echo esc_attr( $beauty_parlour_salon_banner_text_color ); ?>;">
    <div class="wrapper">
        <h1 class="page-banner-title"><?php echo esc_html( beauty_parlour_salon_page_banner_title() ); ?></h1>
        <?php beauty_parlour_salon_breadcrumb(); ?>
    </div>
</div>
