Display 4 columns in blade

March 25, 2021

   @foreach($companies->chunk(4) as $four)
            <div class="columns">
                @foreach($four as $company)
                <div class="column is-3">
                    <img src="{{$company->logo}}" alt="{{$company->name}}"  />
                    <div><a href="{{$company->country->slug}}/{{$company->slug}}">{{$company->name}}</a></div>
                </div>
                @endforeach

            </div>
            @endforeach