<?php

namespace App\Http\Controllers\Guru;

use App\Http\Controllers\Controller;
use App\Services\DummyDataService;
use Illuminate\Http\Request;

class LaporanController extends Controller
{
    public function index()
    {
        $laporan = DummyDataService::getLaporanMinatBaca();
        $siswaTeraktif = DummyDataService::getSiswaTeraktif();
        $aktivitasMingguan = DummyDataService::getAktivitasMingguan();

        return view('guru.laporan.index', [
            'pageTitle' => 'Laporan Minat Baca Siswa',
            'laporan' => $laporan,
            'siswaTeraktif' => $siswaTeraktif,
            'aktivitasMingguan' => $aktivitasMingguan,
        ]);
    }
}
