2023-06-02 10:34:45 +00:00
|
|
|
<div class="pb-6">
|
2023-10-11 10:04:14 +00:00
|
|
|
<div class="flex items-end gap-2">
|
|
|
|
<h1>Team</h1>
|
2024-03-22 15:52:20 +00:00
|
|
|
<x-modal-input buttonTitle="+ Add" title="New Team">
|
2024-04-26 12:59:03 +00:00
|
|
|
<livewire:team.create />
|
2024-03-22 15:52:20 +00:00
|
|
|
</x-modal-input>
|
2023-10-11 10:04:14 +00:00
|
|
|
</div>
|
2024-04-26 12:09:54 +00:00
|
|
|
<div class="subtitle">Team wide configurations.</div>
|
2024-05-05 16:33:52 +00:00
|
|
|
<div class="navbar-main">
|
2024-05-06 11:58:19 +00:00
|
|
|
<nav class="flex items-center gap-6 min-h-10">
|
2024-05-05 16:33:52 +00:00
|
|
|
<a class="{{ request()->routeIs('team.index') ? 'dark:text-white' : '' }}" href="{{ route('team.index') }}">
|
|
|
|
<button>General</button>
|
|
|
|
</a>
|
|
|
|
<a class="{{ request()->routeIs('team.member.index') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('team.member.index') }}">
|
|
|
|
<button>Members</button>
|
|
|
|
</a>
|
2024-05-21 12:29:06 +00:00
|
|
|
@if (isInstanceAdmin())
|
|
|
|
<a class="{{ request()->routeIs('team.admin-view') ? 'dark:text-white' : '' }}"
|
|
|
|
href="{{ route('team.admin-view') }}">
|
|
|
|
<button>Admin View</button>
|
|
|
|
</a>
|
|
|
|
@endif
|
2024-05-05 16:33:52 +00:00
|
|
|
<div class="flex-1"></div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2023-06-02 10:34:45 +00:00
|
|
|
</div>
|