@@ -22,6 +22,13 @@ class="flex items-center space-x-1 text-left text-xs leading-4 font-medium text-
22
22
23
23
<span class =" relative flex items-center" >
24
24
@if ($direction === ' asc' )
25
+ <svg class =" w-3 h-3 group-hover:opacity-0" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
26
+ <path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M5 15l7-7 7 7" ></path >
27
+ </svg >
28
+ <svg class =" w-3 h-3 opacity-0 group-hover:opacity-100 absolute" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
29
+ <path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M19 9l-7 7-7-7" ></path >
30
+ </svg >
31
+ @elseif ($direction === ' desc' )
25
32
<div class =" opacity-0 group-hover:opacity-100 absolute" >
26
33
<svg class =" w-3 h-3" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
27
34
<path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M5 15l7-7 7 7" ></path >
@@ -33,13 +40,6 @@ class="flex items-center space-x-1 text-left text-xs leading-4 font-medium text-
33
40
<svg class =" w-3 h-3 group-hover:opacity-0" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
34
41
<path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M19 9l-7 7-7-7" ></path >
35
42
</svg >
36
- @elseif ($direction === ' desc' )
37
- <svg class =" w-3 h-3 group-hover:opacity-0" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
38
- <path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M5 15l7-7 7 7" ></path >
39
- </svg >
40
- <svg class =" w-3 h-3 opacity-0 group-hover:opacity-100 absolute" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
41
- <path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M19 9l-7 7-7-7" ></path >
42
- </svg >
43
43
@else
44
44
<svg class =" w-3 h-3 opacity-0 group-hover:opacity-100 transition-opacity duration-300" fill =" none" stroke =" currentColor" viewBox =" 0 0 24 24" xmlns =" http://www.w3.org/2000/svg" >
45
45
<path stroke-linecap =" round" stroke-linejoin =" round" stroke-width =" 2" d =" M5 15l7-7 7 7" ></path >
0 commit comments