<?php
namespace Phox\import\demo;

/**
 * Space Demo
 * This is thirteenth demo for the theme
 * the primary color #3b0060
 *
 * @package Phox
 * @author WHMCSdes
 * @link https://whmcsdes.com
 */

class Space_Demo extends Demo {

    public function config() {

        return [
            'demo_id'                  => 'Space',
            'demo_num'                 => '19',
            'import_file_name'         => 'Space Demo',
            'import_file_url'          => 'https://www.whmcsdes.com/ca/dl.php?type=d&id=95',
            'import_widget_file_url'   => 'https://whmcsdes.com/phoxdemo/space/space_wordpress-widget.wie',
            'preview_url'              => 'https://phox.whmcsdes.com/demos/space',
            'import_preview_image_url' => 'https://whmcsdes.com/phoxdemo/space/space.jpg',
            'update_media_url'         => true,
            'elementor_kit'            => 'space kit'
        ];

    }

    public function theme_option()
    {
        $theme_options_json = wp_remote_retrieve_body( wp_remote_get( 'https://whmcsdes.com/phoxdemo/space/space_demo-2023-01-02.json' ) );

        return json_decode( $theme_options_json, true );
    }
}
