<?php

/**
 * Controls attached to core sections
 *
 * @package vamtam/pur
 */


return array(
	array(
		'label'     => esc_html__( 'Header Logo Type', 'pur' ),
		'id'        => 'header-logo-type',
		'type'      => 'switch',
		'transport' => 'postMessage',
		'section'   => 'title_tagline',
		'choices'   => array(
			'image'      => esc_html__( 'Image', 'pur' ),
			'site-title' => esc_html__( 'Site Title', 'pur' ),
		),
		'priority' => 8,
	),

	array(
		'label'       => esc_html__( 'Alternative Logo', 'pur' ),
		'description' => esc_html__( 'This logo is used when you are using the transparent sticky header. It must be the same size as the main logo.', 'pur' ),
		'id'          => 'custom-header-logo-transparent',
		'type'        => 'image',
		'transport'   => 'postMessage',
		'section'     => 'title_tagline',
		'priority' => 9,
	),

	array(
		'label'       => esc_html__( 'Show Splash Screen', 'pur' ),
		'description' => esc_html__( 'This option is useful if you have video backgrounds, featured slider, galleries or other elements that may load slowly. You may override this setting for a specific page using the local options.', 'pur' ),
		'id'          => 'show-splash-screen',
		'type'        => 'switch',
		'transport'   => 'postMessage',
		'section'     => 'title_tagline',
		'priority' => 9,
	),

	array(
		'label'     => esc_html__( 'Splash Screen Logo', 'pur' ),
		'id'        => 'splash-screen-logo',
		'type'      => 'image',
		'transport' => 'postMessage',
		'section'   => 'title_tagline',
		'priority' => 9,
	),

	array(
		'label'    => esc_html__( 'Sitemap page', 'pur' ),
		'id'       => 'sitemap-page',
		'type'     => 'dropdown-pages',
		'section'  => 'static_front_page',
		'priority' => 11,
	),

	array(
		'label'    => esc_html__( 'Maintenance mode page', 'pur' ),
		'id'       => 'maintenance-page',
		'type'     => 'dropdown-pages',
		'section'  => 'static_front_page',
		'priority' => 12,
	),
);

