feat: initial project setup with Laravel 12 and Filament v4
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use Filament\Pages\Dashboard as BaseDashboard;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
class Dashboard extends BaseDashboard
|
||||
{
|
||||
protected string $view = 'filament.pages.dashboard';
|
||||
|
||||
public function getTitle(): string|Htmlable
|
||||
{
|
||||
return __('navigation.dashboard.title');
|
||||
}
|
||||
|
||||
public function getHeading(): string|Htmlable
|
||||
{
|
||||
return new HtmlString('');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user