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>
2023-12-27 16:45:01 +01:00
<a href="/team/new"><x-forms.button>+ New Team</x-forms.button></a>
2023-10-11 12:04:14 +02:00
</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-12-27 16:45:01 +01: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>
2024-01-07 16:23:41 +01:00
<a class="{{ request()->routeIs('team.member.index') ? 'text-white' : '' }}" href="{{ route('team.member.index') }}">
2023-07-14 11:27:08 +02:00
<button>Members</button>
</a>
2024-01-07 16:23:41 +01:00
<a class="{{ request()->routeIs('team.storage.index') ? 'text-white' : '' }}"
href="{{ route('team.storage.index') }}">
2023-08-07 15:31:42 +02:00
<button>S3 Storages</button>
</a>
2024-01-07 16:23:41 +01:00
<a class="{{ request()->routeIs('team.notification.index') ? 'text-white' : '' }}"
href="{{ route('team.notification.index') }}">
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>