@extends('frontend.layouts.main') @section('title', $seo['title'] ?? '' ) @section('keywords', $seo['keywords']??'') @section('description', $seo['description']??'') @section('abstract', $seo['abstract']??'') @section('image', $seo['image']?asset($seo['image']):'') @section('code_schema') {!!$category->code_schema!!} @endsection @section('css') @endsection @section('content')
@if (isset($category)&&$category)

{{$category->name}}

@endif
@isset($breadcrumbs,$typeBreadcrumb) @include('frontend.components.breadcrumbs',[ 'breadcrumbs'=>$breadcrumbs, 'type'=>$typeBreadcrumb, ]) @endisset
@if($category->childs->count()>0)
@foreach($category->childs()->where('active', 1)->orderBy('order')->get() as $galaxy_item)
{{$galaxy_item->name}}

{{$galaxy_item->name}}

{{$galaxy_item->description}}
{{----}}
@endforeach
@endif @if($category->slug=='hinh-anh')
{{--

{{$category->name}}

--}} @if ($category->content) @endif @if($data2->count()>0)
@foreach($data2 as $galaxy_item)
{{ $galaxy_item->name }} {{-- {{ Illuminate\Support\Carbon::parse($galaxy_item->created_at)->format('d/m/Y') }} {{$galaxy_item->view}} --}}
{{--

{{$galaxy_item->name}}

{{$galaxy_item->description}}
--}}
@endforeach
@if (count($data2)) {{$data2->appends(request()->all())->links()}} @endif
@else Đang cập nhật dữ liệu! @endif
@else
{{--

{{$category->name}}

--}} @if ($category->content) @endif @if($data2->count()>0)
@foreach($data2 as $galaxy_item) @endforeach
@if (count($data2)) {{$data2->appends(request()->all())->links()}} @endif
@else Đang cập nhật dữ liệu! @endif
@endif
{{--

{{$header['course']->name}}

@if(isset($data)&&$data)
@foreach($data as $galaxy_item) @php $link = route('checkKey',['slug'=>$galaxy_item->slug]); @endphp

{{$galaxy_item->name}}

{!!$galaxy_item->description!!}

@endforeach

{{$sidebar['ten_noi_bat']->name}}

@if(isset($tinnoi)&&$tinnoi) @endif
@endif

{{$footer['logo_footer']->value}}

--}} @endsection @section('js') @endsection