latest()->get(); $interfaces = PosAppInterface::whereStatus(1)->latest()->get(); $testimonials = Testimonial::latest()->get(); $recent_blogs = Blog::with('user:id,name')->whereStatus(1)->latest()->take(3)->get(); $blogs = Blog::with('user:id,name')->whereStatus(1)->take(2)->get(); $general = Option::where('key','general')->first(); $plans = Plan::where('status',1)->latest()->get(); return view('web.index', compact('page_data','features','interfaces','testimonials','recent_blogs','blogs','general','plans')); } }