2023-06-02 10:34:45 +00:00
|
|
|
<div class="pb-6">
|
|
|
|
<h1>Team</h1>
|
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-06-16 13:01:58 +00:00
|
|
|
<span>Currently active team: {{ session('currentTeam.name') }}</span>
|
2023-06-07 19:44:16 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
2023-06-16 13:12:25 +00:00
|
|
|
@if (session('currentTeam.description'))
|
|
|
|
<li class="inline-flex items-center">
|
|
|
|
<svg aria-hidden="true" class="w-4 h-4 mx-1 font-bold text-warning" fill="currentColor"
|
2023-08-11 18:19:42 +00:00
|
|
|
viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
2023-06-16 13:12:25 +00:00
|
|
|
<path fill-rule="evenodd"
|
2023-08-11 18:19:42 +00:00
|
|
|
d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z"
|
|
|
|
clip-rule="evenodd"></path>
|
2023-06-16 13:12:25 +00:00
|
|
|
</svg>
|
|
|
|
<span class="truncate">{{ Str::limit(session('currentTeam.description'), 52) }}</span>
|
|
|
|
</li>
|
|
|
|
@endif
|
2023-06-07 19:44:16 +00:00
|
|
|
</ol>
|
|
|
|
</nav>
|
2023-07-26 11:23:47 +00:00
|
|
|
<nav class="navbar-main">
|
2023-07-14 09:27:08 +00:00
|
|
|
<a class="{{ request()->routeIs('team.show') ? 'text-white' : '' }}" href="{{ route('team.show') }}">
|
|
|
|
<button>General</button>
|
|
|
|
</a>
|
|
|
|
<a class="{{ request()->routeIs('team.members') ? 'text-white' : '' }}" href="{{ route('team.members') }}">
|
|
|
|
<button>Members</button>
|
|
|
|
</a>
|
2023-08-07 13:31:42 +00:00
|
|
|
<a 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-07-14 09:27:08 +00:00
|
|
|
<a 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>
|