where('type', StaticPageType::homepage)->first(); // Gammes. $ranges = Range::query()->where('status', true) ->get(); // 3 Recettes. $publishedRecipes = Recipe::query() ->where('status', true) ->inRandomOrder() ->take(3) ->get(); return view('fo.pages.home', compact('staticPageModel', 'ranges', 'publishedRecipes')); } }