lasthourcloud/resources/views/components/team/navbar.blade.php

38 lines
1.4 KiB
PHP
Raw Normal View History

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>
<a href="/team/new"><x-forms.button>+ Add Team</x-forms.button></a>
2023-10-11 10:04:14 +00:00
</div>
2023-06-16 13:01:58 +00:00
<nav class="flex pt-2 pb-10">
2023-06-07 19:44:16 +00:00
<ol class="inline-flex items-center">
<li>
<div class="flex items-center">
2023-08-30 16:23:55 +00:00
<span>Currently active team: <span
2023-10-11 10:04:14 +00:00
class="text-warning">{{ session('currentTeam.name') }}</span></span>
2023-06-07 19:44:16 +00:00
</div>
</li>
</ol>
</nav>
<nav class="navbar-main">
2024-01-23 16:13:23 +00:00
<a class="{{ request()->routeIs('team.index') ? 'text-white' : '' }}" href="{{ route('team.index') }}">
2023-07-14 09:27:08 +00:00
<button>General</button>
</a>
<a class="{{ request()->routeIs('team.member.index') ? 'text-white' : '' }}"
href="{{ route('team.member.index') }}">
2023-07-14 09:27:08 +00:00
<button>Members</button>
</a>
2024-01-23 16:13:23 +00:00
<a class="{{ request()->routeIs('team.storage.index') ? 'text-white' : '' }}"
2024-01-07 15:23:41 +00:00
href="{{ route('team.storage.index') }}">
2023-08-07 13:31:42 +00:00
<button>S3 Storages</button>
</a>
<a class="{{ request()->routeIs('team.shared-variables.index') ? 'text-white' : '' }}"
2024-01-23 16:13:23 +00:00
href="{{ route('team.shared-variables.index') }}">
<button>Shared Variables</button>
</a>
2023-07-14 09:27:08 +00:00
<div class="flex-1"></div>
<div class="-mt-9">
2023-08-11 18:19:42 +00:00
<livewire:switch-team />
2023-07-14 09:27:08 +00:00
</div>
2023-06-02 10:34:45 +00:00
</nav>
</div>