where('type', StaticPageType::we_hire)->first(); $sectionModels = Section::query()->where('page_id', $staticPageModel->id)->get(); $videoModels = JobVideo::query()->inRandomOrder()->simplePaginate(4); $testimonialModels = Testimonial::query()->where('type', TypeEnum::hire)->get(); return view('fo.pages.hire', \compact('staticPageModel', 'sectionModels', 'videoModels', 'testimonialModels')); } }