fix: perbaiki navigasi mobile — semua menu tetap inline seperti referensi
This commit is contained in:
@@ -13,10 +13,12 @@ class PublicController extends Controller
|
||||
public function home()
|
||||
{
|
||||
return view('public.home', [
|
||||
'totalAnggota' => User::where('status', 'aktif')->count(),
|
||||
'totalDivisi' => Division::count(),
|
||||
'kegiatan' => Activity::where('status', 'approved')
|
||||
->latest('start_date')->take(3)->get(),
|
||||
'totalAnggota' => User::where('status', 'aktif')->count(),
|
||||
'totalDivisi' => Division::count(),
|
||||
'totalKegiatan' => Activity::where('status', 'approved')->whereNotNull('executed_at')->count(),
|
||||
'divisi' => Division::withCount('members')->get(),
|
||||
'kegiatan' => Activity::where('status', 'approved')->latest('start_date')->take(3)->get(),
|
||||
'posts' => Post::published()->latest('published_at')->take(2)->get(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user