<?php
add_action( 'admin_menu', 'dark_realm_getting_started' );
function dark_realm_getting_started() {
	add_theme_page( esc_html__('Dark Realm Theme', 'dark-realm'), esc_html__('Dark Realm Theme', 'dark-realm'), 'edit_theme_options', 'dark-realm-guide-page', 'dark_realm_test_guide');
}

// Add a Custom CSS file to WP Admin Area
function dark_realm_admin_theme_style() {
   wp_enqueue_style('custom-admin-style', esc_url(get_stylesheet_directory_uri()) . '/inc/get-started/get-started.css');
}
add_action('admin_enqueue_scripts', 'dark_realm_admin_theme_style');

// Guidline for about theme
function dark_realm_test_guide() { 
	// Custom function about theme customizer
	$return = add_query_arg( array()) ;
	$theme = wp_get_theme( 'dark-realm' );
?>
<div class="wrapper-info">
	<div class="intro row">
		<div class="col-lg-6">
			<h1 class="theme-title"><?php esc_html_e( 'Dark Realm WordPress Theme', 'dark-realm' ); ?> - <small> <?php echo esc_html($theme['Version']);?> </small></h1>
		
			<p><b><?php esc_html_e('Dark Realm Theme ','dark-realm'); ?></b><?php esc_html_e('is now installed and ready to use. We hope the following information will help and you enjoy using it!', 'dark-realm'); ?></p>
			<a class="bg-color-2 " href="<?php echo esc_url( DarkRealm_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Preview Theme', 'dark-realm'); ?></a>
			<a class="bg-color " href="<?php echo esc_url( DarkRealm_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Upgrade to Pro', 'dark-realm'); ?></a>
		</div>
		<div class="col-lg-6">
			
			<div class="image_dark-realm"> 
			<img role="img" src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/mockup.png" alt="" />
		</div>
		</div>
		
	</div>
	
	<div class="features">
		<div class="row">
		<div class="col">
		<h4><?php esc_html_e('Unlock Premium Features', 'dark-realm'); ?></h4>
				<p><?php esc_html_e('Unlock the full potential of your website with our Pro theme upgrade.', 'dark-realm'); ?></p>
				<a class="bg-color-3" href="<?php echo esc_url( DarkRealm_BUY_NOW ); ?>" target="_blank"><?php esc_html_e('Upgrade Now', 'dark-realm'); ?></a>
		</div>
		<div class="col">
		<h4><?php esc_html_e('Only Company with 24h Chat Support & Email', 'dark-realm'); ?></h4>
				<p><?php esc_html_e('Enjoy the convenience of round-the-clock customer support with our 24-hour chat and email services. We\'re here for you whenever you need us.', 'dark-realm'); ?></p>
				
		</div>
		<div class="col">
		<h4><?php esc_html_e('+ 30 Costumized Patterns', 'dark-realm'); ?></h4>
				<p><?php esc_html_e('Explore our diverse range of over 30 unique patterns, designed to suit your style and preferences.', 'dark-realm'); ?></p>
				
		</div>
		<div class="col">
		<h4><?php esc_html_e('+20 Personalized Pages and Effects', 'dark-realm'); ?></h4>
				<p><?php esc_html_e('Transform your website with our selection of +20 personalized pages and effects, tailored to make your online presence truly stand out.', 'dark-realm'); ?></p>
				
		</div>
		</div>
		
	</div>

	
</div>
<?php } ?>