This commit is contained in:
f4ilji
2024-11-07 16:11:35 +05:00
parent f01fecf1e6
commit fbea6ecd48
29 changed files with 578 additions and 89 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class MainController extends Controller
$path = route('index', null, false);
$page = Page::where('path', $path)->first();
$seo = $page->seo;
$seo = $page->seo ?? null;
return Inertia::render('Main', compact('posts', 'events', 'sliders', 'educations', 'seo'));
}