@extends('layouts.platform') @section('main')
@csrf

Les catégories

@foreach ($cats as $category) @endforeach
{{-- Section Lastest offers --}}

Les dernières offres

@foreach ($offers as $offer)
@for ($i = 0; $i < $offer->rating; $i++) @endfor @for ($i = 0; $i < 5 - $offer->rating; $i++) @endfor
{{ $offer->titre }}
@endforeach
@endsection