Custom Login Page
Sorry for another dumb question, I just am very new to PHP Laravel Development and I found Filament to be really convenient but just need to do a little bit of extra steps.
I want to make a custom login page where half of the page is basically an image and the right half is the form
this is my code but it doesnt seem to work
this is the html code placed in Resources > Views > Filamenet > Pages > Auth > login.blade.php
and this is my login class
Solution:Jump to solution
use
custome page like this and change the view
namespace App\Filament\Pages\Auth;...
6 Replies
I also tried going to the vendor directory and copy paste the code of the login.blade.php but the <x-filament-panels> errors were showing up, do I have to add them somewhere?
Solution
use
custome page like this and change the view
namespace App\Filament\Pages\Auth;
use Filament\Forms\Form;
use Filament\Pages\Auth\Login as FilamentLogin;
class Login extends FilamentLogin
{
public static string $view = 'auth.login'; //// here use your view
public function form(Form $form): Form
{
return $form
->schema([
]) ->statePath('data') ->model( ); } } @Billi
]) ->statePath('data') ->model( ); } } @Billi
But how will the page know where to put the form? Also do I fill out the schema with textInput etc?
Thank youu!! These solutions worked
okie