/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $data = []; $data['tours'] = Tour::select('alias', 'name', 'duration')->latest('created_at')->where('day_tour', 0)->published()->take(6)->get(); $data['day_tours'] = Tour::select('alias', 'name')->latest('created_at')->where('day_tour', 1)->published()->take(12)->get(); $data['destinations'] = TourDestination::where('active', 1)->orderBy('name', 'ASC')->get(); $data['reviews'] = TourReview::latest('created_at')->where('active', 1)->take(4)->get(); $data['title'] = "Vietnam Tours - Planning tours to Vietnam with the best offers"; $data['description'] = "Book travel for less with specials on cheap airline tickets, hotels, car rentals, and flights on TraveloVietnam.com, your one-stop resource for travel and vacation needs"; $data['keywords'] = "vietnam travel, travel to vietnam, vietnam tours, tours in vietnam, vietnam hotels, hotels in vietnam, vietnam visa, visa to vietnam"; return view('welcome', $data); }