addons-notice.php
11 months ago
wizard-recommender-notice.php
11 months ago
wizard-woocommerce-notice.php
11 months ago
wizard-recommender-notice.php
92 lines
| 1 | <?php |
| 2 | |
| 3 | use SuperbAddons\Admin\Controllers\DashboardController; |
| 4 | |
| 5 | defined('ABSPATH') || exit; |
| 6 | |
| 7 | $url = add_query_arg( |
| 8 | array( |
| 9 | 'page' => DashboardController::PAGE_WIZARD, |
| 10 | ), |
| 11 | admin_url("admin.php") |
| 12 | ); |
| 13 | ?> |
| 14 | <div class="notice notice-info superb-addons-wizard-notification is-dismissible <?php echo esc_attr($notice['unique_id']); ?>" style="background-image:url(<?php echo esc_url(SUPERBADDONS_ASSETS_PATH . '/img/illustration-cards-medium.jpg'); ?>);"> |
| 15 | <div class="superbthemes-module-purple-badge"><?php echo esc_html__("Superb Addons", "superb-blocks"); ?></div> |
| 16 | <br> |
| 17 | <h2 class="notice-title"><?php echo esc_html__("Start Designing", "superb-blocks"); ?> <br><?php echo esc_html__("Your Website", "superb-blocks"); ?></h2> |
| 18 | <p><?php echo esc_html__("Quickly customize your website’s design. Choose layouts for your menu, footer, homepage, blog, and more. Launch the Theme Designer now to easily create a website that looks just the way you want!", "superb-blocks"); ?></p> |
| 19 | |
| 20 | <a class='button button-large button-secondary' href='<?php echo esc_url($url); ?>'><?php echo esc_html__("Read More", "superb-blocks"); ?></a> |
| 21 | <a class='button button-large button-primary' href='<?php echo esc_url($url); ?>'><?php echo esc_html__("Launch Theme Designer", "superb-blocks"); ?></a> |
| 22 | |
| 23 | <style> |
| 24 | .superb-addons-wizard-notification { |
| 25 | background-repeat: no-repeat !important; |
| 26 | background-position: bottom right !important; |
| 27 | background-size: 530px !important; |
| 28 | padding: 30px !important; |
| 29 | } |
| 30 | |
| 31 | .superb-addons-wizard-notification h2 { |
| 32 | font-size: 36px !important; |
| 33 | line-height: 125% !important; |
| 34 | margin: 0 !important; |
| 35 | } |
| 36 | |
| 37 | .superb-addons-wizard-notification p { |
| 38 | color: #546E7A !important; |
| 39 | font-size: 17px !important; |
| 40 | margin: 15px 0 25px !important; |
| 41 | max-width: 550px !important; |
| 42 | } |
| 43 | |
| 44 | .superbthemes-module-purple-badge { |
| 45 | color: #6448E7 !important; |
| 46 | padding: 12px 15px !important; |
| 47 | background: #EDE7F6 !important; |
| 48 | border-radius: 30px !important; |
| 49 | margin-bottom: 10px !important; |
| 50 | font-weight: 500 !important; |
| 51 | display: inline-block !important; |
| 52 | font-size: 13px !important; |
| 53 | line-height: 1 !important; |
| 54 | } |
| 55 | |
| 56 | @media only screen and (max-width: 1280px) { |
| 57 | .superb-addons-wizard-notification p { |
| 58 | max-width: 430px !important; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | @media only screen and (max-width: 1160px) { |
| 63 | .superb-addons-wizard-notification { |
| 64 | background-position: bottom -10px right -210px !important; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | @media only screen and (max-width: 960px) { |
| 69 | .superb-addons-wizard-notification { |
| 70 | background-image: none !important; |
| 71 | } |
| 72 | |
| 73 | .superb-addons-wizard-notification p { |
| 74 | max-width: 100% !important; |
| 75 | } |
| 76 | |
| 77 | .superb-addons-wizard-notification h2 br { |
| 78 | display: none !important; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | @media only screen and (max-width: 800px) { |
| 83 | .superb-addons-wizard-notification p { |
| 84 | font-size: 15px !important; |
| 85 | } |
| 86 | |
| 87 | .superb-addons-wizard-notification h2 { |
| 88 | font-size: 28px !important; |
| 89 | } |
| 90 | } |
| 91 | </style> |
| 92 | </div> |