@extends('frontend.layouts.main') @section('title', $seo['title'] ?? '' ) @section('keywords', $seo['keywords']??'') @section('description', $seo['description']??'') @section('abstract', $seo['abstract']??'') @section('image', $seo['image']??'') @section('css') @endsection @php $nextPageUrl = $data->nextPageUrl(); $previousPageUrl = $data->previousPageUrl(); $page = request()->input('page'); @endphp @section('canonical') @endsection @if(request()->has('page') && ($page == 1 || $page == 2)) @section('prevPage') @endsection @else @if ($previousPageUrl) @section('prevPage') @endsection @endif @endif @if ($nextPageUrl) @section('nextPage') @endsection @endif @section('content')
@php $banner = App\Models\Slider::where('active', 1)->find(1); @endphp {{--
@isset($breadcrumbs,$typeBreadcrumb) @include('frontend.components.breadcrumbs',[ 'breadcrumbs'=>$breadcrumbs, 'type'=>$typeBreadcrumb, ]) @endisset
--}}

{{$category->name}}

{!!$category->content!!}

@if(isset($teacher) && count($teacher->childs()->where('active',1)->orderBy('order')->get()) >0)
@foreach($teacher->childs()->where('active',1)->orderBy('order')->get() as $item)
{{$item->name}}

{{$item->name}}

{{$item->value}}
{!!$item->description!!}
@endforeach
@else Đang cập nhập dữ liệu! @endif
@endsection