@extends('layouts.app') @section('content') @php $map = [ 'hot' => ['icon' => 'icon-hot', 'label' => 'Hot'], 'exclusive' => ['icon' => 'icon-exclusive', 'label' => 'Exclusive'], 'new' => ['icon' => 'icon-new', 'label' => 'New'], ]; $type = strtolower($type ?? ''); if (!empty($type) && isset($map[$type])) { $current = $map[$type]; } elseif (!empty($currentProvider)) { $slug = strtolower($currentProvider->provider_slug ?? ''); $icon = 'icon-' . preg_replace('/[^a-z0-9]/', '', $slug); $current = [ 'icon' => $icon, 'label' => ucwords(strtolower($currentProvider->provider_name ?? $slug)) ]; } else { $current = [ 'icon' => 'icon-hot', 'label' => ucfirst($type ?: 'SL') ]; } @endphp
@include('desktop.partials.runningtext') @include('desktop.partials.breadcrumb')
@include('desktop.partials.pages.slot-carousel')
{{ $current['label'] }}
@endsection