<?php 
Kirki::add_panel( 'header_options', array(
	'title'    => esc_html__( 'Header Options', 'newshit' ),
    'priority' => 1
) );

/**
 * Start Select Header
 */
Kirki::add_section( 'select_header_options', array(
	'title'    => esc_html__( 'Header Select', 'newshit' ),
	'panel'    => 'header_options',
) );

Kirki::add_field( 'theme_config', [
	'type'        => 'radio_image',
	'settings'    => 'select_header',
	'label'       => esc_html__( 'Select Header', 'newshit' ),
	'description' => esc_html__( 'Select Your Header', 'newshit' ),
	'section'     => 'select_header_options',
	'default'     => 'one',
	'choices'     => [
		'one' => get_template_directory_uri() . '/assets/image/header-1.jpg',
		'two' => get_template_directory_uri() . '/assets/image/header-2.jpg',
	],
] );

new \Kirki\Field\Checkbox_Switch(
	[
		'settings'    => 'sticky_header_enable',
		'label'       => esc_html__( 'Enable Sticky Header', 'newshit' ),
		'section'     => 'select_header_options',
		'default'     => 'off',
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);

// Header One
require NEWSHIT_INC_DIR . 'kirki-customize/header/header-top.php';
require NEWSHIT_INC_DIR . 'kirki-customize/header/header-center.php';
require NEWSHIT_INC_DIR . 'kirki-customize/header/header-bottom.php';