| @@ -12,10 +12,33 @@ | ||
| 12 | 12 | <div class="wrap"> |
| 13 | 13 | <h1 style="display:none">BerqWP</h1> |
| 14 | 14 | <div></div> |
| 15 | 15 | <div id="berqwp-intro"> |
| 16 | + <img src="<?php echo esc_attr(optifer_URL . '/admin/img/logo.png'); ?>" alt="BerqWP" class="logo"> | |
| 16 | 17 | <h2 class="title">Automate performance optimization with just a few clicks</h2> |
| 17 | 18 | |
| 19 | + <div class="cta-btns"> | |
| 20 | + <a href="https://berqwp.com/pricing/?source=plugin-intro-page" class="btn" target="_blank"> | |
| 21 | + <svg width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| 22 | + <path | |
| 23 | + d="M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8ZM12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4ZM19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z" | |
| 24 | + fill="white" /> | |
| 25 | + </svg> | |
| 26 | + Get Premium | |
| 27 | + </a> | |
| 28 | + <a href="<?php echo esc_attr(admin_url('admin.php?page=berqwp&activate-free')); ?>" class="btn secondary"> | |
| 29 | + <svg width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| 30 | + <path | |
| 31 | + d="M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 16H5.17L4 17.17V4H20V16Z" | |
| 32 | + fill="#222" /> | |
| 33 | + <path d="M12 15L13.57 11.57L17 10L13.57 8.43L12 5L10.43 8.43L7 10L10.43 11.57L12 15Z" | |
| 34 | + fill="#222" /> | |
| 35 | + </svg> | |
| 36 | + | |
| 37 | + Continue Free | |
| 38 | + </a> | |
| 39 | + </div> | |
| 40 | + | |
| 18 | 41 | <?php if (berqwp_is_license_managed_by_network()): ?> |
| 19 | 42 | <div style="text-align: center; padding: 20px;"> |
| 20 | 43 | <p style="font-size: 16px;">The license key for this plugin is managed at the <strong>Network Admin</strong> level.</p> |
| 21 | 44 | <?php if (current_user_can('manage_network_options')): ?> |
| @@ -29,11 +52,11 @@ | ||
| 29 | 52 | <form class="berqwp-onboard-form" action="" method="post" autocomplete="off"> |
| 30 | 53 | <?php wp_nonce_field('berqwp_save_settings', 'berqwp_save_nonce'); ?> |
| 31 | 54 | <input type="hidden" name="berqwp_intro_page" value="1"> |
| 32 | 55 | <div class="optimization-method-block"> |
| 33 | - <h3>Choose Optimization Method:</h3> | |
| 34 | - <p>Run optimization locally for free, or use BerqWP cloud for better performance and full feature access.</p> | |
| 35 | - <div class="optimization-method-options"> | |
| 56 | + <!-- <h3>Choose Optimization Method:</h3> --> | |
| 57 | + <!-- <p>Continue with free optimization or activate license key for premium performance and full feature access.</p> --> | |
| 58 | + <div class="optimization-method-options" style="display:none"> | |
| 36 | 59 | <input type="radio" id="berqwp-om-local" name="berqwp_optimization_method" value="local"> |
| 37 | 60 | <label for="berqwp-om-local" class="optimization-method"> |
| 38 | 61 | <div class="icon"> |
| 39 | 62 | <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-server-icon lucide-server"> |
| @@ -44,9 +67,9 @@ | ||
| 44 | 67 | </svg> |
| 45 | 68 | </div> |
| 46 | 69 | Optimize locally (free) |
| 47 | 70 | </label> |
| 48 | - <input type="radio" id="berqwp-om-cloud" name="berqwp_optimization_method" value="cloud"> | |
| 71 | + <input type="radio" id="berqwp-om-cloud" name="berqwp_optimization_method" value="cloud" checked> | |
| 49 | 72 | <label for="berqwp-om-cloud" class="optimization-method"> |
| 50 | 73 | <div class="icon"> |
| 51 | 74 | <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-cloudy-icon lucide-cloudy"> |
| 52 | 75 | <path d="M17.5 12a1 1 0 1 1 0 9H9.006a7 7 0 1 1 6.702-9z" /> |
| @@ -63,9 +86,9 @@ | ||
| 63 | 86 | <input type="email" name="berqwp_local_user_email" placeholder="Enter your email (optional)"> |
| 64 | 87 | <button type="submit" disabled>Continue</button> |
| 65 | 88 | </div> |
| 66 | 89 | </div> |
| 67 | - <div class="continue-cloud" style="display: none;"> | |
| 90 | + <div class="continue-cloud"> | |
| 68 | 91 | <div class="inner"> |
| 69 | 92 | <input type="password" name="berqwp_license_key" placeholder="Enter your license key" autocomplete="off"> |
| 70 | 93 | <button type="submit" disabled>Activate</button> |
| 71 | 94 | |
| @@ -74,16 +97,16 @@ | ||
| 74 | 97 | if (!empty($error)) { |
| 75 | 98 | echo wp_kses_post('<p style="color:red">' . $error . '</p>'); |
| 76 | 99 | } |
| 77 | 100 | ?> |
| 78 | - <p class="license-msg" style="text-align: center;">Create an account to obtain a <a href="https://berqwp.com/pricing/" target="_blank">BerqWP license key</a>.</p> | |
| 101 | + <p class="license-msg" style="text-align: center;">Create an account to obtain a <a href="https://berqwp.com/pricing/?source=plugin-intro-page" target="_blank">BerqWP license key</a>.</p> | |
| 79 | 102 | </div> |
| 80 | 103 | </form> |
| 81 | 104 | |
| 82 | 105 | <?php endif; ?> |
| 83 | - <div class="cta-btns" style="display: none;"> | |
| 106 | + <!-- <div class="cta-btns"> | |
| 84 | 107 | <a href="https://berqwp.com/pricing/?source=plugin-intro-page" class="btn" target="_blank"> |
| 85 | - <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| 108 | + <svg width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| 86 | 109 | <path |
| 87 | 110 | d="M12 8L15 13.2L18 10.5L17.3 14H6.7L6 10.5L9 13.2L12 8ZM12 4L8.5 10L3 5L5 16H19L21 5L15.5 10L12 4ZM19 18H5V19C5 19.6 5.4 20 6 20H18C18.6 20 19 19.6 19 19V18Z" |
| 88 | 111 | fill="white" /> |
| 89 | 112 | </svg> |
| @@ -89,9 +112,9 @@ | ||
| 89 | 112 | </svg> |
| 90 | 113 | Purchase Premium |
| 91 | 114 | </a> |
| 92 | 115 | <a href="https://berqwp.com/free-account/?source=plugin-intro-page" class="btn" target="_blank"> |
| 93 | - <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| 116 | + <svg width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| 94 | 117 | <path |
| 95 | 118 | d="M20 2H4C2.9 2 2 2.9 2 4V22L6 18H20C21.1 18 22 17.1 22 16V4C22 2.9 21.1 2 20 2ZM20 16H5.17L4 17.17V4H20V16Z" |
| 96 | 119 | fill="white" /> |
| 97 | 120 | <path d="M12 15L13.57 11.57L17 10L13.57 8.43L12 5L10.43 8.43L7 10L10.43 11.57L12 15Z" |
| @@ -97,11 +120,15 @@ | ||
| 97 | 120 | <path d="M12 15L13.57 11.57L17 10L13.57 8.43L12 5L10.43 8.43L7 10L10.43 11.57L12 15Z" |
| 98 | 121 | fill="white" /> |
| 99 | 122 | </svg> |
| 100 | 123 | |
| 101 | - Get Free Account | |
| 124 | + Get Free License | |
| 102 | 125 | </a> |
| 103 | - </div> | |
| 126 | + </div> --> | |
| 127 | + | |
| 128 | + <!-- <div class="berqwp-continue-free"> | |
| 129 | + <a href="<?php echo esc_attr(admin_url('admin.php?page=berqwp&activate-free')); ?>">Continue self-hosted</a> | |
| 130 | + </div> --> | |
| 104 | 131 | </div> |
| 105 | 132 | </div> |
| 106 | 133 | <!--<script src="<?php echo esc_attr(optifer_URL . '/admin/js/bootstrap-slider.js?v=' . BERQWP_VERSION); ?>"></script>--> |
| 107 | 134 | <script> |