-
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathDashboard.php
More file actions
32 lines (27 loc) · 774 Bytes
/
Dashboard.php
File metadata and controls
32 lines (27 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
namespace App\Filament\Pages;
use App\Filament\Widgets\LicenseDistributionChart;
use App\Filament\Widgets\LicensesChart;
use App\Filament\Widgets\PluginRevenueChart;
use App\Filament\Widgets\StatsOverview;
use App\Filament\Widgets\UsersChart;
use Filament\Pages\Dashboard as BaseDashboard;
class Dashboard extends BaseDashboard
{
protected static \BackedEnum|string|null $navigationIcon = 'heroicon-o-home';
public function getHeaderWidgets(): array
{
return [
StatsOverview::class,
];
}
public function getWidgets(): array
{
return [
UsersChart::class,
LicensesChart::class,
LicenseDistributionChart::class,
PluginRevenueChart::class,
];
}
}