<?php

use yii\helpers\Html;
use yii\helpers\Url;

use common\modules\languages\widgets\Languages;
?>

<nav class="menu">
    <div class="toggle_block"><a href="#" class="toggle-mnu"><span></span></a></div>
    <div class="phone_menu"><?=\common\models\Settings::getValue('content-phone')?></div>
    <ul>
        <li><?=Html::a(\Yii::t('menu', 'About'), ['/about']);?></li>
        <li><?=Html::a(\Yii::t('menu', 'Portfolio'), ['/portfolio']);?></li>
        <li><?=Html::a(\Yii::t('menu', 'Blog'), ['/blog']);?></li>
        <!-- <li><?=Html::a(\Yii::t('menu', 'Analytics school'), ['/school']);?></li> -->
        <li><?=Html::a(\Yii::t('menu', 'Contacts'), ['/contacts']);?></li>
    </ul>
</nav>

<header>
    <div class="container">
        <div class="row">
            <div class="col-md-2 col-xs-3 col-sm-12">
                <a href="<?=Url::to(['/'])?>" class="logo">
                    <img src="/images/logo.png" height="34" width="125" alt="">
                </a>
            </div>
            <div class="col-md-7 col-xs-6 col-sm-12">
                <nav class="top_nav clearfix">
                    <ul>
                        <li><?=Html::a(\Yii::t('menu', 'About'), ['/about']);?></li>
                        <li><?=Html::a(\Yii::t('menu', 'Portfolio'), ['/portfolio']);?></li>
                        <li><?=Html::a(\Yii::t('menu', 'Blog'), ['/blog']);?></li>
                        <!-- <li><?=Html::a(\Yii::t('menu', 'Analytics school'), ['/school']);?></li> -->
                        <li><?=Html::a(\Yii::t('menu', 'Contacts'), ['/contacts']);?></li>
                    </ul>
                </nav>
                <?= Languages::widget();?>                
            </div>
            <div class="col-md-3 col-xs-3 col-sm-12">
                <span class="top_phone"><?=\common\models\Settings::getValue('content-phone')?></span>
                <!-- <div class="phone_hover_head">Стоимость звонка 0 руб,<br/> в том числе с мобильного</div> -->
            </div>
        </div>
    </div>
</header>