description(__('dashboard.stats.total_users')) ->descriptionIcon('heroicon-m-users') ->color('primary'), Stat::make(__('dashboard.stats.total_pages'), Page::count()) ->description(__('dashboard.stats.published_pages') . ': ' . Page::where('status', 'published')->count()) ->descriptionIcon('heroicon-m-document-text') ->color('success'), Stat::make(__('dashboard.stats.total_translations'), Translation::count()) ->description(__('dashboard.stats.published_translations') . ': ' . Translation::where('status', 'published')->count()) ->descriptionIcon('heroicon-m-language') ->color('info'), Stat::make(__('dashboard.stats.active_languages'), Language::where('is_active', true)->count()) ->description(__('dashboard.stats.active_languages')) ->descriptionIcon('heroicon-m-globe-alt') ->color('warning'), ]; } protected function getColumns(): int { return 4; } }