<?php

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

namespace ThemeAtelier\GreetBubble\Admin\Views;

use ThemeAtelier\GreetBubble\Admin\Views\GreetBubbleGeneral;
use ThemeAtelier\GreetBubble\Admin\Views\GreetBubbleControls;
use ThemeAtelier\GreetBubble\Admin\Views\GreetBubbleTypography;
use ThemeAtelier\GreetBubble\Admin\Framework\Classes\GREET_BUBBLE;

class BubbleMetaboxOptions
{
  /**
   * Custom CSS settings.
   *
   * @since 1.0.0
   * @param string $prefix BubbleMetaboxOptions.
   */
  public static function section($prefix)
  {
    GREET_BUBBLE::createMetabox($prefix, array(
      'title'         => esc_html__('Greet Bubble Options', 'greet-bubble'),
      'post_type'     => array('manage_bubble'),
      'framework_title'   => esc_html__('Greet Bubble', 'greet-bubble'),
      'theme'         => 'light',
      'nav'           => 'inline',
      'show_restore'  => false,
      'context'       => 'normal',
    ));

    GreetBubbleGeneral::options($prefix);
    GreetBubbleAppearance::options($prefix);
    GreetBubbleControls::options($prefix);
    GreetBubbleTypography::options($prefix);
  }
}
