<?php

namespace App\Filament\Employee\Pages;

use Filament\Pages\Page;

class EmployeeDashboard extends Page
{
    protected static ?string $navigationIcon = 'heroicon-o-home';

    protected static string $view = 'filament.employee.pages.employee-dashboard';

    protected static ?string $title = 'Dashboard';

    protected static ?string $navigationLabel = 'Dashboard';

    protected static ?string $navigationGroup = 'Dashboard';

    protected static ?int $navigationSort = 1;

    public function getHeaderWidgets(): array
    {
        return [
            \App\Filament\Employee\Widgets\MyStatisticsWidget::class,
            \App\Filament\Employee\Widgets\MyRequestsWidget::class,
        ];
    }

    public function getFooterWidgets(): array
    {
        return [
            \App\Filament\Employee\Widgets\AttendanceCalendarWidget::class,
        ];
    }

    public function getHeaderWidgetsColumns(): int|array
    {
        return 1;
    }
}
