@extends('frontend.layouts.app') @if ($search) @section('title', ucwords($search) . ' ' . '-' . ' ' . $setting->bname) @elseif ($category) @section('title', ucwords($category) . ' ' . '-' . ' ' . $setting->site_title) @else @section('title', 'Courses' . ' ' . '-' . ' ' . $setting->site_title) @endif @section('description', $setting->site_description) @section('keywords', $setting->site_keywords) @section('content')

{{ $setting->bname }}

@if ($search) {{ $search }} @elseif ($category) {{ str_replace('-', ' ', ucfirst($category)) }} @else Our Courses @endif

@if ($category)
@foreach ($services as $service)
@if ($service->image)
Image
@endif
{{ $service->title }}

{{ Str::limit($service->excerpt, 140) }}

Explore More
@endforeach
{{ $services->links() }}
@else
@forelse ($services as $course)
{{ $course->title }}

{{ Str::limit($course->excerpt, 140) }}

@empty

No Data Found

@endforelse
{{ $services->links() }}
@endif
@stop @section('css') @stop