F
Filamentβ€’6mo ago
trisharvey13

How can I customize the authentication pages?

Can I publish the pages to customize it?
Solution:
You can create your own pages to use with authentication. See https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features What sort of authentication customizations are you wanting to make?...
Jump to solution
17 Replies
Solution
DrByte
DrByteβ€’6mo ago
You can create your own pages to use with authentication. See https://filamentphp.com/docs/3.x/panels/users#customizing-the-authentication-features What sort of authentication customizations are you wanting to make?
trisharvey13
trisharvey13β€’6mo ago
How about the ui of it?
DrByte
DrByteβ€’6mo ago
If by "ui" you mean "the look and feel of the page", then yes, just create your own page and pass it in as described in the docs I linked to. If by "ui" you mean the form, that's discussed on that same page in the docs.
trisharvey13
trisharvey13β€’6mo ago
Okay thanks
trisharvey13
trisharvey13β€’6mo ago
No description
trisharvey13
trisharvey13β€’6mo ago
What is the x-slot of brandLogo?
DrByte
DrByteβ€’6mo ago
GitHub
filament/packages/panels/resources/views/components/logo.blade.php ...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
trisharvey13
trisharvey13β€’6mo ago
How do i call that to blade? So i can customize the logo
DrByte
DrByteβ€’6mo ago
GitHub
filament/packages/panels/resources/views/components/header/simple.b...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
trisharvey13
trisharvey13β€’6mo ago
This is my custom blade. I cant change the brandlogo
No description
DrByte
DrByteβ€’6mo ago
This page is being attached to a Panel, right? All the props for the logo component are provided from configurations in the Panel. So if you provide the ->brandLogo() config in the Panel it should carry through. https://filamentphp.com/docs/3.x/panels/themes#adding-a-logo
DrByte
DrByteβ€’6mo ago
Looks like you're focused on changing the blade template.
You didn't explain "what" you want to customize. You only said "ui", so it's hard to know how important it is to touch the template, vs merely adjusting the configuration or the page properties.
trisharvey13
trisharvey13β€’6mo ago
Yes but when i do that. It also affect the navbar logo. Size in login page must be big
DrByte
DrByteβ€’6mo ago
If that's all you're trying to adjust, maybe just CSS is enough? .fi-logo {height: 6rem;} er, well, might need another selector to help it know to only apply on the Login page
trisharvey13
trisharvey13β€’6mo ago
No description
trisharvey13
trisharvey13β€’6mo ago
I've got the solution thanks
DrByte
DrByteβ€’6mo ago
Yup. That's a great way to do it! πŸ™Œ