<?php

/**
 * Categories : <id> => ['name', 'items']
 * Items: ['name','icon','route' or 'xf_route']
 */
return [
    'website' => [
        'name' => 'Website',
        'items' => [
            [
                'name' => 'Home',
                'icon' => 'home',
                'route' => 'home',
            ],
            [
                'name' => 'Database',
                'icon' => 'database',
                'route' => 'entries.index'
            ],
            [
                'name' => 'News',
                'icon' => 'newspaper',
                'route' => 'news.index'
            ],
            [
                'name' => "Submissions queue",
                'icon' => 'gavel',
                'route' => 'queue.index'
            ],
            [
                'name' => "My drafts",
                'icon' => 'scissors',
                'route' => 'entries.drafts',
                'requires_auth' => true
            ]
        ]
    ],
    'community' => [
        'name' => 'Community',
        'items' => [
            [
                'name' => 'Forum',
                'icon' => 'message-circle',
                'xf_route' => ''
            ],
            [
                'name' => 'Clubs',
                'icon' => 'balloon',
                'xf_route' => 'clubs'
            ],
            [
                'name' => 'Discord',
                'icon' => 'messages-square',
                'custom_route' => 'https://discord.gg/5CKzeWmZZU'
            ],
            [
                'name' => 'Members',
                'icon' => 'users',
                'xf_route' => 'members'
            ],

        ]
    ],
    'tools' => [
        'name' => 'Tools',
        'items' => [
            [
                'name' => 'ROM Patcher',
                'icon' => 'stamp',
                'route' => 'tools.patcher'
            ],
            [
                'name' => 'ROM Hasher',
                'icon' => 'hash',
                'route' => 'tools.hash'
            ]
        ]
    ],
    'pages' => [
        'name' => 'Pages',
        'items' => [
            [
              'name' => 'Support us',
              'icon' => 'coffee',
              'custom_route' => 'https://ko-fi.com/romhackplaza',
              'color' => 'var(--rhpz-orange)'
            ],
            [
                'name' => 'Learn Romhacking',
                'icon' => 'graduation-cap',
                'xf_route' => 'help/learn-romhacking'
            ],
            [
                'name' => 'About',
                'icon' => 'info',
                'xf_route' => 'help/about'
            ],
            [
                'name' => 'Contact Us',
                'icon' => 'at-sign',
                'xf_route' => 'misc/contact'
            ],
            [
                'name' => 'Help & Legal pages',
                'icon' => 'scale',
                'xf_route' => 'help'
            ]
        ]
    ]
];
