5
5
6
6
<a href =" {{ route (' admin.dashboard.index' ) } }" >
7
7
<img
8
- class =" h-10"
8
+ class =" h-10"
9
9
src =" {{ request ()-> cookie (' dark_mode' ) ? admin_vite ()-> asset (' images/dark-logo.svg' ) : admin_vite ()-> asset (' images/logo.svg' ) } }"
10
10
id =" logo-image"
11
11
alt =" {{ config (' app.name' ) } }"
@@ -18,15 +18,15 @@ class="h-10"
18
18
<v-mega-search >
19
19
<div class =" relative flex w-[525px] max-w-[525px] items-center max-lg:w-[400px] ltr:ml-2.5 rtl:mr-2.5" >
20
20
<i class =" icon-search absolute top-1.5 flex items-center text-2xl ltr:left-3 rtl:right-3" ></i >
21
-
22
- <input
23
- type =" text"
21
+
22
+ <input
23
+ type =" text"
24
24
class =" block w-full rounded-3xl border bg-white px-10 py-1.5 leading-6 text-gray-600 transition-all hover:border-gray-400 dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300"
25
- placeholder =" @lang (' admin::app.components.layouts.header.mega-search.title' )"
25
+ placeholder =" @lang (' admin::app.components.layouts.header.mega-search.title' )"
26
26
>
27
27
</div >
28
28
</v-mega-search >
29
-
29
+
30
30
<!-- Quick create section -->
31
31
<div >
32
32
@if (bouncer ()-> hasPermission (' leads.create' )
@@ -57,111 +57,111 @@ class="block w-full rounded-3xl border bg-white px-10 py-1.5 leading-6 text-gray
57
57
<a href =" {{ route (' admin.leads.create' ) } }" >
58
58
<div class =" flex flex-col gap-1" >
59
59
<i class =" icon-leads text-2xl text-gray-600" ></i >
60
-
60
+
61
61
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.lead' )</span >
62
62
</div >
63
63
</a >
64
64
</div >
65
65
@endif
66
-
66
+
67
67
<!-- Link to create new Quotes -->
68
68
@if (bouncer ()-> hasPermission (' quotes.create' ) )
69
69
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
70
70
<a href =" {{ route (' admin.quotes.create' ) } }" >
71
71
<div class =" flex flex-col gap-1" >
72
72
<i class =" icon-quote text-2xl text-gray-600" ></i >
73
-
73
+
74
74
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.quote' )</span >
75
75
</div >
76
76
</a >
77
77
</div >
78
78
@endif
79
-
79
+
80
80
<!-- Link to send new Mail-->
81
81
@if (bouncer ()-> hasPermission (' mail.create' ) )
82
82
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
83
83
<a href =" {{ route (' admin.mail.index' , [' route' => ' inbox' ]) } }" >
84
84
<div class =" flex flex-col gap-1" >
85
85
<i class =" icon-mail text-2xl text-gray-600" ></i >
86
-
86
+
87
87
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.email' )</span >
88
88
</div >
89
89
</a >
90
90
</div >
91
91
@endif
92
-
92
+
93
93
<!-- Link to create new Person-->
94
94
@if (bouncer ()-> hasPermission (' contacts.persons.create' ) )
95
95
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
96
96
<a href =" {{ route (' admin.contacts.persons.create' ) } }" >
97
97
<div class =" flex flex-col gap-1" >
98
98
<i class =" icon-settings-user text-2xl text-gray-600" ></i >
99
-
99
+
100
100
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.person' )</span >
101
101
</div >
102
102
</a >
103
103
</div >
104
104
@endif
105
-
105
+
106
106
<!-- Link to create new Organizations -->
107
107
@if (bouncer ()-> hasPermission (' contacts.organizations.create' ) )
108
108
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
109
109
<a href =" {{ route (' admin.contacts.organizations.create' ) } }" >
110
110
<div class =" flex flex-col gap-1" >
111
111
<i class =" icon-organization text-2xl text-gray-600" ></i >
112
-
112
+
113
113
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.organization' )</span >
114
114
</div >
115
115
</a >
116
116
</div >
117
117
@endif
118
-
118
+
119
119
<!-- Link to create new Products -->
120
120
@if (bouncer ()-> hasPermission (' products.create' ) )
121
121
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
122
122
<a href =" {{ route (' admin.products.create' ) } }" >
123
123
<div class =" flex flex-col gap-1" >
124
124
<i class =" icon-product text-2xl text-gray-600" ></i >
125
-
125
+
126
126
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.product' )</span >
127
127
</div >
128
128
</a >
129
129
</div >
130
130
@endif
131
-
131
+
132
132
<!-- Link to create new Attributes -->
133
133
@if (bouncer ()-> hasPermission (' settings.automation.attributes.create' ) )
134
134
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
135
135
<a href =" {{ route (' admin.settings.attributes.create' ) } }" >
136
136
<div class =" flex flex-col gap-1" >
137
137
<i class =" icon-attribute text-2xl text-gray-600" ></i >
138
-
138
+
139
139
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.attribute' )</span >
140
140
</div >
141
141
</a >
142
142
</div >
143
143
@endif
144
-
144
+
145
145
<!-- Link to create new Role -->
146
146
@if (bouncer ()-> hasPermission (' settings.user.roles.create' ) )
147
147
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
148
148
<a href =" {{ route (' admin.settings.roles.create' ) } }" >
149
149
<div class =" flex flex-col gap-1" >
150
150
<i class =" icon-role text-2xl text-gray-600" ></i >
151
-
151
+
152
152
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.role' )</span >
153
153
</div >
154
154
</a >
155
155
</div >
156
156
@endif
157
-
157
+
158
158
<!-- Link to create new User-->
159
159
@if (bouncer ()-> hasPermission (' settings.user.users.create' ) )
160
160
<div class =" rounded-lg bg-white p-2 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-950" >
161
161
<a href =" {{ route (' admin.settings.users.index' ) } }" >
162
162
<div class =" flex flex-col gap-1" >
163
163
<i class =" icon-user text-2xl text-gray-600" ></i >
164
-
164
+
165
165
<span class =" font-medium dark:text-gray-300" >@lang (' admin::app.layouts.user' )</span >
166
166
</div >
167
167
</a >
@@ -184,16 +184,16 @@ class="{{ request()->cookie('dark_mode') ? 'icon-light' : 'icon-dark' }} p-1.5 r
184
184
></span >
185
185
</div >
186
186
</v-dark >
187
-
187
+
188
188
<!-- Notification Component -->
189
189
<span class =" relative flex" >
190
- <span
191
- class =" icon-notification cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-100 dark:hover:bg-gray-950"
190
+ <span
191
+ class =" icon-notification cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-100 dark:hover:bg-gray-950"
192
192
title =" @lang (' admin::app.components.layouts.header.notifications' )"
193
193
>
194
194
</span >
195
195
</span >
196
-
196
+
197
197
<!-- Admin profile -->
198
198
<x-admin::dropdown position =" bottom-right" >
199
199
<x-slot:toggle >
@@ -222,7 +222,7 @@ class="w-full"
222
222
223
223
<!-- Version -->
224
224
<p class =" text-gray-400" >
225
- Version: v{{ config ( ' app. version' ) } }
225
+ Version: v{{ core () -> version ( ) } }
226
226
</p >
227
227
</div >
228
228
@@ -263,11 +263,11 @@ class="cursor-pointer px-5 py-2 text-base text-gray-800 hover:bg-gray-100 dark:t
263
263
< div class = " relative flex w-[525px] max-w-[525px] items-center max-lg:w-[400px] ltr:ml-2.5 rtl:mr-2.5" >
264
264
< i class = " icon-search absolute top-1.5 flex items-center text-2xl ltr:left-3 rtl:right-3" >< / i>
265
265
266
- < input
266
+ < input
267
267
type= " text"
268
268
class = " peer block w-full rounded-3xl border bg-white px-10 py-1.5 leading-6 text-gray-600 transition-all hover:border-gray-400 focus:border-gray-400 dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300 dark:hover:border-gray-400 dark:focus:border-gray-400"
269
269
: class = " {'border-gray-400': isDropdownOpen}"
270
- placeholder= " @lang (' Search' )"
270
+ placeholder= " @lang (' Search' )"
271
271
v- model .lazy = " searchTerm"
272
272
@click = " searchTerm.length >= 2 ? isDropdownOpen = true : {}"
273
273
v- debounce= " 500"
@@ -309,13 +309,13 @@ class="flex cursor-pointer justify-between gap-2.5 border-b border-slate-300 p-4
309
309
< p class = " text-base font-semibold text-gray-600 dark:text-gray-300" >
310
310
@ {{ product .name }}
311
311
< / p>
312
-
312
+
313
313
< p class = " text-gray-500" >
314
314
@ {{ " @lang (' :sku' )" .replace (' :sku' , product .sku ) }}
315
315
< / p>
316
316
< / div>
317
317
< / div>
318
-
318
+
319
319
<!-- Right Information -->
320
320
< div class = " grid place-content-center gap-1 text-right" >
321
321
<!-- Formatted Price -->
@@ -334,7 +334,7 @@ class="flex cursor-pointer justify-between gap-2.5 border-b border-slate-300 p-4
334
334
: href= " '{{ route (' admin.products.index' ) } } ?search=:query'.replace(':query', searchTerm)"
335
335
class = " cursor-pointer text-xs font-semibold text-brandColor transition-all hover:underline"
336
336
>
337
-
337
+
338
338
@ {{ ` @lang (' admin::app.components.layouts.header.mega-search.explore-all-matching-products' )` .replace (' :query' , searchTerm).replace (' :count' , searchedResults .products .length ) }}
339
339
< / a>
340
340
< / template>
@@ -370,13 +370,13 @@ class="flex cursor-pointer justify-between gap-2.5 border-b border-slate-300 p-4
370
370
< p class = " text-base font-semibold text-gray-600 dark:text-gray-300" >
371
371
@ {{ lead .title }}
372
372
< / p>
373
-
373
+
374
374
< p class = " text-gray-500" >
375
375
@ {{ lead .description }}
376
376
< / p>
377
377
< / div>
378
378
< / div>
379
-
379
+
380
380
<!-- Right Information -->
381
381
< div class = " grid place-content-center gap-1 text-right" >
382
382
<!-- Formatted Price -->
@@ -429,7 +429,7 @@ class="flex cursor-pointer justify-between gap-2.5 border-b border-slate-300 p-4
429
429
< p class = " text-base font-semibold text-gray-600 dark:text-gray-300" >
430
430
@ {{ person .name }}
431
431
< / p>
432
-
432
+
433
433
< p class = " text-gray-500" >
434
434
@ {{ person .emails .map ((item ) => ` ${ item .value } (${ item .label } )` ).join (' , ' ) }}
435
435
< / p>
@@ -480,7 +480,7 @@ class="flex cursor-pointer justify-between gap-2.5 border-b border-slate-300 p-4
480
480
< p class = " text-base font-semibold text-gray-600 dark:text-gray-300" >
481
481
@ {{ quote .subject }}
482
482
< / p>
483
-
483
+
484
484
< p class = " text-gray-500" >
485
485
@ {{ quote .description }}
486
486
< / p>
0 commit comments