/** * Show the application welcome screen to the user. * * @return Response */ public function index() { $programs = $this->programRepo->getDropDownArray(); $testimonials = $this->programRepo->getAllTestimonials(); $recent_news = $this->newsRepo->getRecentNews(); return view('pages.index', ['programs' => $programs, 'testimonial_data' => $testimonials, 'recent_news' => $recent_news]); }