@if ($sliders->count() > 0)
@foreach ($sliders as $slider) @if ($slider->images && is_array($slider->images)) @foreach ($slider->images as $image)
{{ $slider->getTranslation('title', app()->getLocale()) }}
@endforeach @endif @endforeach
@else

{{ __('Welcome to KUST') }}

{{ __('Komar University of Science and Technology') }}

@endif

{{ __('NEWS') }}

@if ($latestNews->count() > 0)
@foreach ($latestNews as $item)
{{ $item->getTranslation('title', app()->getLocale()) }}
{{ $item->published_at->format('M d, Y') }}

{{ $item->getTranslation('title', app()->getLocale()) }}

@if ($item->getTranslation('excerpt', app()->getLocale()))

{{ Str::limit($item->getTranslation('excerpt', app()->getLocale()), 100) }}

@endif {{ __('Read More') }} →
@endforeach
@else

{{ __('No news available at the moment.') }}

@endif