Skip to content

Instantly share code, notes, and snippets.

@arcanoix
Created August 30, 2024 00:37
Show Gist options
  • Save arcanoix/782c66fde566f7d05488d4beeb2e0e73 to your computer and use it in GitHub Desktop.
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.
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