<?php

/**
 * The public-facing functionality of the plugin.
 *
 * Defines the plugin name, version, and two examples hooks for how to
 * enqueue the public-facing stylesheet and JavaScript.
 *
 * @link       https://themeatelier.net
 * @since      1.0.0
 *
 * @package domain-for-sale
 * @subpackage domain-for-sale/Helpers
 * @author     ThemeAtelier<themeatelierbd@gmail.com>
 */

namespace ThemeAtelier\DomainForSale\Admin\Helpers;

/**
 * The Helpers class to manage all public facing stuffs.
 *
 * @since 1.0.0
 */
class Helpers
{
	public static function dfs_default_domain_meta()
	{
		return array(
			'domain_name' => get_site_url(),
			'domain_logo' => [
				'url' => '',
				'id' => '',
				'width' => '',
				'height' => '',
				'thumbnail' => '',
				'alt' => '',
				'title' => '',
				'description' => '',
			],
			'form_options' => 'get_proposal',
			'price_options' => 'fixed_price',
			'sell_price' => '',
			'offer_tag' => 'Start your bid from {{startingPrice}}',
			'price_tag' => 'Price {{price}} Only',
			'dfs_apply_on' => 'shortcode',
			'sale_title' => 'is for sale',
			'sale_content' => 'The domain name (without content) is available for sale by its owner. Any offer you submit is binding for 7 days. If you require further information, contact me.',
			'contact_title' => 'Contact Info:',
			'contact_infos' => array(
				array(
					'contactinfos-icon' => 'icofont-envelope',
					'contactinfos-text' => get_option('admin_email'),
				),
				array(
					'contactinfos-icon' => 'icofont-phone',
					'contactinfos-text' => '(345) 456 789 23',
				),
			),
			'more_domain_title' => 'More Domains',
			'more_domains' => array(
				array(
					'moredomains-title' => 'www.firstdomain.com',
					'moredomains-link' => array(
						'url' => '',
						'text' => '',
						'target' => '',
					),
					'moredomains-content' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum nihil consequatur aspernatur ipsum facere neque distinctio fugit voluptatum laborum odit eveniet saepe culpa sit dolor ea fugiat officiis, debitis magni.',
				),
				array(
					'moredomains-title' => 'www.seconddomain.com',
					'moredomains-link' => array(
						'url' => '',
						'text' => '',
						'target' => '',
					),
					'moredomains-content' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum nihil consequatur aspernatur ipsum facere neque distinctio fugit voluptatum laborum odit eveniet saepe culpa sit dolor ea fugiat officiis, debitis magni.',
				),
				array(
					'moredomains-title' => 'www.thirddomain.com',
					'moredomains-link' => array(
						'url' => '',
						'text' => '',
						'target' => '',
					),
					'moredomains-content' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Illum nihil consequatur aspernatur ipsum facere neque distinctio fugit voluptatum laborum odit eveniet saepe culpa sit dolor ea fugiat officiis, debitis magni.',
				),
			),
			'color_scheme_type' => 'pre_defined',
			'color_scheme' => 4,
			'custom_scheme' => array(
				'primary' => '#44dc46',
				'secondary' => '#3bbf3d',
			),
			'container_width' => 1140,
			'dfs_gap' => 30,
			'dfs-background' => array(
				'background-image' => array(
					'url' => '',
					'id' => '',
					'width' => '',
					'height' => '',
					'thumbnail' => '',
					'alt' => '',
					'title' => '',
					'description' => '',
				),
				'background-position' => 'center center',
				'background-repeat' => 'repeat-x',
				'background-attachment' => 'fixed',
				'background-size' => 'cover',
			),
			'dfs-overlay' => 'rgba(0,0,0,0.7)',
			'body_typo' => array(
				'font-family' => 'Nunito',
				'font-weight' => '400',
				'font-style' => '',
				'text-transform' => '',
				'font-size' => '16',
				'line-height' => '20',
				'tablet-font-size' => '16',
				'tablet-line-height' => '',
				'mobile-font-size' => '16',
				'mobile-line-height' => '',
				'type' => 'google',
				'unit' => 'px',
			),
			'domain_name_typo' => array(
				'font-family' => 'Poppins',
				'font-weight' => '700',
				'font-style' => '',
				'text-transform' => '',
				'font-size' => '48',
				'line-height' => '48',
				'tablet-font-size' => '42',
				'tablet-line-height' => '',
				'mobile-font-size' => '38',
				'mobile-line-height' => '',
				'color' => '',
				'type' => 'google',
				'unit' => 'px',
			),
			'sale_title_typo' => array(
				'font-family' => 'Poppins',
				'font-weight' => '700',
				'font-style' => '',
				'text-transform' => '',
				'font-size' => '38',
				'line-height' => '38',
				'tablet-font-size' => '32',
				'tablet-line-height' => '',
				'mobile-font-size' => '30',
				'mobile-line-height' => '',
				'color' => '#ffffff',
				'type' => 'google',
				'unit' => 'px',
			),
			'recommendation_title_typo' => array(
				'font-family' => 'Poppins',
				'font-weight' => '700',
				'font-style' => '',
				'text-transform' => '',
				'font-size' => '28',
				'line-height' => '24',
				'tablet-font-size' => '20',
				'tablet-line-height' => '',
				'mobile-font-size' => '',
				'mobile-line-height' => '',
				'color' => '#000',
				'type' => 'google',
				'unit' => 'px',
			),
			'recommendation_domain_name_typo' => array(
				'font-family' => 'Poppins',
				'font-weight' => '700',
				'font-style' => '',
				'text-transform' => '',
				'font-size' => '24',
				'line-height' => '20',
				'tablet-font-size' => '22',
				'tablet-line-height' => '',
				'mobile-font-size' => '',
				'mobile-line-height' => '',
				'color' => '#000',
				'hover_color' => '',
				'type' => 'google',
				'unit' => 'px',
			),
		);
	}
}
