<?php
declare(strict_types=1);

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

// ────────────────────────────────────────────────────────────
// News — Club news articles and announcements
// ────────────────────────────────────────────────────────────

MenuRegistry::register('news', [
    'label_ar'   => 'الأخبار',
    'label_en'   => 'News',
    'icon'       => 'newspaper',
    'route'      => '/news',
    'permission' => 'news.view',
    'parent'     => 'sports_activities',
    'order'      => 730,
]);

PermissionRegistry::register('news', [
    'news.view'   => ['ar' => 'عرض الأخبار',  'en' => 'View News'],
    'news.manage' => ['ar' => 'إدارة الأخبار', 'en' => 'Manage News'],
]);
