26 lines
483 B
PHP
26 lines
483 B
PHP
<?php
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use Filament\Pages\Page;
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
class Welcome extends Page
|
|
{
|
|
protected static ?string $navigationIcon = 'heroicon-o-document-text';
|
|
|
|
protected static string $view = 'filament.pages.welcome';
|
|
|
|
|
|
|
|
public function getHeading(): string
|
|
{
|
|
return '';
|
|
}
|
|
|
|
// public static function canAccess(): bool
|
|
// {
|
|
// return Auth::check() && Auth::user()->can('view welcome page');
|
|
// }
|
|
}
|