<?php
if ( ! function_exists( 'narep_admin_page' ) ) {
  function narep_admin_page(){ ?>
  <div class="wrap">
    <h1>Welcome to the <strong>Restaurant & Cafe Addon for Elementor</strong></h1>

    <div class="card narep-normal-card card-primary">
    	<h2 class="title">Description</h2>
	    <p>Restaurant & Cafe Addon for Elementor covers all the must-needed elements for creating a perfect Restaurant website using Elementor Page Builder. 35+ Unique & Basic Elementor widget covers all of the Restaurant elements.</p>
	    <a href="https://wordpress.org/plugins/restaurant-cafe-addon-for-elementor/" class="docs button button-primary" target="_blank">Plugin Page</a>
	    <a href="https://nicheaddons.com/demos/restaurant/" class="docs button button-primary" target="_blank">Live Demo</a>
	    <a href="https://nicheaddons.com/demos/restaurant/elements/" class="docs button button-primary" target="_blank">All Elements</a>
    </div>

    <div class="card narep-normal-card card-secondary">
    	<h2 class="title">Useful Links</h2>
	    <ul>
	    	<li><a href="?page=narep_admin_page-contact">Support</a></li>
	    	<li><a href="https://nicheaddons.com/docs" target="_blank">Documentation</a></li>
	      <li><a href="https://wordpress.org/themes/nichebase/" target="_blank">NicheBase (Theme) - Download</a></li>
	      <li><a href="https://nicheaddons.com/themes/nichebase/" target="_blank">NicheBase (Theme) - Page</a></li>
	    </ul>
    </div>

    <div class="card narep-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=narep_admin_sub_page" class="docs button button-primary">Check Out</a>
    </div>

  </div>
  <?php
  }
}
