{{-- SEO Meta Tags --}} @if ($config['widgets']['loading_screen'] ?? true) @else @endif @php $isPreview = request()->query('preview') == 1; @endphp
@php $logoLight = $config['appearance']['logo_light'] ?? false; $logoDark = $config['appearance']['logo_dark'] ?? false; @endphp @if ($logoLight || $logoDark) @if ($logoLight) Logo @endif @if ($logoDark) @elseif($logoLight) @endif @else

CouponQuest

@endif
local_activity Home
@php $headingText = $config['texts']['trending_heading'] ?? 'trending coupons'; $words = explode(' ', $headingText, 2); $firstWord = $words[0]; $restWords = $words[1] ?? ''; @endphp

{{ $firstWord }} {{ $restWords }}

{{ $config['texts']['trending_subheading'] ?? 'Verified deals and fresh drops for your inventory.' }}

@if (isset($trendingCoupons) && $trendingCoupons->isNotEmpty())
@foreach ($trendingCoupons as $mainCoupon)
@if ($mainCoupon->has_icon && $mainCoupon->icon)
@elseif($mainCoupon->brand->logo)
@endif
local_fire_department Hottest Deal {{ $mainCoupon->brand->name }}
@for ($i = 1; $i <= 5; $i++) @if ($i <=floor($mainCoupon->brand->rating ?? 4)) star @else star @endif @endfor
({{ number_format($mainCoupon->brand->rating ?? 4.5, 1) }} Verified)

{{ $mainCoupon->title }}

{{ $mainCoupon->description ?? 'Exclusive deal available now!' }}

{{ ucfirst($mainCoupon->type) }}
{{ $mainCoupon->value }}
{{ $mainCoupon->brand->name }}

Verified Coupon

@endforeach
@else

No trending coupons available

@endif
@forelse($coupons as $index => $coupon)
@if ($coupon->has_icon && $coupon->icon)
@elseif($coupon->brand->logo)
@endif
star {{ $coupon->brand->rating ?? '4.7' }}
@if ($coupon->brand->logo) {{ $coupon->brand->name }} @else confirmation_number @endif
{{ $coupon->brand->name }}

{{ $coupon->title }}

{{ ucfirst($coupon->type) }} {{ $coupon->value }}
@empty
confirmation_number

No coupons available

Check back later for new deals!

@endforelse
@if ($isPreview || ($config['sections']['site']['footer'] ?? true))
@endif