Update navigation.blade.php
This commit is contained in:
@@ -111,7 +111,12 @@
|
||||
<ul class="relative shadow-md block w-11/12 mx-auto select-none " x-data="{ selected: null }">
|
||||
<li class="flex align-center flex-col">
|
||||
<h4 @click="selected !== 0 ? selected = 0 : selected = null" class="cursor-pointer px-5 py-3 bg-[#b221fd] text-white text-center inline-block hover:bg-[#7a02b8] hover:shadow rounded-lg">
|
||||
Admin
|
||||
@if (auth()->user()->subvendedor)
|
||||
Subvendedor
|
||||
@else
|
||||
Admin
|
||||
@endif
|
||||
|
||||
</h4>
|
||||
<p class="absolute bg-[#f2f4ff] rounded-md @if (auth()->user()->rol->nombre == 'editor') -top-[400%] @elseif (auth()->user()->rol->nombre == 'administrador') -top-[200%] @elseif (auth()->user()->rol->nombre == 'super') -top-[300%] @elseif (auth()->user()->subvendedor) -top-3 @else -top-[800%] @endif -right-[20%] sm:-right-[55%]" x-show="selected == 0">
|
||||
@if (auth()->user()->subvendedor)
|
||||
|
||||
Reference in New Issue
Block a user