@php

use App\Models\Category;
use App\Models\Deals;
use App\Models\DealTypes;
use App\Models\Vendor;
use App\Models\Slider;

$categories = Category::orderBy('name')->get();

$cat1 = Category::where('id',$landing->category_one)->first();
$cat2 = Category::where('id',$landing->category_two)->first();
$cat3 = Category::where('id',$landing->category_three)->first();
$cat4 = Category::where('id',$landing->category_four)->first();
$cat5 = Category::where('id',$landing->category_five)->first();
$cat6 = Category::where('id',$landing->category_six)->first();
$cat7 = Category::where('id',$landing->category_seven)->first();
$cat8 = Category::where('id',$landing->category_eight)->first();
$cat9 = Category::where('id',$landing->category_nine)->first();

$cat1_image = $landing->category_one_image;
$cat2_image = $landing->category_two_image;
$cat3_image = $landing->category_three_image;
$cat4_image = $landing->category_four_image;
$cat5_image = $landing->category_five_image;
$cat6_image = $landing->category_six_image;
$cat7_image = $landing->category_seven_image;
$cat8_image = $landing->category_eight_image;
$cat9_image = $landing->category_nine_image;






$dealtypes = DealTypes::all();

$sliders_no = 0;
$slide='';
$slider = Slider::all();
if(count($slider)>0)
{
$sliders_no = 1;
    $slide = Slider::where('id','1')->first();
}
else
{
    $sliders_no = 0;
}




@endphp

@extends('mobile_mainlayout_landing')


@section('content')

		<!--EndSearch-->

		<div class="section mt-4">
		    <div class="container">
		        <div class="row">
		            <div class="col-12">
		                <!-- Section Title Start -->
		                <div class=" location_border text-center">
		                    <div class="event-entry-meta" style="text-align: left;">
                                @foreach($categories as $category)
		                        <div class="meta-item">
                                    @php
                                    $cat = json_decode($category->name);
                                    @endphp
		                            <a href="/category/{{$category->id}}" style="margin:4px 0px;"><span class="meta_bg_gold">{{$cat->en}}</span></a>
		                        </div>
                                @endforeach
		                    </div>
		                </div>
		                <!-- Section Title End -->
		            </div>
		        </div>
		    </div>
		</div>

 		<!-- Slider/Intro Section Start -->
        <div class="intro9-section section" data-bg-color="#282828" style="margin-top: -2em;">

                <div class="row">

                    <!-- Intro One Course Start -->
                    <div class="col-lg-12 col-md-12">
                        <!-- Intro Image Start -->
                        <!-- <div class="intro9-image-wrap" style="width:fit-content" > -->
                            <div class="intro9-image-wrap wrap_slider">
                            <div class="intro9-image">
                               @if($sliders_no==1)
                               <div class="single-item">
                               @foreach($slider as $slidee)
                               @php
                               $title = json_decode($slidee->tagline);
                               $caption = json_decode($slidee->caption);
                               @endphp
                               <div class="tiger_container">
            		                <img  src="{{env('TPORTAL_URL')}}{{$slidee->image}}" alt="" class="tiger_image" style="height:360px;object-fit:cover;border-radius:0px">
            		                <div class="tiger_overlay b_radius_50" style="border-radius:0px">
            		                            <div class="row mt_3em" style="margin:8em 2em 2em 2em">
            		                            	<div class="col-lg-6 col-md-6 col-sm-6">
            		                            	
            		                            		<h3 class="white hero_title" style="font-size:28px">{!!$title->en!!}</h3>
            		                                <div>
            		                                <p class="desc gil_light white hero_sub_text" style="margin-top:8px">{{$caption->en}}
            		                                </p>
            		                                </div>
            		                                <div class="row" style="margin-top:24px">
            		                                    @if(isset($slidee->button_link))
                		                                <a href="{{$slidee->button_link}}" class="btn btn-new_whitegold col-lg-4 col-sm-4 font_hiw w_16" style="width:75%">{{$slidee->button_title}}<i class="fa fa-arrow-right" style="position: absolute;right:10%"></i>
                		                                </a>
                		                                @endif
            		                                </div>
            		                            	</div>
            			                         </div>
            			                    </div>
            		             </div>

                                @endforeach
                                </div>
                                @else
                                <div class="single-item">
                                    <div>
                                        <div>
                                            <img class="img_3_4"src="/assets/images/tiger/slider_1.png" alt="">
                                        </div>
                                         <div class="pad_32">
                                            	<p class="bold_text font_24 black mb-0">Trending Deal</p>
                                            	<p class="urban black font_16">Woolworth, 30% Sale</p>
                                        </div>
                                    </div>
                                </div>
                                @endif
                            </div>
                        </div>
                        <!-- Intro Image End -->
                    </div>
                    <!-- Intro One Course End -->

                </div>

        </div>
        <!-- Slider/Intro Section End -->


        <!-- Register Section Start -->
        <div class="event-section section section-padding" id="register_users">
            <div class="container">

                <div class="row row-cols-lg-2 row-cols-1 max-mb-n30"  >

                    <div class="col max-mb-30">
                        <div class="register-box black_bg">
                            <div class="row register_block">
                                <div class="col-lg-5 col-md-12">
                                    <img class="image_block" src="/assets/images/tiger/user_reg.png" alt="">
                                </div>
                                <div class="col-lg-7 col-md-12" style="padding:16px">
                                	<div style="padding:0px 8px">
                                        <h3 class="font_18 bold_text white mt-4 mb-2">{{$landing->register_account_label}}</h3>
                                        <p class="desc urban_light white mb-4">{{$landing->register_account_caption}}</p>
                                    </div>
                                    <div class="row" style="padding:0px 8px">
                                        @if($merchant->customer_googleplay_store_link)
                                        <a class="col-6"href="{{$merchant->customer_googleplay_store_link}}">
                                        @else
                                        <a class="col-6"href="">
                                        @endif
                                            <img src="/assets/images/tiger/android_store_icon.png" alt="">
                                        </a>
                                        
                                        @if($merchant->customer_applestore_link)
                                        <a class="col-6"href="{{$merchant->customer_applestore_link}}">
                                        @else
                                        <a class="col-6"href="">
                                        @endif
                                            <img src="/assets/images/tiger/app_store_icon.png" alt="">
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col max-mb-30">
                        <div class="register-box gold_bg">
                            <div class="row register_block">
                                <div class="col-lg-5 col-md-12">
                                    <img class="image_block" src="/assets/images/tiger/vendor.png" alt="">
                                </div>
                                <div class="col-lg-7 col-md-12" style="padding:16px">
                                    <div style="padding:0px 8px">
                                        <h3 class="font_18 bold_text black mt-4 mb-2">{{$landing->register_vendor_label}}</h3>
                                        <p class="desc urban_light black mb-4">{{$landing->register_vendor_account_caption}}</p>
                                    </div>
                                    <div class="row" style="padding:0px 8px">
                                        @if($merchant->merchant_googleplay_store_link)
                                        <a class="col-6"href="{{$merchant->merchant_googleplay_store_link}}">
                                        @else
                                        <a class="col-6"href="">
                                        @endif
                                            <img src="/assets/images/tiger/g_play.png" alt="">
                                        </a>
                                        
                                        @if($merchant->merchant_applestore_link)
                                        <a class="col-6"href="{{$merchant->merchant_applestore_link}}">
                                        @else
                                        <a class="col-6"href="">
                                        @endif
                                            <img src="/assets/images/tiger/apple_store.png" alt="">
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>


            </div>
        </div>
        <!-- Register Section End -->


        <!-- Featured Section Start -->
        <div class="section padbtm_36">
            <div class="container">

                <!-- Course Top Bar Start -->
                <div class="row justify-content-between align-items-center max-mb-20">
                    <div class="col-12 max-mb-10">
                        <h3 class="font_24 bold_text white" style="display: inline;">Featured Deals</h3>
                        <a href="/deals/viewall/1" class="result-count urban font_18 gold" style="display: inline; margin-left: 2em;">View All</a>
                    </div>
                </div>
                <!-- Course Top Bar End -->

                <!-- Deal Wrapper Start -->
                <div class="row max-mb-30">

                    @php
                    $deal_type = DealTypes::where('id','1')->first();
                    $deals = Deals::where('dealtypeid',$deal_type->id)->paginate(4);

                    @endphp

                    @foreach($deals as $featured_deal)
                    @php
                    $vendorr = Vendor::where('id',$featured_deal->vendorid)->first();
                    @endphp
                    <!-- Deal Start -->
                    <div class="col-lg-3 col-md-6 max-mb-30 mob_50w" >
                        <div class="deal">
                            <div class="thumbnail">
                                <a href="/vendor/{{$vendorr->id}}" class="image">
                                    <img src="{{env('TPORTAL_URL')}}{{$featured_deal->featured_image}}" class="vendor_image"  alt="{{$vendorr->name}}"></a>
                            </div>
                            <div>
                                <h3 class="title white font_18 mt-4 mb-0"><a href="/vendor/{{$vendorr->id}}">{{$vendorr->name}}</a></h3>
                                <p class="meta urban_light white">{{$vendorr->address}}</p>
                            </div>
                        </div>
                    </div>
                    <!-- Deal End -->
                    @endforeach

                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Featured Section End -->

         <!-- Hero Images Section Start -->
        <div class="section section-padding-bottom">
            <div class="container">


                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        @if($cat1)
                        @php
                        $name = json_decode($cat1->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat1->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat1_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat1->id}}/">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/food.png" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                        
                        @if($cat2)
                        @php
                        $name = json_decode($cat2->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat2->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat2_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat2->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/spa.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                    </div>
                    <!-- Deal End -->

                    <!-- Deal Start -->
                    @if($cat3)
                        @php
                        $name = json_decode($cat3->name);
                        @endphp
                    
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat3->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat3_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat3->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/hotel.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                    </div>
                    @endif
                    <!-- Deal End -->


                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Hero Images Section End -->


        <!-- Discount Deals Section Start -->
        <div class="section padbtm_36">
            <div class="container">

                <!-- Course Top Bar Start -->
                <div class="row justify-content-between align-items-center max-mb-20">
                    <div class="col-12 max-mb-10">
                        <h3 class="font_24 bold_text white" style="display: inline;">Discounted Deals</h3>
                        <a href="/deals/viewall/4" class="result-count urban font_18 gold" style="display: inline; margin-left: 2em;">View All</a>
                    </div>
                </div>
                <!-- Course Top Bar End -->

                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    @php
                    $deal_type = DealTypes::where('id','4')->first();
                    $deals = Deals::where('dealtypeid',$deal_type->id)->paginate(4);

                    @endphp

                    @foreach($deals as $deal)
                    @php
                    $vendorr = Vendor::where('id',$deal->vendorid)->first();
                    @endphp

                    <!-- Deal Start -->
                    <div class="col-lg-3 col-sm-6 max-mb-30 mob_50w">
                        <div class="deal">
                            <div class="thumbnail">
                                <a href="/vendor/{{$vendorr->id}}" class="image">
                                    <img src="{{env('TPORTAL_URL')}}{{$deal->featured_image}}" class="vendor_image" alt="{{$vendorr->name}}"></a>
                            </div>
                            <div>
                                @php
                                $deal_name = json_decode($deal->name);
                                @endphp
                                <p class="meta urban_bold gold mb-0">{{$deal_name->en}}</p>
                                <h3 class="title white font_18 mb-0"><a href="/vendor/{{$vendorr->id}}">{{$vendorr->name}}</a></h3>
                                <p class="meta urban_light white">{{$vendorr->address}}</p>
                            </div>
                        </div>
                    </div>
                    <!-- Deal End -->

                    @endforeach

                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Discount Deals End -->

         <!-- Hero Images Section Start -->
        <div class="section section-padding-bottom">
            <div class="container">


                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">
                     <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        @if($cat4)
                        @php
                        $name = json_decode($cat4->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat4->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat4_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat4->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/medicine.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                    </div>
                    <!-- Deal End -->


                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" >
                        @if($cat5)
                        @php
                        $name = json_decode($cat5->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat5->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat5_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat5->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/boutique.png" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                        
                        
                        @if($cat6)
                        
                        @php
                        $name = json_decode($cat6->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat6->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat6_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat6->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/grocery.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                    </div>
                    <!-- Deal End -->

                   


                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Hero Images Section End -->


        <!-- New Deals Section Start -->
        <div class="section padbtm_36">
            <div class="container">

                <!-- Course Top Bar Start -->
                <div class="row justify-content-between align-items-center max-mb-20">
                    <div class="col-12 max-mb-10">
                        <h3 class="font_24 bold_text white" style="display: inline;">New Deals</h3>
                        <a href="/deals/viewall/5" class="result-count urban font_18 gold" style="display: inline; margin-left: 2em;">View All</a>
                    </div>
                </div>
                <!-- Course Top Bar End -->

                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    @php
                    $deal_type = DealTypes::where('id','5')->first();
                    $deals = Deals::where('dealtypeid',$deal_type->id)->paginate(4);

                    @endphp

                    @foreach($deals as $deal)
                    @php
                    $vendorr = Vendor::where('id',$deal->vendorid)->first();
                    @endphp

                    <!-- Deal Start -->
                    <div class="col-lg-3 col-sm-6 max-mb-30 mob_50w" >
                        <div class="deal">
                            <div class="thumbnail">
                                <a href="/vendor/{{$vendorr->id}}" class="image">
                                    <img src="{{env('TPORTAL_URL')}}{{$deal->featured_image}}" class="vendor_image" alt="{{$vendorr->name}}"></a>
                            </div>
                            <div>
                                @php
                                $deal_name = json_decode($deal->name); 
                                @endphp
                                <p class="meta urban_bold gold mb-0">{{$deal_name->en}}</p>
                                <h3 class="title white font_18 mb-0"><a href="/vendor/{{$vendorr->id}}">{{$vendorr->name}}</a></h3>
                                <p class="meta urban_light white">{{$vendorr->address}}</p>
                            </div>
                        </div>
                    </div>
                    <!-- Deal End -->

                    @endforeach

                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- New Deals Section End -->

          <!-- Hero Images Section Start -->
        <div class="section section-padding-bottom">
            <div class="container">


                <!-- Deal Wrapper Start -->
                <div class="row max-mb-n30">

                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" data-aos="fade-up">
                        @if($cat7)
                        @php
                        $name = json_decode($cat7->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat7->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat7_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat7->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/travel.png" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                        
                        
                        @if($cat8)
                        @php
                        $name = json_decode($cat8->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat8->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat8_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat8->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/market.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                    </div>
                    <!-- Deal End -->

                    <!-- Deal Start -->
                    <div class="col-lg-6 col-sm-12 max-mb-30" data-aos="fade-up">
                        @if($cat9)
                        @php
                        $name = json_decode($cat9->name);
                        @endphp
                        <div class="course-6 mb-2">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category/{{$cat9->id}}">
                                    <img src="{{env('TPORTAL_URL')}}{{$cat9_image}}" style="border-radius:16px;" alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18"><a href="/category/{{$cat9->id}}">{{$name->en}}</a></a></h3>
                                </div>
                            </div>
                        </div>
                        @else
                        <div class="course-6">
                            <div class="thumbnail" style="border-radius:16px;border: 1px solid #D4AF37;">
                                <a class="image" href="/category">
                                    <img src="/assets/images/tiger/bar.png"  alt="">
                                    <div class="course-overlay-bg"></div>
                                </a>
                            </div>
                            <div class="info">
                                <div class="course-caption-main">
                                    <h3 class="title font_18 "><a href="/category">Category</a></h3>
                                </div>
                            </div>
                        </div>
                        @endif
                    </div>
                    <!-- Deal End -->


                </div>
                <!-- Courses Wrapper End -->


            </div>
        </div>
        <!-- Hero Images Section End -->

@endsection