git commit "fix user panel pages hero layout and add profile dropdown improvements"
This commit is contained in:
@@ -11,13 +11,12 @@ class HomeController extends Controller
|
||||
public function index()
|
||||
{
|
||||
$newestFlight = Flight::
|
||||
where('departure_date', '>=', now())
|
||||
->orderBy('departure_date', 'asc')
|
||||
->take(3)
|
||||
->get();
|
||||
orderBy('created_at', 'desc')
|
||||
->paginate(1);
|
||||
|
||||
$newestTour = Tour::latest()
|
||||
->take(10)
|
||||
->get();
|
||||
->paginate(2);
|
||||
|
||||
|
||||
$flights = Flight::latest()
|
||||
->paginate(5);
|
||||
|
||||
Reference in New Issue
Block a user