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

37 lines
1.4 KiB
PHP
Raw Normal View History

2023-06-02 12:34:45 +02:00
<div class="pb-6">
2023-10-11 12:04:14 +02:00
<div class="flex items-end gap-2">
<h1>Team</h1>
<a href="/team/new"><x-forms.button>+ New Team</x-forms.button></a>
</div>
2023-06-16 15:01:58 +02:00
<nav class="flex pt-2 pb-10">
2023-06-07 21:44:16 +02:00
<ol class="inline-flex items-center">
<li>
<div class="flex items-center">
2023-08-30 18:23:55 +02:00
<span>Currently active team: <span
2023-10-11 12:04:14 +02:00
class="text-warning">{{ session('currentTeam.name') }}</span></span>
2023-06-07 21:44:16 +02:00
</div>
</li>
</ol>
</nav>
<nav class="navbar-main">
2023-08-30 16:01:38 +02:00
<a class="{{ request()->routeIs('team.index') ? 'text-white' : '' }}" href="{{ route('team.index') }}">
2023-07-14 11:27:08 +02:00
<button>General</button>
</a>
<a class="{{ request()->routeIs('team.members') ? 'text-white' : '' }}" href="{{ route('team.members') }}">
<button>Members</button>
</a>
2023-08-07 15:31:42 +02:00
<a class="{{ request()->routeIs('team.storages.all') ? 'text-white' : '' }}"
2023-08-11 20:19:42 +02:00
href="{{ route('team.storages.all') }}">
2023-08-07 15:31:42 +02:00
<button>S3 Storages</button>
</a>
2023-07-14 11:27:08 +02:00
<a class="{{ request()->routeIs('team.notifications') ? 'text-white' : '' }}"
2023-08-11 20:19:42 +02:00
href="{{ route('team.notifications') }}">
2023-07-14 11:27:08 +02:00
<button>Notifications</button>
</a>
<div class="flex-1"></div>
<div class="-mt-9">
2023-08-11 20:19:42 +02:00
<livewire:switch-team />
2023-07-14 11:27:08 +02:00
</div>
2023-06-02 12:34:45 +02:00
</nav>
</div>