@extends('frontend.master', ['activePage' => 'home']) @section('title', __('Home')) @section('content')
{{--
--}} {{-- scroll --}}
{{-- main --}}
{{-- Latest Events --}}

{{ __('Latest Event') }}

@if (count($events) == 0)
{{ __('There are no events added yet') }}
@endif {{-- Feature Categories --}}

{{ __('Feature Categories') }}

@if (count($category) == 0)
{{ __('There are no category added yet') }}
@endif
@foreach ($category as $item) @if ($loop->iteration == 4) @break @endif @endforeach
{{-- Latest blogs --}}

{{ __('Latest Blogs') }}

@if (count($blog) == 0)
{{ __('There are no blog added yet') }}
@endif
@foreach ($blog as $item)
@if (Auth::guard('appuser')->user())
@if (Str::contains($user->favorite_blog, $item->id)) @else @endif
@endif

{{ Carbon\Carbon::parse($item->created_at)->format('d M Y') }}

{{ $item->title }}

{{ \Illuminate\Support\Str::limit(strip_tags($item->description), 150, $end = '...') }}

{{ __('Read More') }}
@if ($loop->iteration == 4) @break @endif @endforeach
@if ($showLinkBanner->show_link_banner == 1)

{{ __('Book Your Favorite Events From Anywhere') }}

{{ __('Mobile Apps are available for Android & iOS both.') }}
{{ __(' Please Download & Start Booking Now!') }}

@endif
@endsection