Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

Commit c689320

Browse files
committed
added livewire component for developer menus ui.
1 parent ae68674 commit c689320

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<div class="ml-3 relative">
2+
<x-jet-dropdown align="right" width="48">
3+
<x-slot name="trigger">
4+
<span class="inline-flex rounded-md">
5+
<button type="button" class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:bg-gray-50 hover:text-gray-700 focus:outline-none focus:bg-gray-50 active:bg-gray-50 transition">
6+
{{ __('Developer Menu') }}
7+
<svg class="ml-2 -mr-0.5 h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
8+
<path fill-rule="evenodd" d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" clip-rule="evenodd" />
9+
</svg>
10+
</button>
11+
</span>
12+
</x-slot>
13+
14+
<x-slot name="content">
15+
<x-jet-dropdown-link href="{{ route('developers.permissions') }}">
16+
{{ __('Permissions') }}
17+
</x-jet-dropdown-link>
18+
<x-jet-dropdown-link href="{{ route('developers.menus') }}">
19+
{{ __('Menus') }}
20+
</x-jet-dropdown-link>
21+
</x-slot>
22+
</x-jet-dropdown>
23+
</div>
24+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace LLoadoutInforce\Http\Livewire;
4+
5+
use Livewire\Component;
6+
7+
class DeveloperMenus extends Component
8+
{
9+
public function render()
10+
{
11+
return view('LLoadoutInforce-views::menu-ui.developer-desktop');
12+
}
13+
}

0 commit comments

Comments
 (0)