feat: Enhance admin panel configuration by setting max content width to full and specifying default avatar provider as FacehashProvider.

This commit is contained in:
Yoga Pangestu 2026-03-10 11:21:35 +07:00
parent 9c53efb918
commit 4f6eeeed9f

View File

@ -22,6 +22,7 @@
use Illuminate\View\Middleware\ShareErrorsFromSession;
use Saade\Facehash\Enums\Variant;
use Saade\FilamentFacehash\FacehashPlugin;
use Saade\FilamentFacehash\FacehashProvider;
class AdminPanelProvider extends PanelProvider
{
@ -77,6 +78,8 @@ public function panel(Panel $panel): Panel
'#f97316',
'#10b981',
]),
]);
])
->maxContentWidth('full')
->defaultAvatarProvider(FacehashProvider::class);
}
}