@include('dashboard.includes.alerts.success')
@include('dashboard.includes.alerts.errors')
@php
//$meta = \App\Models\MetaData::where('page_type', 'home')->first(); // Execute the query and fetch the first result
$meta = \App\Models\MetaData::getMeta($page_type, $pageId);
//dump($meta); // Debugging: Check if meta is null or contains data
@endphp
@include('dashboard.meta_data._forms', [
'pageType' => $page_type,
'pageId' => $pageId,
'meta' => $meta,
])