<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
// use App\Models\Alumni; // Un-comment jika Anda sudah memiliki model Alumni
// use App\Models\Jurusan; // Un-comment jika Anda sudah memiliki model Jurusan

class LandingPageController extends Controller
{
    /**
     * Menampilkan halaman utama (Landing Page).
     *
     * @return \Illuminate\View\View
     */
    public function index()
    {
  
        $data = [
            'total_alumni' => 120, 
            'total_jurusan' => 15,
            'rumpun_ilmu' => [
                'Sains & Teknologi', 
                'Sosial & Humaniora', 
                'Ekonomi & Bisnis', 
                'Seni & Desain'
            ],
            'masalah_nasional' => '87%' 
        ];

        return view('landingpage', compact('data'));
    }
}