<?php
    
    return [
        [
            'label' => \Yii::t('app', 'Blog'),
            'url'   => '#',
            'icon'  => 'pencil-square',
            'items' => [
                [
                    'label' => \Yii::t('catalog', 'Articles'),
                    'url'   => [ '/blog-article/index' ],
                    'icon'  => 'file-text',
                ],
                [
                    'label' => \Yii::t('catalog', 'Categories'),
                    'url'   => [ '/blog-category/index' ],
                    'icon'  => 'book',
                ],
                [
                    'label' => \Yii::t('catalog', 'Tags'),
                    'url'   => [ '/blog-tag/index' ],
                    'icon'  => 'tag',
                ],
            ],
        ],
        [
            'label'  => \Yii::t('catalog', 'Comments'),
            'url'    => [ '/comment/index' ],
            'icon'   => 'comment-o',
            'active' => function () {
                return \Yii::$app->controller->id === 'comment';
            },
        ],
    ];