This commit is contained in:
tanch0
2024-06-04 16:10:03 +05:45
parent ef227fce6b
commit 9d3e9cef7a
15 changed files with 9561 additions and 66 deletions

View File

@ -32,7 +32,6 @@ class WebsiteController extends Controller
$headerMenuItems = Menuitems::where('menulocations_id', $headerMenu->menulocation_id)->where('status','<>',-1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
$footerMenu = Menulocations::where('alias', 'footer-menu')->first();
$footerMenuItems = Menuitems::where('menulocations_id', $footerMenu->menulocation_id)->where('status','<>',-1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
// dd($footerMenuItems);
$popularNews = News::inRandomOrder()->inRandomOrder()->take(3)->get();
View::share([
'headerMenuItems' => $headerMenuItems,