<?php
declare(strict_types=1);

use App\Core\Registries\PermissionRegistry;
use App\Core\Registries\MenuRegistry;

PermissionRegistry::register('sports_dashboard', [
    'sports_dashboard.view'   => ['ar' => 'عرض لوحة المعلومات الرياضية', 'en' => 'View Sports Dashboard'],
    'sports_dashboard.export' => ['ar' => 'تصدير التقارير',              'en' => 'Export Reports'],
]);

MenuRegistry::register('sports_dashboard', [
    'label_ar'   => 'لوحة المعلومات الرياضية',
    'icon'       => 'chart-bar',
    'route'      => '/sports-dashboard',
    'permission' => 'sports_dashboard.view',
    'parent'     => 'sports_activities',
    'order'      => 700,
]);
