<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Page: Dashboard
*/

if (!defined('ABSPATH'))
{
    exit;
}

require(PDAPP_ADMIN_PLUGIN_DIR .'pages/dashboard/components/html-style.php');
require(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/variant-script.php');
?>
<div id="productdesignerapp-wrapper">
    <div id="productdesignerapp-app" style="display: none;">
        <div class="container-fluid" v-if="langs.menu != undefined">
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/dashboard/html-topbar.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/dashboard/html-info.php'); ?>

            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/dashboard/components/html-modal.php'); ?>
            
            <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/html-toast.php'); ?>
        </div>
        <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/components/html-loading.php'); ?>

        <a href="<?php echo esc_url(PDAPP_HOME_URL. '/feedback');?>" target="_blank" class="btn btn-warning rounded-pill tooltip-left" :data-tooltip="langs.feedback" id="pdapp-feedback-btn">
            <span class="material-symbols-outlined fs-4">feedback</span>
        </a>

        <iframe id="pdapp-login-frame" class="d-none" src="<?php echo esc_url(PDAPP_HOME_URL. '/iframe'); ?>"></iframe>
    </div>
</div>
<?php
require(PDAPP_ADMIN_PLUGIN_DIR .'pages/dashboard/components/html-script.php');
?>