2024-02-22 10:53:25 +00:00
|
|
|
<div @class([
|
2024-03-25 09:41:44 +00:00
|
|
|
'transition-all duration-150 box-without-bg dark:bg-coolgray-100 bg-white group border-l-2 border-transparent',
|
2024-02-22 10:53:25 +00:00
|
|
|
'hover:border-coollabs cursor-pointer' => !$upgrade,
|
2024-03-22 11:47:19 +00:00
|
|
|
'hover:border-red-500 cursor-not-allowed' => $upgrade,
|
2024-02-22 10:53:25 +00:00
|
|
|
]) @if (!$upgrade) wire:click={{ $wire }} @endif>
|
2024-02-20 14:07:12 +00:00
|
|
|
<div class="flex items-center">
|
|
|
|
{{ $logo }}
|
|
|
|
<div class="flex flex-col pl-2 ">
|
2024-03-22 11:47:19 +00:00
|
|
|
<div class="dark:text-white text-md">
|
2024-02-20 14:07:12 +00:00
|
|
|
{{ $title }}
|
|
|
|
</div>
|
2024-03-25 09:41:44 +00:00
|
|
|
@if ($upgrade)
|
2024-03-21 11:44:32 +00:00
|
|
|
<div>{{ $upgrade }}</div>
|
2024-02-22 10:53:25 +00:00
|
|
|
@else
|
2024-03-22 11:47:19 +00:00
|
|
|
<div class="text-xs dark:text-neutral-500 group-hover:dark:text-neutral-300">
|
2024-02-22 10:53:25 +00:00
|
|
|
{{ $description }}
|
|
|
|
</div>
|
|
|
|
@endif
|
2024-02-20 14:07:12 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@isset($documentation)
|
|
|
|
<div class="flex-1"></div>
|
|
|
|
<div class="flex items-center px-2 " title="Read the documentation.">
|
2024-03-24 15:00:25 +00:00
|
|
|
<a class="p-2 rounded hover:bg-coolgray-200 hover:no-underline group-hover:dark:text-white text-neutral-600"
|
2024-02-20 14:07:12 +00:00
|
|
|
onclick="event.stopPropagation()" href="{{ $documentation }}" target="_blank">
|
|
|
|
Docs
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
@endisset
|
|
|
|
</div>
|