11 lines
430 B
PHP
11 lines
430 B
PHP
|
<ul class="grid grid-cols-[repeat(auto-fill,minmax(300px,_1fr))] max-lg:grid-cols-1 max-xl:grid-cols-3 gap-4">
|
||
|
@foreach ($courses as $course)
|
||
|
<li
|
||
|
class="rounded-lg h-[150px] border-2 duration-75 shadow-md hover:shadow-lg">
|
||
|
<a class="grid place-items-center h-full w-full text-xl" href="{{url()->to('course', ['course'=> $course])}}">
|
||
|
{{$course->name}}
|
||
|
</a>
|
||
|
</li>
|
||
|
@endforeach
|
||
|
</ul>
|