<?php

defined( 'ABSPATH' ) or die;

define( 'INC_PATH', get_template_directory() . '/inc/' );
define( 'INC_URL', get_template_directory_uri() . '/inc/' );
define( 'CODE_PATH', get_template_directory() . '/theme-code/' );
define( 'CODE_URI', get_template_directory_uri() . '/theme-code/' );

define( 'CONTACT_INFO', [
	'phone_number' => [
		'title' => __( 'Phone number', 'tech360' ),
		'icon' => '<i class="fas fa-fw fa-phone-alt"></i>',
		'link_type' => 'tel'
	],
	'toll_free_number' => [
		'title' => __( 'Toll free number', 'tech360' ),
		'icon' => '<i class="fas fa-fw fa-phone-volume"></i>',
		'link_type' => 'tel',
		'description' => __( 'If you have a toll free number, set it here.', 'tech360' )
	],
	'email' => [
		'title' => __( 'Email', 'tech360' ),
		'icon' => '<i class="far fa-fw fa-envelope-open"></i>',
		'link_type' => 'mailto'
	],
	'google_map' => [
		'title' => __( 'Google Maps widget', 'tech360' ),
		'type' => 'textarea',
		'description' => __( 'Paste in the Google Maps widget to display your office location map on the site.', 'tech360' )
	],
	'office_address' => [
		'title' => __( 'Office address', 'tech360' ),
		'icon' => '<i class="fas fa-fw fa-map-marker"></i>',
		'type' => 'textarea',
		'description' => __( 'Set your office postal address.', 'tech360' )
	]
] );

define( 'SOCIAL_LINKS', [
	'facebook' => [
		'title' => 'Facebook',
		'icon' => '<i class="fab fa-fw fa-facebook-f"></i>'
	],
	'twitter' => [
		'title' => 'Twitter',
		'icon' => '<i class="fab fa-fw fa-twitter"></i>'
	],
	'linkedin' => [
		'title' => 'LinkedIn',
		'icon' => '<i class="fab fa-fw fa-linkedin-in"></i>'
	],
	'youtube' => [
		'title' => 'Youtube',
		'icon' => '<i class="fab fa-fw fa-youtube"></i>'
	],
	'tripadvisor' => [
		'title' => 'Trip Advisor',
		'icon' => '<i class="fab fa-fw fa-tripadvisor"></i>'
	],
	'yelp' => [
		'title' => 'Yelp',
		'icon' => '<i class="fab fa-fw fa-yelp"></i>'
	],
	'instagram' => [
		'title' => 'Instagram',
		'icon' => '<i class="fab fa-fw fa-instagram"></i>'
	]
] );

define( 'TOP_BAR_OPTIONS', [
	'top_bar_phone' => [
		'title' => __( 'Phone number', 'tech360' ),
		'type' => 'checkbox',
		'icon' => '<i class="fas fa-fw fa-phone-alt"></i>',
		'link_type' => 'tel',
		'option' => 'phone_number'
	],
	'top_bar_toll_free_phone' => [
		'title' => __( 'Toll free number', 'tech360' ),
		'type' => 'checkbox',
		'icon' => '<i class="fas fa-fw fa-phone-volume"></i>',
		'link_type' => 'tel',
		'option' => 'toll_free_number'
	],
	'top_bar_email' => [
		'title' => __( 'Email', 'tech360' ),
		'type' => 'checkbox',
		'icon' => '<i class="far fa-fw fa-envelope-open"></i>',
		'link_type' => 'mailto',
		'option' => 'email'
	],
	'top_bar_quote_button' => [
		'title' => __( 'Quote button', 'tech360' ),
		'type' => 'checkbox',
		'description' => __( 'Check this to display of a button in the top bar that leads to the quote page.', 'tech360' ),
		'btn_class' => 'btn btn-inverted'
	],
	'top_bar_quote_button_label' => [
		'title' => __( 'Quote button label', 'tech360' ),
		'default' => __( 'Get a quote', 'tech360' ),
		'description' => __( 'Set the label of the quote button.', 'tech360' )
	],
	'top_bar_quote_page' => [
		'title' => __( 'Quote page', 'tech360' ),
		'type' => 'dropdown-pages',
		'description' => __( 'Choose your quote page from the dropdown.', 'tech360' )
	],
	'top_bar_book_button' => [
		'title' => __( 'Book button', 'tech360' ),
		'type' => 'checkbox',
		'description' => __( 'Check this to display a button in the top bar that leads to the bookings page.', 'tech360' ),
		'btn_class' => 'btn btn-primary'
	],
	'top_bar_book_button_label' => [
		'title' => __( 'Book button label', 'tech360' ),
		'default' => __( 'Book now', 'tech360' ),
		'description' => __( 'Set the label of the book button.', 'tech360' )
	],
	'top_bar_book_page' => [
		'title' => __( '&quot;Book now&quot; page', 'tech360' ),
		'type' => 'dropdown-pages',
		'description' => __( 'Choose your bookings page.', 'tech360' )
	]
] );
