@php
    $app_local      = get_default_language_code();
    $default        = App\Constants\LanguageConst::NOT_REMOVABLE;
    $slug           = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::BLOG_SECTION);
    $blog           = App\Models\Admin\SiteSections::getData($slug)->first();
@endphp
@extends('frontend.layouts.master')

@section('content')
<!-- blog section -->


   @forelse ($page_section->sections ?? [] as $item)
        
        @php
            $component_name = 'frontend.section.' . $item->section->key;
        @endphp

        @if (View::exists($component_name))
            @include($component_name)
        @endif
    @empty
        @include('frontend.section.demo')
    @endforelse
@endsection


@push("script")

@endpush
