38 lines
954 B
PHP
38 lines
954 B
PHP
<?php
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use App\Filament\Support\CheerfulNotification;
|
|
use App\Filament\Widgets\Stats\OverviewStats;
|
|
use BezhanSalleh\FilamentShield\Traits\HasPageShield;
|
|
use Filament\Pages\Dashboard as BaseDashboard;
|
|
|
|
class Dashboard extends BaseDashboard
|
|
{
|
|
use HasPageShield;
|
|
|
|
public function getTitle(): string
|
|
{
|
|
return CheerfulNotification::getMessage('Dasbor 🏠✨', 'Dasbor');
|
|
}
|
|
|
|
public function getSubheading(): ?string
|
|
{
|
|
return CheerfulNotification::getMessage('Selamat datang kembali! Pantau ringkasan data dan statistik sistem dalam sekejap! 🚀📊', 'Halaman ini menyajikan ringkasan statistik dan informasi penting sistem Anda.');
|
|
}
|
|
|
|
protected static ?string $pollingInterval = null;
|
|
|
|
public function getColumns(): int|array
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
public function getWidgets(): array
|
|
{
|
|
return [
|
|
OverviewStats::class,
|
|
];
|
|
}
|
|
}
|