<?php

/**
 * Views class for Shortcode generator options.
 *
 * @link       https://themeatelier.net
 * @since      1.0.0
 *
 * @package greet-bubble
 * @subpackage greet-bubble/Admin/Views/GreetBubbleTypography
 * @author     ThemeAtelier<themeatelierbd@gmail.com>
 */

namespace ThemeAtelier\GreetBubble\Admin\Views;

use ThemeAtelier\GreetBubble\Admin\Framework\Classes\GREET_BUBBLE;

class GreetBubbleTypography
{

    /**
     * Create Option fields for the setting options.
     *
     * @param string $prefix Option setting key prefix.
     * @return void
     */
    public static function options($prefix)
    {

        GREET_BUBBLE::createSection($prefix, array(
            'title'       => esc_html__('TYPOGRAPHY', 'greet-bubble'),
            'icon'        => 'icofont-font',
            'fields'      => array(
                array(
                    'id'     => 'hi_text_typography',
                    'class'  => 'greet_bubble_pro_only',
                    'title'  => __('\'Hi\' Text Typography', 'greet-bubble'),
                    'type'   => 'typography',
                    'desc' => esc_html__('To unlock these typography settings (940+ Google Fonts),', 'greet-bubble') . ' <a href="https://themeatelier.net/downloads/greet-bubble"><b>' . esc_html__('Upgrade to Pro', 'greet-bubble') . '</b></a>.',
                    'title_help' =>
                    '<div class="greet-bubble-info-label">' .
                        esc_html__('Customize the font family, size, weight, and style for the small “Hi” text inside the bubble.', 'greet-bubble') .
                        '</div>' .
                        '<a class="tooltip_btn_primary" href="' . GREET_BUBBLE_DEMO_URL . '?ref=1" target="_blank">' .
                        esc_html__('Live Demo', 'greet-bubble') .
                        '</a>' .
                        '<a class="tooltip_btn_secondary" href="' . GREET_BUBBLE_DOCS_URL . 'greet-bubble-settings/typography/" target="_blank">' .
                        esc_html__('Open Docs', 'greet-bubble') .
                        '</a>',
                ),
                array(
                    'id'    => 'buttons_typography',
                    'class'  => 'greet_bubble_pro_only',
                    'type'  => 'typography',
                    'title' => esc_html__('Buttons Typography', 'greet-bubble'),
                    'color' => false,
                    'text_align'    => false,
                    'desc' => esc_html__('To unlock these typography settings (940+ Google Fonts), ', 'greet-bubble') . '<a href="https://themeatelier.net/downloads/greet-bubble"><b>' . esc_html__('Upgrade to Pro', 'greet-bubble') . '</b></a>.',
                    'title_help' => '<div class="greet-bubble-info-label">' . esc_html__('Customize the font family, size, weight, and style for the bubble buttons.', 'greet-bubble') . '</div>' . '<a class="tooltip_btn_primary" href="' . GREET_BUBBLE_DOCS_URL . 'greet-bubble-settings/typography/" target="_blank">' . esc_html__('Open Docs', 'greet-bubble') . '</a>',
                ),
            )
        ));
    }
}
