symfony 5 dashboard template code example
Example: easy admin bunfle symfony modify login page
namespace App\Controller\Admin;
use EasyCorp\Bundle\EasyAdminBundle\Config\Dashboard;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractDashboardController;
class DashboardController extends AbstractDashboardController
{
public function configureDashboard(): Dashboard
{
return Dashboard::new()
->setTitle('ACME Corp.')
->setTitle('<img src="..."> ACME <span class="text-small">Corp.</span>')
->setTranslationDomain('my-custom-domain')
;
}
}