Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
24 lines
507 B
PHP
24 lines
507 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-s-gift'; // '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');
|
|
// }
|
|
}
|