Created
August 30, 2024 00:37
-
-
Save arcanoix/782c66fde566f7d05488d4beeb2e0e73 to your computer and use it in GitHub Desktop.
Agregar dos logos diferentes en el login y en el navbar de filamentphp con laravel.
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
Para poder manejar dos logos distintos tamaños o diseño. | |
$panel | |
... | |
->brandLogo(fn () => auth()->check() ? asset('images/logoA.png') : asset('images/logoB.png')) | |
You can also use brandLogoHeight with the same approach | |
https://filamentphp.com/docs/3.x/panels/themes#adding-a-logo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment