@extends('layouts.app') @section('title', 'Ofertas y Descuentos') @section('content')

Mejores Ofertas y Descuentos

Filtros

Limpiar
@if(count($deals) > 0)

Mostrando {{ count($deals) }} ofertas

@foreach($deals as $deal)
{{ $deal['title'] }} @if($deal['savings'] > 0) -{{ round($deal['savings']) }}% @endif

{{ Str::limit($deal['title'], 50) }}

@if($deal['normalPrice'] != $deal['salePrice']) ${{ number_format($deal['normalPrice'], 2) }} @endif ${{ number_format($deal['salePrice'], 2) }}
@if(isset($deal['steamRatingPercent']) && $deal['steamRatingPercent'] > 0)
{{ $deal['steamRatingPercent'] }}% ({{ number_format($deal['steamRatingCount']) }})
@endif
@endforeach
@else
No se encontraron ofertas. Prueba ajustando los filtros.
@endif
@endsection