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
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
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
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