This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//add darkModeBrandLogo() method to AdminPanelProvider.php file | |
use Filament\Panel; | |
public function panel(Panel $panel): Panel | |
{ | |
return $panel | |
// ... | |
->darkModeBrandLogo(fn () => view('filament.logo.dark')) | |
->brandLogo(fn () => view('filament.logo.light')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//We perform the tasks in the AppServiceProvider file (file in the App/Providers folder) inside the boot function. | |
use App\Filament\Logout; | |
use Filament\Http\Responses\Auth\Contracts\LogoutResponse as LogoutResponseContract; | |
// ... | |
public function boot() | |
{ |