<x-layouts.app>

    <div>
        @include('theme::partials.inner_navigation')

        <div class="container mx-auto p-2">
            <div class="flex flex-wrap flex-row">
                <!-- main content -->
                <div class="md:p-2 mb-12 md:bas w-full">

                    <div class="bg-white shadow-lg shadow-[#4c4c4c30] rounded-lg overflow-hidden">

                        <div class="p-4">
                            <div class="flex justify-between flex-wrap text-gray-400 p-3">
                                <div class="flex items-center">
                                    <h1 class="mt-2 font-bold text-xlg text-gray-600">{{$modelPage->title}}</h1>
                                </div>
                            </div>

                            <span class="leading-10 text-gray-500 block mt-3 blog-container">
                                {!! $modelPage->content !!}
                            </span>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>


    @sortableWidgets($widgetInstance, $block)
    @sortableWidgets($footerInstance, 'footer')
</x-layouts.app>

{{-- Seo --}}
@section('meta_title')
    @php
        $title = $modelPage->meta_title ?? $modelPage->title;
        $title = ' '.$title.' | '. theme_option('meta_title');
    @endphp
    {{$title}}
@endsection
@section('meta_description')
    @php
        $description = $modelPage->meta_description ?? $modelPage->description;
    @endphp
    {{$description}}
@endsection

