| @@ -11,13 +11,8 @@ | ||
| 11 | 11 | <span><?php esc_html_e('Pro', 'fluent-boards'); ?></span> |
| 12 | 12 | <?php endif; ?> |
| 13 | 13 | </a> |
| 14 | 14 | </div> |
| 15 | - <div class="fframe_handheld"> | |
| 16 | - <span></span> | |
| 17 | - <span></span> | |
| 18 | - <span></span> | |
| 19 | - </div> | |
| 20 | 15 | <ul class="fframe_menu"> |
| 21 | 16 | <?php foreach ($menuItems as $fluent_boards_item) { ?> |
| 22 | 17 | <?php $fluent_boards_has_submenu = !empty($fluent_boards_item['sub_items']); ?> |
| 23 | 18 | <li data-key="<?php echo esc_attr($fluent_boards_item['key']); ?>" |
| @@ -26,9 +21,11 @@ | ||
| 26 | 21 | <?php if (!empty($fluent_boards_item['target'])) : ?>target="_blank" rel="noopener" <?php endif; ?> |
| 27 | 22 | href="<?php echo esc_url($fluent_boards_item['permalink']); ?>"> |
| 28 | 23 | <?php echo esc_html(sanitize_text_field($fluent_boards_item['label'])); ?> |
| 29 | 24 | <?php if(!empty($fluent_boards_item['target'])): ?> |
| 30 | - <i class="el-icon" data-v-6fbb019e="" style="font-size: 12px;"><svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-6fbb019e=""><path fill="currentColor" d="M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"></path><path fill="currentColor" d="M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"></path></svg></i> | |
| 25 | + <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" aria-hidden="true" focusable="false"> | |
| 26 | + <path d="M13.0582 8.01999L6.49492 14.5833L5.41667 13.505L11.9792 6.94173H6.19524V5.41663H14.5833V13.8047H13.0582V8.01999Z" fill="#99A0AE"/> | |
| 27 | + </svg> | |
| 31 | 28 | <?php endif; ?> |
| 32 | 29 | <?php if ($fluent_boards_has_submenu) { ?> |
| 33 | 30 | <span class="dashicons dashicons-arrow-down-alt2"></span> |
| 34 | 31 | <?php } ?></a> |
| @@ -44,12 +41,35 @@ | ||
| 44 | 41 | </ul> |
| 45 | 42 | </div> |
| 46 | 43 | <div class="fbs_menu_action"> |
| 47 | 44 | <div class="fbs_menu_actions" id="fluent_app_actions"></div> |
| 45 | + <?php | |
| 46 | + if (!defined('FLUENT_BOARDS_PRO')) { | |
| 47 | + ?> | |
| 48 | + <a | |
| 49 | + href="<?php echo esc_url(fluent_boards_get_upgrade_url('top_bar')); ?>" | |
| 50 | + class="el-button el-button--primary no-underline fbs_menu_action__upgrade"> | |
| 51 | + <span> | |
| 52 | + <?php esc_html_e('Upgrade to Pro', 'fluent-boards'); ?> | |
| 53 | + </span> | |
| 54 | + </a> | |
| 55 | + <?php | |
| 56 | + } | |
| 57 | + ?> | |
| 48 | 58 | <?php do_action('fluent_boards/in_menu_actions'); ?> |
| 49 | 59 | </div> |
| 50 | 60 | </div> |
| 51 | - <ul class="fframe_menu fframe_menu_small_screen"> | |
| 61 | + <div class="fframe_menu_overlay" data-fbs-menu-overlay></div> | |
| 62 | + <ul class="fframe_menu fframe_menu_small_screen" id="fframe_mobile_menu" | |
| 63 | + aria-label="<?php esc_attr_e('Navigation Menu', 'fluent-boards'); ?>"> | |
| 64 | + <li class="fframe_menu_close_item"> | |
| 65 | + <button type="button" class="fframe_offcanvas_close" data-fbs-menu-close | |
| 66 | + aria-label="<?php esc_attr_e('Close Navigation Menu', 'fluent-boards'); ?>"> | |
| 67 | + <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"> | |
| 68 | + <path d="M9.99956 8.93955L13.7121 5.22705L14.7726 6.28755L11.0601 10.0001L14.7726 13.7126L13.7121 14.7731L9.99956 11.0606L6.28706 14.7731L5.22656 13.7126L8.93906 10.0001L5.22656 6.28755L6.28706 5.22705L9.99956 8.93955Z" fill="currentColor"/> | |
| 69 | + </svg> | |
| 70 | + </button> | |
| 71 | + </li> | |
| 52 | 72 | <?php foreach ($menuItems as $fluent_boards_item) { ?> |
| 53 | 73 | <?php $fluent_boards_has_submenu = !empty($fluent_boards_item['sub_items']); ?> |
| 54 | 74 | <li data-key="<?php echo esc_attr($fluent_boards_item['key']); ?>" |
| 55 | 75 | class="fframe_menu_item <?php echo ($fluent_boards_has_submenu) ? 'fframe_has_sub_items' : ''; ?> fframe_item_<?php echo esc_attr($fluent_boards_item['key']); ?> <?php echo esc_attr($fluent_boards_item['class'] ?? '') ?? ''; ?>"> |
| @@ -57,9 +77,11 @@ | ||
| 57 | 77 | <?php if (!empty($fluent_boards_item['target'])) : ?>target="_blank" rel="noopener" <?php endif; ?> |
| 58 | 78 | href="<?php echo esc_url($fluent_boards_item['permalink']); ?>"> |
| 59 | 79 | <?php echo esc_html(sanitize_text_field($fluent_boards_item['label'])); ?> |
| 60 | 80 | <?php if(!empty($fluent_boards_item['target'])): ?> |
| 61 | - <i class="el-icon" data-v-6fbb019e="" style="font-size: 12px;"><svg width="12px" height="12px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-6fbb019e=""><path fill="currentColor" d="M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"></path><path fill="currentColor" d="M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"></path></svg></i> | |
| 81 | + <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" aria-hidden="true" focusable="false"> | |
| 82 | + <path d="M13.0582 8.01999L6.49492 14.5833L5.41667 13.505L11.9792 6.94173H6.19524V5.41663H14.5833V13.8047H13.0582V8.01999Z" fill="#99A0AE"/> | |
| 83 | + </svg> | |
| 62 | 84 | <?php endif; ?> |
| 63 | 85 | <?php if ($fluent_boards_has_submenu) { ?> |
| 64 | 86 | <span class="dashicons dashicons-arrow-down-alt2"></span> |
| 65 | 87 | <?php } ?></a> |
| @@ -69,8 +91,16 @@ | ||
| 69 | 91 | <a href="<?php echo esc_url($fluent_boards_sub_item['permalink']); ?>"><?php echo esc_attr($fluent_boards_sub_item['label']); ?></a> |
| 70 | 92 | <?php } ?> |
| 71 | 93 | </div> |
| 72 | 94 | <?php } ?> |
| 95 | + </li> | |
| 96 | + <?php } ?> | |
| 97 | + <?php if (!defined('FLUENT_BOARDS_PRO')) { ?> | |
| 98 | + <li data-key="get_pro" class="fframe_menu_item fframe_item_get_pro"> | |
| 99 | + <a class="fframe_menu_primary" | |
| 100 | + href="<?php echo esc_url(fluent_boards_get_upgrade_url('sidebar_cta')); ?>"> | |
| 101 | + <?php esc_html_e('Upgrade to Pro', 'fluent-boards'); ?> | |
| 102 | + </a> | |
| 73 | 103 | </li> |
| 74 | 104 | <?php } ?> |
| 75 | 105 | </ul> |
| 76 | 106 | <div class="fframe_body"> |