@extends('layouts.app') @section('title', 'Deals & Discounts') @section('content')

Deals & Discounts

Save big on quality products from verified suppliers

@if($topDeal)
@if($topDeal->image_url) {{ $topDeal->name }} @else
📦
@endif
TOP DEAL

{{ $topDeal->name }}

{{ Str::limit($topDeal->description, 100) }}

R {{ number_format($topDeal->price, 2) }} R {{ number_format($topDeal->compare_price, 2) }} @php $discount = round((($topDeal->compare_price - $topDeal->price) / $topDeal->compare_price) * 100); @endphp -{{ $discount }}%
View Deal
@endif @if($deals->count() > 0)
@foreach($deals as $product) @include('components.product-card', ['product' => $product]) @endforeach
{{ $deals->links() }}
@else
🏷️

No deals available

Check back soon for amazing discounts!

Browse All Products
@endif
@endsection