<?php

namespace App\Http\Controllers;

use App\Models\Pengumuman;
use Illuminate\Http\Request;

class DashboardController extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        //
        $title   = 'Dashboard PMW';
        // $pengumuman = $pengumuman = Pengumuman::query()->first();

        $data = [
            'title'   => $title,
            'pengumuman'  => null,
        ];

        return view('backend.index', $data);
    }

}