<?php

namespace AutoAdmin\Bundle\Admin\Controller\Admin;

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Routing\RouterInterface;

class DashboardController extends AbstractAdminController
{
    #[Route('/', name: 'aa_admin_dashboard_index')]
    public function index(Request $request, RouterInterface $router): Response
    {
        // TODO: what do we put here ? widget system ?
        return $this->render(
            '@AutoAdminAdmin/base_layout.html.twig',
            [
                'mainTitle' => 'Dashboard',
            ]
        );
    }
}
