| @@ -6,8 +6,9 @@ | ||
| 6 | 6 | * Available variables |
| 7 | 7 | * |
| 8 | 8 | * @var string $upgradeUrl |
| 9 | 9 | * @var string $contactUsUrl |
| 10 | + * @var string $documentationUrl | |
| 10 | 11 | */ |
| 11 | 12 | |
| 12 | 13 | $accountURL = tpt_fs()->get_account_url(); |
| 13 | 14 | ?> |
| @@ -14,12 +15,12 @@ | ||
| 14 | 15 | <div class="tpt-alert"> |
| 15 | 16 | |
| 16 | 17 | <div class="tpt-alert__text"> |
| 17 | 18 | <div class="tpt-alert__inner"> |
| 18 | - <?php | |
| 19 | - esc_html_e( 'Upgrade your plan to unlock the great premium features', 'tier-pricing-table' ); | |
| 20 | - ?> | |
| 21 | - 🚀 | |
| 19 | + <span style="margin-left: 6px;"> | |
| 20 | + <?php esc_html_e( 'Tiered Pricing Table', 'tier-pricing-table' ); ?> | |
| 21 | + </span> | |
| 22 | + <span class="tpt-badge tpt-badge--free"><?php esc_html_e( 'Free', 'tier-pricing-table' ); ?></span> | |
| 22 | 23 | <?php if ( tpt_fs()->is_activation_mode() ) : ?> |
| 23 | 24 | <br> |
| 24 | 25 | <br> |
| 25 | 26 | <?php |
| @@ -30,9 +31,9 @@ | ||
| 30 | 31 | ?> |
| 31 | 32 | <small style="font-size: .8em"> |
| 32 | 33 | <?php |
| 33 | 34 | // translators: %s: activation link |
| 34 | - echo wp_kses_post( sprintf( esc_html__( 'Please %s to proceed with upgrading.', 'tier-pricing-table' ), | |
| 35 | + echo wp_kses_post( sprintf( esc_html__( 'Please %s to upgrade.', 'tier-pricing-table' ), | |
| 35 | 36 | $upgradeLink ) ); |
| 36 | 37 | ?> |
| 37 | 38 | </small> |
| 38 | 39 | <?php endif; ?> |
| @@ -41,27 +42,35 @@ | ||
| 41 | 42 | |
| 42 | 43 | <div class="tpt-alert__buttons"> |
| 43 | 44 | <div class="tpt-alert__inner"> |
| 44 | 45 | |
| 45 | - <a class="tpt-button tpt-button--accent tpt-button--bounce" target="_blank" | |
| 46 | + <a class="tpt-button tpt-button--accent tpt-button--bounce" target="_blank" style="display: inline-flex; align-items: center;" | |
| 46 | 47 | href="<?php echo esc_attr( $upgradeUrl ); ?>"> |
| 47 | - <?php esc_html_e( 'Upgrade to Premium!', 'tier-pricing-table' ); ?> | |
| 48 | + <svg style="width: 16px; height: 16px; fill: currentColor; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg> | |
| 49 | + <?php esc_html_e( 'Upgrade to Premium', 'tier-pricing-table' ); ?> | |
| 48 | 50 | </a> |
| 49 | 51 | |
| 50 | - <a target="_blank" class="tpt-button tpt-button--default" href="<?php echo esc_attr( $contactUsUrl ); ?>"> | |
| 51 | - <?php esc_html_e( 'Contact us', 'tier-pricing-table' ); ?> | |
| 52 | + <a target="_blank" class="tpt-button tpt-button--default" style="display: inline-flex; align-items: center;" href="<?php echo esc_attr( $contactUsUrl ); ?>"> | |
| 53 | + <svg style="width: 16px; height: 16px; stroke: currentColor; fill: none; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg> | |
| 54 | + <?php esc_html_e( 'Contact Support', 'tier-pricing-table' ); ?> | |
| 52 | 55 | </a> |
| 56 | + | |
| 57 | + <a target="_blank" class="tpt-button tpt-button--default" style="display: inline-flex; align-items: center;" href="<?php echo esc_attr( $documentationUrl ); ?>"> | |
| 58 | + <svg style="width: 16px; height: 16px; stroke: currentColor; fill: none; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"/><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"/></svg> | |
| 59 | + <?php esc_html_e( 'Documentation', 'tier-pricing-table' ); ?> | |
| 60 | + </a> | |
| 53 | 61 | |
| 54 | 62 | <?php if ( tpt_fs()->is_activation_mode() ) : ?> |
| 55 | 63 | <a target="_blank" class="tpt-button tpt-button--default" |
| 56 | 64 | href="<?php echo esc_attr( tpt_fs()->get_activation_url() ); ?>"> |
| 57 | - Opt-in | |
| 65 | + <?php esc_html_e( 'Opt-in', 'tier-pricing-table' ); ?> | |
| 58 | 66 | </a> |
| 59 | 67 | <?php elseif ( tpt_fs()->get_user() ) : ?> |
| 60 | - <a target="_blank" class="tpt-button tpt-button--default" | |
| 68 | + <a target="_blank" class="tpt-button tpt-button--default" style="display: inline-flex; align-items: center;" | |
| 61 | 69 | href="<?php echo esc_attr( admin_url( 'admin.php?page=tiered-pricing-table-account' ) ); ?>"> |
| 62 | - Your account | |
| 70 | + <svg style="width: 16px; height: 16px; stroke: currentColor; fill: none; margin-right: 6px;" xmlns="http://www.w3.org/2000/svg" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 24 24"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg> | |
| 71 | + <?php esc_html_e( 'My Account', 'tier-pricing-table' ); ?> | |
| 63 | 72 | </a> |
| 64 | 73 | <?php endif; ?> |
| 65 | 74 | </div> |
| 66 | 75 | </div> |
| 67 | 76 | </div> |