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

            #	start of notice region 
                
                Kirki::add_section('edumodo_section_single_notice', array(
                    'title' => esc_attr__('Notice', $this->text_domain),
                    'panel' => $this->panel_key,
                    'priority' => $this->priority,
                ));
                    Kirki::add_field( 'edumodo_notice_single_hero_area_custom_title', [
                        'type'     => 'text',
                        'settings' => 'edumodo_notice_single_hero_area_custom_title',
                        'label'    => __( 'Hero Area Custom Title', $this->text_domain ),
                        'section'  => 'edumodo_section_single_notice',
                        'default'  => esc_html__('Single Notice',$this->text_domain),
                        'priority' => 10,
                    ] );
                    Kirki::add_field( 'notice_single_seperator_1', [
                        'type'        => 'custom',
                        'settings'    => 'notice_single_seperator_1',
                        'label'       => esc_html__( '', 'edumodo' ),
                        'section'     => 'edumodo_section_single_notice',
                        'default'     => '<h3 style="border: solid 1px #b3b3b3; text-align: center; letter-spacing: 2px;padding:15px 10px; background:#cecece; text-transform:uppercase; margin:10px -20px 5px;">' . __( 'Settings  &darr;', 'edumodo' ) . '</h3>',
                        'priority'    => 10,
                    ] );
                    Kirki::add_field( 'edumodo_single_notice_layout', [
                        'type'     => 'radio-image',
                        'settings' => 'edumodo_single_notice_layout',
                        'label'    => esc_html__( 'Layout', $this->text_domain ),
                        'section'  => 'edumodo_section_single_notice',
                        'priority' => 10,
                        'default'  => 'right-sidebar',
                        'choices'     => [
                            'left-sidebar'   => get_template_directory_uri() . '/assets/images/left-sidebar.png',
                            'right-sidebar'  => get_template_directory_uri() . '/assets/images/right-sidebar.png',
                            'no-sidebar' => get_template_directory_uri() . '/assets/images/no-sidebar.png',
                        ],
                    ] );
                    // Kirki::add_field( 'edumodo_single_notice_meta_trigger', [
                    //     'type'        => 'radio-buttonset',
                    //     'settings'    => 'edumodo_single_notice_meta_trigger',
                    //     'label'       => esc_html__( 'Meta', $this->text_domain ),
                    //     'section'     => 'edumodo_section_single_notice',
                    //     'default'     => 'on',
                    //     'priority'    => 10,
                    //     'choices'     => [
                    //         'on'   => esc_html__( 'Show', $this->text_domain ),
                    //         'off' => esc_html__( 'Hide', $this->text_domain )
                    //     ],
                    // ] );
                    Kirki::add_field( 'edumodo_single_notice_social_share', [
                        'type'        => 'radio-buttonset',
                        'settings'    => 'edumodo_single_notice_social_share',
                        'label'       => esc_html__( 'Social Share', $this->text_domain ),
                        'section'     => 'edumodo_section_single_notice',
                        'default'     => 'on',
                        'priority'    => 10,
                        'choices'     => [
                            'on'   => esc_html__( 'Show', $this->text_domain ),
                            'off' => esc_html__( 'Hide', $this->text_domain )
                        ],
                    ] );
                    // Kirki::add_field( 'edumodo_single_notice_navigation_trigger', [
                    //     'type'        => 'radio-buttonset',
                    //     'settings'    => 'edumodo_single_notice_navigation_trigger',
                    //     'label'       => esc_html__( 'Navigation', $this->text_domain ),
                    //     'section'     => 'edumodo_section_single_notice',
                    //     'default'     => 'on',
                    //     'priority'    => 10,
                    //     'choices'     => [
                    //         'on'   => esc_html__( 'Show', $this->text_domain ),
                    //         'off' => esc_html__( 'Hide', $this->text_domain )
                    //     ],
                    // ] );
            #	end of notice region 


        }
    }
?>