<?php

namespace App\Http\Controllers\BackOffice;

use Illuminate\Http\Request;
use Illuminate\Contracts\View\View;
use App\Http\Controllers\Controller;

class DashboardController extends Controller
{
    /** Show Dashboard 
     * @param Request $request
     * 
     * @return View
     */
    public function index(Request $request): View
    {   
        //Breadcrumb
        $breadcrumb = [
            'accueil',
            'tableau de bord',
        ];

        // Return a view
        return view('backoffice.test', [
            'title' => 'Tableau de bord',
            'breadcrumb' => $breadcrumb,
        ]);
    }
}
