mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
61 lines
1.2 KiB
PHP
61 lines
1.2 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Dashboards;
|
|
|
|
use App\Filament\Widgets\Wiki\Anime\AnimeChart;
|
|
use App\Filament\Widgets\Wiki\Artist\ArtistChart;
|
|
use App\Filament\Widgets\Wiki\Series\SeriesChart;
|
|
use App\Filament\Widgets\Wiki\Video\VideoChart;
|
|
|
|
/**
|
|
* Class WikiDashboard.
|
|
*/
|
|
class WikiDashboard extends BaseDashboard
|
|
{
|
|
/**
|
|
* Get the slug used to the dashboard route path.
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getSlug(): string
|
|
{
|
|
return 'wiki';
|
|
}
|
|
|
|
/**
|
|
* Get the displayed label for the dashboard.
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getNavigationLabel(): string
|
|
{
|
|
return __('filament.dashboards.label.wiki');
|
|
}
|
|
|
|
/**
|
|
* Get the icon for the dashboard.
|
|
*
|
|
* @return string
|
|
*/
|
|
public static function getNavigationIcon(): string
|
|
{
|
|
return __('filament.dashboards.icon.wiki');;
|
|
}
|
|
|
|
/**
|
|
* Get the widgets available for the dashboard.
|
|
*
|
|
* @return class-string[]
|
|
*/
|
|
public function getWidgets(): array
|
|
{
|
|
return [
|
|
AnimeChart::class,
|
|
ArtistChart::class,
|
|
SeriesChart::class,
|
|
VideoChart::class,
|
|
];
|
|
}
|
|
} |