feat: implement assets and blades layouts

This commit is contained in:
2026-08-18 18:23:49 -07:00
parent ebec702aff
commit b0848e65b9
112 changed files with 62486 additions and 88 deletions
@@ -0,0 +1,20 @@
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use App\Models\Booking;
use App\Models\Flight;
use App\Models\User;
class DashboardController extends Controller
{
public function index()
{
$flightsCount = Flight::count();
$usersCount = User::count();
$bookingsCount = Booking::count();
return view('admin.dashboard', compact('flightsCount', 'usersCount', 'bookingsCount'));
}
}