-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
@if($type === 'button') | ||
<li class="whitespace-nowrap py-2 flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-900 px-4"> | ||
<button {{ $attributes }} {{ $attributes->class([ | ||
<button {{ $attributes }} {{ $attributes->class([ | ||
'text-gray-600 dark:text-gray-200 hover:text-black' => $black, | ||
'text-gray-600 dark:text-gray-200 hover:text-danger-500' => $danger, | ||
'text-gray-600 dark:text-gray-200 hover:text-warning-500' => $warning, | ||
'text-gray-600 dark:text-gray-200 hover:text-primary-500' => $primary, | ||
'text-gray-600 dark:text-gray-200 hover:text-success-500' => $success, | ||
'text-gray-600 dark:text-gray-200 hover:text-gray-500' => $secondary, | ||
]) }} class="relative flex justify-center gap-2 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 "> | ||
]) }} class="whitespace-nowrap py-2 flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-900 px-4 w-full cursor-pointer transition-colors ease-in-out duration-200 "> | ||
<div class="relative flex justify-center gap-2 "> | ||
<div class="flex flex-col items-center justify-center"> | ||
<i class="{{$icon}} text-sm"></i> | ||
</div> | ||
<div class="text-sm "> | ||
{{$label}} | ||
</div> | ||
</button> | ||
</li> | ||
</div> | ||
</button> | ||
@elseif($type === 'link') | ||
<li class="whitespace-nowrap py-2 flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-900 px-4"> | ||
<x-splade-link {{ $attributes }} {{ $attributes->class([ | ||
'text-gray-600 dark:text-gray-200 hover:text-black' => $black, | ||
'text-gray-600 dark:text-gray-200 hover:text-danger-500' => $danger, | ||
'text-gray-600 dark:text-gray-200 hover:text-warning-500' => $warning, | ||
'text-gray-600 dark:text-gray-200 hover:text-primary-500' => $primary, | ||
'text-gray-600 dark:text-gray-200 hover:text-success-500' => $success, | ||
'text-gray-600 dark:text-gray-200 hover:text-gray-500' => $secondary, | ||
]) }} class="relative flex justify-center gap-2 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 "> | ||
<div class="flex flex-col items-center justify-center"> | ||
<i class="{{$icon}} text-sm"></i> | ||
</div> | ||
<div class="text-sm "> | ||
{{$label}} | ||
]) }} class="whitespace-nowrap py-2 flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-900 px-4 w-full cursor-pointer transition-colors ease-in-out duration-200 "> | ||
<div class="relative flex justify-center gap-2"> | ||
<div class="flex flex-col items-center justify-center"> | ||
<i class="{{$icon}} text-sm"></i> | ||
</div> | ||
<div class="text-sm "> | ||
{{$label}} | ||
</div> | ||
</div> | ||
</x-splade-link> | ||
</li> | ||
@elseif($type === 'copy') | ||
<li class="whitespace-nowrap py-2 flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-900 px-4"> | ||
<x-tomato-admin-copy {{ $attributes }} {{ $attributes->class([ | ||
'text-gray-600 dark:text-gray-200 hover:text-black' => $black, | ||
'text-gray-600 dark:text-gray-200 hover:text-danger-500' => $danger, | ||
'text-gray-600 dark:text-gray-200 hover:text-warning-500' => $warning, | ||
'text-gray-600 dark:text-gray-200 hover:text-primary-500' => $primary, | ||
'text-gray-600 dark:text-gray-200 hover:text-success-500' => $success, | ||
'text-gray-600 dark:text-gray-200 hover:text-gray-500' => $secondary, | ||
]) }} class="relative flex justify-center gap-2 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 "> | ||
<div class="flex flex-col items-center justify-center"> | ||
<i class="{{$icon}} text-sm"></i> | ||
</div> | ||
<div class="text-sm "> | ||
{{$label}} | ||
]) }} class="whitespace-nowrap py-2 flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-900 px-4 w-full cursor-pointer transition-colors ease-in-out duration-200 "> | ||
<div class="relative flex justify-center gap-2"> | ||
<div class="flex flex-col items-center justify-center"> | ||
<i class="{{$icon}} text-sm"></i> | ||
</div> | ||
<div class="text-sm "> | ||
{{$label}} | ||
</div> | ||
</div> | ||
</x-tomato-admin-copy> | ||
</li> | ||
@endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters