<?php
if ( ! function_exists( 'naeca_admin_page' ) ) {
  function naeca_admin_page(){ ?>
  <div class="wrap">
    <h1>Welcome to the <strong>eCommerce Addon</strong></h1>

    <div class="card naeca-normal-card card-primary">
    	<h2 class="title">Description</h2>
	    <p>eCommerce Addon covers all the must-needed elements for creating a perfect eCommerce website using Elementor Page Builder. 20+ Unique & Basic Elementor widget covers all of the eCommerce elements.</p>
	    <a href="https://wordpress.org/plugins/ecommerce-addon/" class="docs button button-primary" target="_blank">Plugin Page</a>
	    <a href="https://nicheaddons.com/demos/ecommerce/elements/" class="docs button button-primary" target="_blank">All Elements</a>
	    <a href="?page=naeca_admin_page-contact" class="docs button button-primary" target="_blank">Support</a>
    </div>

    <div class="card naeca-normal-card card-secondary">
    	<h2 class="title">Demo Websites</h2>
	    <ul>
	    	<li><a href="https://nicheaddons.com/demos/ecommerce/furniture/" target="_blank">Furniture</a></li>
	      <li><a href="https://nicheaddons.com/demos/ecommerce/accessories/" target="_blank">Accessories</a></li>
        <li><a href="https://nicheaddons.com/demos/ecommerce/fashion/" target="_blank">Fashion</a></li>
	      <li><a href="https://nicheaddons.com/demos/ecommerce/graphic-elements/" target="_blank">Graphic Elements</a></li>
	    </ul>
    </div>

    <div class="card naeca-normal-card card-primary">
    	<h2 class="title">Enable & Disable - Widgets</h2>
	    <p>You can now enable and disable the unused widgets from Resataurand Add-On. These settings will allow you to control the clutter-free Elementor editor experience.</p>
	    <a href="admin.php?page=naeca_admin_sub_page" class="docs button button-primary">Check Out</a>
    </div>

  </div>
  <?php
  }
}