<?php

use blobt\widgets\Menu;
?>
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <?php
        echo Menu::widget([
            'items' => [
                ['label' => 'MAIN NAVIGATION', 'is_header' => true],
                ['label' => 'IndexController', 'url' => '#', 'icon' => 'fa-hand-o-right', 'items' => [
                        ['label' => 'Index', 'url' => ['site/index', 'tag' => 'new']],
                        ['label' => 'Test', 'url' => ['site/test']],
                    ]
                ],
                ['label' => 'Category', 'url' => '#', 'icon' => 'fa-barcode', 'items' => [
                        ['label' => 'List', 'url' => ['category/index', 'tag' => 'new']],
                        ['label' => 'Create', 'url' => ['category/create', 'tag' => 'popular']],
                    ]
                ]
            ]
        ]);
        ?>
    </section>
    <!-- /.sidebar -->
</aside>