@section('title'){{ $page->title }} | {{ config('app.settings.app_name') }}@endsection

@section('metas')
    @forelse ($page->meta as $key => $value)
        @if ($value)

            @if ($key == "description")
                @section('description'){{ $value }}@endsection
            @elseif($key == "keywords")
                @section('keywords'){{ $value }}@endsection
            @else
                <meta name="{{ $key }}" content="{{ $value }}">
            @endif
        @endif
    @empty
    @endforelse
@endsection
@section('custom_header')
    @if(!empty($page->custom_header))
        {!! $page->custom_header !!}
    @endif
@endsection
<div>
    <flux:heading class="mb-3 truncate" size="xl" level="1">{{ $page->title }}</flux:heading>
    <div class="mb-3"></div>
    <div class="block rounded-lg bg-white shadow-md dark:bg-zinc-700 items-center p-1">
        <div class="flex w-full items-center justify-center px-4 py-4 sm:px-6">
            <flux:text>{!! $page->content !!}</flux:text>
        </div>
    </div>
    <div class="magic-box mt-3">

    </div>
</div>
