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

37 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>
2023-12-07 21:56:55 +00:00
<a wire:navigate href="/team/new"><x-forms.button>+ New 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">
2023-12-07 21:56:55 +00:00
<a wire:navigate class="{{ request()->routeIs('team.index') ? 'text-white' : '' }}" href="{{ route('team.index') }}">
2023-07-14 09:27:08 +00:00
<button>General</button>
</a>
2023-12-07 21:56:55 +00:00
<a wire:navigate class="{{ request()->routeIs('team.members') ? 'text-white' : '' }}" href="{{ route('team.members') }}">
2023-07-14 09:27:08 +00:00
<button>Members</button>
</a>
2023-12-07 21:56:55 +00:00
<a wire:navigate class="{{ request()->routeIs('team.storages.all') ? 'text-white' : '' }}"
2023-08-11 18:19:42 +00:00
href="{{ route('team.storages.all') }}">
2023-08-07 13:31:42 +00:00
<button>S3 Storages</button>
</a>
2023-12-07 21:56:55 +00:00
<a wire:navigate class="{{ request()->routeIs('team.notifications') ? 'text-white' : '' }}"
2023-08-11 18:19:42 +00:00
href="{{ route('team.notifications') }}">
2023-07-14 09:27:08 +00:00
<button>Notifications</button>
</a>
<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>