File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
resources/views/components Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- @props ([' classAttributes' => " mt-2 grid grid-cols-1 lg:grid-cols-2 gap-4 " ] )
1+ @props ([' classAttributes' => null ] )
22
3- <div class =" {{ $classAttributes } }" >
3+ <div class =" {{ $classAttributes ?? ' mt-2 grid grid-cols-1 lg:grid-cols-2 gap-4 ' } }" >
44 {{ $slot } }
55</div >
Original file line number Diff line number Diff line change 11@props ([
22 ' image' ,
3- ' imageContainerClassAttributes' => ' h-32 h-32 flex-shrink-0 overflow-hidden ' ,
3+ ' imageContainerClassAttributes' => null ,
44 ' name' ,
55 ' role' => null ,
66 ' icons' => [],
77] )
88
99<div class =" flex flex-row rounded-xl overflow-hidden transition group" >
10- <div class =" {{ $imageContainerClassAttributes } }" >
11- <img src =" {{ $image } }" alt =" {{ $name } }"
12- class =" w-full h-full object-cover transition-transform duration-300 ease-in-out group-hover:scale-105" />
10+ <div class =" {{ $imageContainerClassAttributes ?? ' h-32 h-32 flex-shrink-0 overflow-hidden' } }" >
11+ <img src =" {{ $image } }" alt =" {{ $name } }" class =" w-full h-full object-cover transition-transform duration-300 ease-in-out group-hover:scale-105" />
1312 </div >
1413
1514 <div class =" flex flex-col justify-center p-4 space-y-1" >
You can’t perform that action at this time.
0 commit comments