<?php
/**
 * rasti Lite about theme
 *
 * @package rasti Lite about theme
 */
 
define('RASTILITE_THEME_URL','https://creativemarket.com/themesvila/5952639-Rasti-Digital-Agency-WordPress');
define('RASTILITE_LIVE_DEMO','https://wpdemothemes.com/rasti/');
 
//about theme info
add_action( 'admin_menu', 'bhost_abouttheme' );
function bhost_abouttheme() {    	
	add_theme_page( __('About Theme', 'rasti-lite'), __('About Theme', 'rasti-lite'), 'edit_theme_options', 'bhost_theme_guide', 'bhost_theme_mostrar_guide');   
} 

//guidline for about theme
function bhost_theme_mostrar_guide() { 
	//custom function about theme customizer
	$return = add_query_arg( array()) ;
?>

<style type="text/css">
@media screen and (min-width: 800px) {
.col-left {float:left; width: 57%; padding: 1%;}
.col-left img{
	max-width: 100%;
}
.col-right {float:right; width: 38%; padding:1%; border-left:1px solid #DDDDDD; }
}
</style>

<div class="wrapper-info">
	<div class="col-left">
		<a href="<?php echo RASTILITE_THEME_URL; ?>" target="_blank">
			<img src="<?php echo esc_url(get_template_directory_uri());?>/assets/img/rasti_pro.jpg" alt="">
		</a>		
	</div><!-- .col-left -->
	
	<div class="col-right">
		<div style="font-size:16px; font-weight:bold; padding-bottom:5px; border-bottom:1px solid #ccc;">
			  <?php esc_html_e('About Theme Info', 'rasti-lite'); ?>
		   </div>
          <h4><?php esc_html_e('Rasti Pro - Digital Agency WordPress Theme ','rasti-lite'); ?></h4>
		  <p>
			<?php esc_html_e('Rasti Pro is a Responsive Digital Agency WordPress Theme fresh and clean Design.It makes for corporate, creative agencies and other businesses website. It looks excellent on all major browsers, tablets and phones. Just take the best WordPress Theme of your choice, change the content, add your images and done!' , 'rasti-lite');?> 
		  </p>
		  
			<h3><?php esc_html_e('Rasti Pro Features', 'rasti-lite'); ?></h3>
		<?php $rasti_features = "
			<ul>
				<li>Clean and <strong>Professional</strong> Design</li>
				<li>Cross Browser Compatible</li>
				<li>Fully Responsive</li>
				<li>Home Slider</li>
				<li>SEO Friendly</li>
				<li>Elementor - Drag and Drop Page Builder</li>
				<li>Unlimited Theme Colors</li>
				<li>WooCommerce Supported</li>        
				<li>Free Support &#38; Updates</li>    
				<li>Contact Form 7</li>
				<li>Video Documentaion</li>
				<li>Well Documented</li>
				<li>Wow Animation</li>
				<li>And Much More..</li>
			</ul>
		  ";
		  
		  echo $rasti_features;
		  ?>	

		<div style="text-align:center; font-weight:bold;">
			<hr />
			<a href="<?php echo RASTILITE_LIVE_DEMO; ?>" target="_blank"><?php esc_html_e('Live Demo', 'rasti-lite'); ?></a> | 
			<a href="<?php echo RASTILITE_THEME_URL; ?>" target="_blank"><?php esc_html_e('Buy Pro Version', 'rasti-lite'); ?></a> 
			<div style="height:5px"></div>
			<hr />                
		</div>		  
	</div><!-- .col-right -->
</div><!-- .wrapper-info -->
<?php } ?>