<?php

namespace App\Filament\Pages;

use Filament\Pages\Dashboard as BaseDashboard;

class Dashboard extends BaseDashboard
{
    protected static ?string $navigationLabel = '仪表板';

    protected static ?string $title = '仪表板';

    public function getWidgets(): array
    {
        return [
            \App\Filament\Widgets\KnowledgeBaseStatsWidget::class,
            \App\Filament\Widgets\TerminalStatsWidget::class,
        ];
    }

    public function getColumns(): int | string | array
    {
        return 2;
    }
}
