@extends('frontend.dashboard.layouts.app') @section('content')
@if (auth('web')->user()->kyc?->status == 'pending')
Warning Alerts!! Your KYC is Pending
Please Wait Admin Will Review Your Kyc and Then Approve Your KYC.
@endif @if (auth('web')->user()->kyc?->status == 'rejected' || auth('web')->user()->kyc?->status == null)
Submit Your KYC
Please Submit Your KYC To Get Started. Submit KYC
@endif @php $breakingNews = App\Models\BreakingNews::where('status', 'active') ->orderBy('created_at', 'desc') ->get(); @endphp @if($breakingNews->count() > 0)
Breaking News

@foreach($breakingNews as $news)
@if($news->image)
{{ $news->title }}
@endif
{{ $news->title }}

{{ Str::limit($news->description, 150) }}

{{ $news->created_at->format('d M, Y') }}
@if(strlen($news->description) > 150) Read More @endif
@endforeach
@endif
@endsection