lasthourcloud/resources/views/components/team/navbar.blade.php
2024-05-05 17:09:22 +00:00

22 lines
835 B
PHP

<div class="pb-6">
<div class="flex items-end gap-2">
<h1>Team</h1>
<x-modal-input buttonTitle="+ Add" title="New Team">
<livewire:team.create />
</x-modal-input>
</div>
<div class="subtitle">Team wide configurations.</div>
<div class="navbar-main">
<nav class="flex gap-4 overflow-x-scroll items-center min-h-10">
<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>
<div class="flex-1"></div>
</nav>
</div>
</div>