PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.4
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.4
1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk 1.2.0 All 47 releases
fluent-cart / app / Views / admin / menu.php

menu.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.6.4, at app/Views/admin/menu.php

99 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2
3 <div class="fct-menu">
4 <ul class="fct-menu-list">
5 <?php foreach ($menuItems as $itemSlug => $menuItem): ?>
6 <li class="fct-menu-list fct-menu-list_<?php echo esc_attr($itemSlug); ?>">
7 <a type="button" aria-label="<?php echo esc_attr($menuItem['label']) ?>"
8 href="<?php echo esc_url($menuItem['link']); ?>">
9 <span>
10 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="10" viewBox="0 0 16 10" fill="none">
11 <path d="M2.1665 5L14.6665 4.9998" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"></path>
12 <path d="M5.49992 0.833008L2.04036 4.29257C1.70703 4.6259 1.54036 4.79257 1.54036 4.99967C1.54036 5.20678 1.70703 5.37345 2.04036 5.70678L5.49992 9.16634" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
13 </svg>
14 </span>
15 <?php echo esc_attr($menuItem['label']); ?>
16 </a>
17 </li>
18 <?php endforeach; ?>
19 </ul>
20 <div class="fct-logo-wrap">
21 <a
22 aria-label="<?php __('FluentCart Logo', 'fluent-cart'); ?>"
23 title="<?php __('FluentCart Logo', 'fluent-cart'); ?>"
24 href="<?php echo esc_url(admin_url('admin.php?page=fluent-cart#/')); ?>">
25 <img src="<?php echo esc_url($logo); ?>"
26 alt="<?php __('FluentCart Logo', 'fluent-cart'); ?>"/>
27 </a>
28 </div>
29 </div>
30
31 <style>
32 .fct-menu {
33 display: flex;
34 align-items: center;
35 justify-content: space-between;
36 font-family: Inter, sans-serif;
37 padding: 10px 20px;
38 }
39 .fct-logo-wrap a {
40 width: 140px;
41 display: block;
42 }
43 .fct-logo-wrap a img{
44 width: 100%;
45 }
46 .fct-menu-list{
47 margin: 0;
48 padding: 0;
49 display: flex;
50 align-items: center;
51 gap: 6px;
52 }
53 .fct-menu-list a span{
54 margin-right: 10px;
55 }
56 .fct-menu-list a {
57 margin-bottom: 0px;
58 margin-right: 4px;
59 box-sizing: border-box;
60 display: flex;
61 cursor: pointer;
62 align-items: center;
63 justify-content: center;
64 border-radius: 8px;
65 border-width: 1px;
66 border-style: solid;
67 border-color: transparent;
68 padding-top: 10px;
69 padding-bottom: 10px;
70 padding-left: 12px;
71 padding-right: 12px;
72 text-align: center;
73 font-size: 16px;
74 font-weight: 500;
75 line-height: 1;
76 letter-spacing: 0.025em;
77 transition-property: none;
78 color: #253241;
79 text-decoration: none;
80 }
81 .fct-menu-list a:hover{
82 background: #eeecec;
83 }
84 .button-wrap {
85 text-align: center;
86 margin-top: 100px;
87 font-family: Inter, sans-serif;
88 }
89 .button-wrap .button{
90 padding: 12px 20px;
91 border-radius: 8px;
92 font-size: 16px;
93 font-weight: 500;
94 color: #fff;
95 text-decoration: none;
96 background: #253241;
97 }
98 </style>
99