<?php 
    class Edumodo_Customizer_Header_Logo{
        private $panel_key;
        private $priority;
        private $text_domain = 'edumodo';
        public function __construct($panel_key, $priority){
            $this->panel_key = $panel_key;
            $this->priority = $priority;
            $this->header_logo_kirki_config();
        }
        public function header_logo_kirki_config(){

            #   start variation region 
                Kirki::add_section('edumodo_header_logo', array(
                    'title' => esc_attr__('Logo', $this->text_domain),
                    'panel' => $this->panel_key,
                    'priority' => $this->priority,
                ) );
                    if( get_template_directory() === get_stylesheet_directory() ):
                        Kirki::add_field( 'edumodo_sticky_logo', [
                            'type'        => 'image',
                            'settings'    => 'edumodo_sticky_logo',
                            'label'       => esc_html__( 'Sticky', $this->text_domain ),
                            'section'     => 'edumodo_header_logo',
                            'default'     => '',
                            
                        ] );
                    endif;
                    
            #   end of variation region 
        }
    }
?>