@push('style_css') @endpush @section('title') دسته بندی مطالب {{ $title }} - سرمایه گذاری اهرم @endsection
@if ($blogOrNotBlog == 'blog') مطالب {{ $title }} @else {{ $title }} @endif
{{--
--}} {{-- --}} {{--
--}}
    --}} class="flex items-center py-3 -mb-px rounded-2xl relative">
    {{--
  • --}}
  • دسته‌بندی‌ها
  • current() == route('CategoryBlog.index', ['slug' => 'all']) || url()->current() == route('CategoryBlog.index', ['slug' => 'all']) . '/page/' . $page) checked @endif>
  • @foreach ($parentCategories->sortByDesc('priority') as $parent)
  • current() == route('CategoryBlog.index', ['slug' => $parent->slug]) || url()->current() == route('NewsCategory.show', ['slug' => $parent->slug]) || url()->current() == route('CategoryBlog.index', ['slug' => $parent->slug]) . '/page/' . $page || $parent->id == $selectedTopLevelCategoryId) checked @endif>
  • @endforeach
  • دسته‌بندی‌
  • دسته‌بندی‌
{{-- --}} {{-- ثبت--}} {{-- --}}
    @if (!$is_news )
  • همه دسته‌ها
  • {{-- @if ($category['id'] == 0)--}} {{-- --}} @foreach ($parentCategories->sortByDesc('priority') as $parent)
  • @if(isset($topParent->id)) {{ $parent->title }} @else {{ $parent->title }} @endif
  • @endforeach {{-- @else--}} {{-- --}} {{-- @endif--}} @else {{-- @if ($category['slug'] == 'news')--}}
  • همه اخبار
  • @foreach ($parentCategories->sortByDesc('priority') as $parent)
  • @if(isset($category)) {{ $parent->title }} @else {{ $parent->title }} @endif
  • @endforeach {{-- @else--}} {{-- --}} {{-- @php--}} {{-- $parentCategory = null;--}} {{-- if ($this->category->parent_id) {--}} {{-- $parentCategory = App\Models\Category::find($this->category->parent_id);--}} {{-- } elseif ($this->category->parent_below) {--}} {{-- $parentCategory = App\Models\Category::find($this->category->parent_below);--}} {{-- }--}} {{-- @endphp--}} {{-- @if ($parentCategory)--}} {{--
  • --}} {{-- {{ $parentCategory->title }}--}} {{--
  • --}} {{-- @endif--}} {{--
  • --}} {{-- {{ $category->title }}--}} {{--
  • --}} {{-- @foreach ($categoriesNotBlog->sortByDesc('priority') as $item)--}} {{--
  • --}} {{-- {{ $item['title'] }}--}} {{--
  • --}} {{-- @endforeach--}} {{-- @endif--}} @endif
@if ($blogs && $blogs->count() > 0)
@foreach ($blogs as $index => $blog)
{!! $blog->subject !!}
{{ jalaliDate($blog->published_at, '%d %B، %Y') }}
{{ convertEnglishToPersianNumber($blog->reed_time) }} دقیقه
@endforeach
@if ($blogs->hasPages()) @endif @section('metaSEO') @if ($blogs->currentPage() > 1) @if ($blogs->currentPage() == 2) @else @endif @endif @if (!$is_news && $slug == 'all') @endif @endsection @else
هیچ مطلبی یافت نشد.
@section('metaSEO') @if (!$is_news && $slug == 'all') @endif @endsection @endif
@script @endscript