currentLocale(); $home = Home::query()->firstOrFail(); $sliders = Slider::query() ->where('status', true) ->orderBy('order') ->whereJsonContains('locales', $currentLocale) ->get(); return view('fo.pages.home', compact('home', 'sliders')); } }