<?php
/**
 * Redux Framework text config.
 * For full documentation, please visit: http://devs.redux.io/
 *
 * @package Redux Framework
 */

defined( 'ABSPATH' ) || exit;

Redux::set_section(
	$opt_name,
	array(
		'title'            => esc_html__( 'Logo & Favicon', 'codedokan' ),
		'desc'             => esc_html__( '', 'your-textdomain-here' ),
		'id'               => 'logofavicon',
		'subsection'       => true,
		'customizer_width' => '700px',
		'fields'           => array(
			
			
			array(
				'id'       => 'logo_confiq',
				'type'     => 'switch',
				'title'    => esc_html__( 'Logo or Bannar Show Hide', 'codedokan' ),
				'default'  => 'off',
				'on'       => 'Logo',
				'off'      => 'Banner',
			),
			
			array(
				'id'       => 'logo',
				'required' => array( 'logo_confiq', '=', true ),
				'type'     => 'media',
				'title'    => esc_html__( 'Logo Uploader', 'codedokan' ),
				'desc'     => esc_html__( 'Logo Size Width 600px height 150px', 'codedokan' ),
				'subtitle' => esc_html__( 'Upload Your Logo', 'codedokan' ),
				'url'          => false,
				'preview'      => true,
				'preview_size' => 'full',
				'default'  => array(
                    'url' => get_template_directory_uri().'/assets/images/logo.png',
                ),
			),
			
			
			array(
				'id'       => 'bannar',
				'required' => array( 'logo_confiq', '=', false ),
				'type'     => 'media',
				'title'    => esc_html__( 'Banner Uploader', 'codedokan' ),
				'desc'     => esc_html__( 'Banner Size Width 1200px height 200px', 'codedokan' ),
				'subtitle' => esc_html__( 'Upload Your Logo', 'codedokan' ),
				'url'          => false,
				'preview'      => true,
				'preview_size' => 'full',
				'default'  => array(
                    'url' => get_template_directory_uri().'/assets/images/banner.gif',
                ),
			),
			
			
			array(
				'id'       => 'mobile_logo',
				'type'     => 'media',
				'title'    => esc_html__( 'Mobile Version Logo Uploader', 'codedokan' ),
				'desc'     => esc_html__( 'Logo Size Width 600px height 150px', 'codedokan' ),
				'subtitle' => esc_html__( 'Upload Your Logo', 'codedokan' ),
				'url'          => false,
				'preview'      => true,
				'preview_size' => 'full',
				'default'  => array(
                    'url' => get_template_directory_uri().'/assets/images/logo.png',
                ),
			),
			
			
			array(
				'id'       => 'favicon',
				'type'     => 'media',
				'title'    => esc_html__( 'Favicon Uploader', 'codedokan' ),
				'desc'     => esc_html__( 'Favicon Size Width 500px height 500px', 'codedokan' ),
				'subtitle' => esc_html__( 'Upload Your Favicon', 'codedokan' ),
				'url'          => false,
				'preview'      => true,
				'preview_size' => 'full',
				'default'  => array(
                    'url' => get_template_directory_uri().'/assets/images/favicon.png',
                ),
			),
			
			
			
			
			

			
			
		),
	)
);
