theme update
This commit is contained in:
parent
c31524977a
commit
97ad0421e3
5 changed files with 27 additions and 30 deletions
|
|
@ -27,44 +27,40 @@
|
|||
<div class="w-full flex flex-col gap-5">
|
||||
<h2 class="text-2xl font-bold">Your Lists</h2>
|
||||
@if(!$lists->isEmpty())
|
||||
<ul class="w-full flex flex-col gap-2">
|
||||
<hr/>
|
||||
<ul class="w-full flex flex-col gap-3">
|
||||
@foreach($lists as $list)
|
||||
<li class="flex justify-between text-center">
|
||||
<a class="text-xl" href="/lists/{{$list->id}}" wire:navigate>{{$list->name}}</a>
|
||||
<li class="flex justify-between items-center p-4 bg-gray-700/50 rounded-lg hover:bg-gray-600/50 transition-colors">
|
||||
<a class="text-xl hover:text-amber-200 transition-colors" href="/lists/{{$list->id}}" wire:navigate>{{$list->name}}</a>
|
||||
@if((bool)$list->is_public === true)
|
||||
<i class="fa fa-earth my-auto" title="Public" aria-label="Public"></i>
|
||||
<i class="fa fa-earth text-green-400" title="Public" aria-label="Public"></i>
|
||||
@else
|
||||
<i class="fa fa-lock my-auto" title="Private" aria-label="Private"></i>
|
||||
<i class="fa fa-lock text-gray-400" title="Private" aria-label="Private"></i>
|
||||
@endif
|
||||
</li>
|
||||
<hr/>
|
||||
@endforeach
|
||||
</ul>
|
||||
@else
|
||||
<span>No lists found.</span>
|
||||
<span class="text-gray-400">No lists found.</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="w-full flex flex-col gap-5">
|
||||
<h2 class="text-2xl font-bold">Shared With You</h2>
|
||||
@if(!$sharedLists->isEmpty())
|
||||
<ul>
|
||||
<hr/>
|
||||
<ul class="w-full flex flex-col gap-3">
|
||||
@foreach($sharedLists as $list)
|
||||
<li class="flex justify-between text-center">
|
||||
<a class="text-xl" href="/lists/{{$list->id}}" wire:navigate>{{$list->name}}</a>
|
||||
<li class="flex justify-between items-center p-4 bg-gray-700/50 rounded-lg hover:bg-gray-600/50 transition-colors">
|
||||
<a class="text-xl hover:text-amber-200 transition-colors" href="/lists/{{$list->id}}" wire:navigate>{{$list->name}}</a>
|
||||
@if((bool)$list->is_public === true)
|
||||
<i class="fa fa-earth my-auto" title="Public" aria-label="Public"></i>
|
||||
<i class="fa fa-earth text-green-400" title="Public" aria-label="Public"></i>
|
||||
@else
|
||||
<i class="fa fa-lock my-auto" title="Private" aria-label="Private"></i>
|
||||
<i class="fa fa-lock text-gray-400" title="Private" aria-label="Private"></i>
|
||||
@endif
|
||||
</li>
|
||||
<hr/>
|
||||
@endforeach
|
||||
</ul>
|
||||
@else
|
||||
<span>No lists found.</span>
|
||||
<span class="text-gray-400">No lists found.</span>
|
||||
@endif
|
||||
</div>
|
||||
</x-ui.card>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue