@extends('Frontend.layouts.app') @section('content') @php $homeById = collect($home ?? [])->keyBy('id'); $h1 = $homeById->get(1); $h2 = $homeById->get(2); $h15 = $homeById->get(12); $h16 = $homeById->get(13); $h18 = $homeById->get(15); $h19 = $homeById->get(16); @endphp
    @foreach(array_filter(array_map('trim', explode(',', $setting->office ?? ''))) as $loc)
  • {{ $loc }}
  • @endforeach
    @foreach(array_filter(array_map('trim', explode(',', $setting->office ?? ''))) as $loc)
  • {{ $loc }}
  • @endforeach
@if($h1 && (!empty($h1->gallery))) @php $featureImage = json_decode($h1->gallery, true); @endphp @foreach($featureImage as $image)

{{$image['alt']}}

@endforeach @endif

@if(!empty($h2->name)){{ $h2->name }} @else Loan Journey @endif

@if(!empty($h2->short_description))

{!! $h2->short_description !!}

@endif
{{--
--}}
@if(!empty($solution->desktop_image)) @endif

@if(!empty($solution->name)){{ $solution->name }} @else Loan Solution @endif

@if(!empty($solution->short_description))

{!! $solution->short_description !!}

@endif @if(!empty($solution->other_title)) {{ $solution->other_title }} @endif
@if(!empty($analysis->desktop_image))
@endif

@if(!empty($analysis->name)){{ $analysis->name }} @else Analysis & Calculator @endif

@if(!empty($analysis->other_title)) {{ $analysis->other_title }} @endif
@if(!empty($payment->desktop_image))
@endif @if(!empty($payment->name))

@if(!empty($payment->name)){{ $payment->name }} @else Payment Calculator @endif

@if(!empty($payment->other_title)) {{ $payment->other_title }} @endif
@endif

@if(!empty($why->name)){{ $why->name }} @else Why BABA Lending @endif

@if(!empty($why->short_description))

{!! $why->short_description !!}

@endif
@if(!empty($why->desktop_image)) @endif
@if(!empty($why->mobile_image)) @endif

@if(!empty($borrowerJourney->name)){{ $borrowerJourney->name }} @else Our Borrower Journey @endif

@if(!empty($borrowerJourney->short_description))

{!! $borrowerJourney->short_description !!}

@endif
@php $borrowerJourneys = json_decode($borrowerJourney->gallery, true); $h=0; @endphp @foreach($borrowerJourneys as $key=>$bj) @if(!empty($bj['filename']))
@if(!empty($bj['filename']))
{{ $bj['alt'] }}
@endif

{!! $bj['alt'] !!}

@if(!empty($bj['caption']))

{!! $bj['caption'] !!}

@endif
@php $h++ @endphp @endif @endforeach
@if($h15 && (!empty($h15->name) || !empty($h15->short_description)))

{{ $h15->name }}

@if(!empty($h15->short_description))

{!! $h15->short_description !!}

@endif
@endif
@if($h16 && (!empty($h16->name) || !empty($h16->description) || !empty($h16->desktop_image) || !empty($h16->mobile_image)))
@if(!empty($h16->name))

{{ $h16->name }}

@endif @if(!empty($h16->description))
{!! $h16->description !!}
@endif
@endif
@if(!empty($h16->desktop_image))
{{ $h16->name }}
@endif @if(!empty($h16->mobile_image))
{{ $h16->name }}
@endif
{!! $services !!}
@if($h18 && (!empty($h18->name) || !empty($h18->description))) @if(!empty($h18->name))

{{ $h18->name }}

@endif @if(!empty($h18->description))
{!! $h18->description !!}
@endif @endif
@if($h19 && (!empty($h19->name) || !empty($h19->short_description))) @if(!empty($h19->name))

{{ $h19->name }}

@endif @if(!empty($h19->short_description))

{{ $h19->short_description }}

@endif @endif
{!! $testimonials !!} {!! $applynow !!} {!! $contactus !!} @endsection