Ejemplo n.º 1
0
<?php 
$this->beginContent('@app/views/layouts/main.php');
?>


<?php 
NavBar::begin(['brandLabel' => Yii::$app->name]);
?>

<?php 
echo LanguageSelector::widget(['wrapperClass' => 'navbar-right', 'useFullLanguageName' => false]);
?>

<?php 
echo MenuWidget::widget(['code' => 'topMenu', 'options' => ['class' => 'nav navbar-nav navbar-right']]);
?>

<?php 
NavBar::end();
?>

<div class="container">
	<div class="row">
		<div class="col-lg-12">
			<img class="img-responsive" src="http://placehold.it/1200x300" alt="">
		</div>
	</div>
</div>

Ejemplo n.º 2
0
<div class="header">
	<div id="nav-sticky-wrapper" class="sticky-wrapper" style="height: 52px;"><div id="nav" class="navbar-wrapper">
			<div class="navbar">
				<div class="container">
					<div class="navbar-header">
						<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
							<span class="sr-only">Toggle navigation</span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
							<span class="icon-bar"></span>
						</button>
						<a href="#top" class="navbar-brand"><i class="fa fa-microphone"></i> VOICE</a>
					</div>
					<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
						<?php 
echo MenuWidget::widget(['id' => 1, 'options' => ['class' => 'nav navbar-nav']]);
?>


						<ul class="nav navbar-nav navbar-right">
							<li><a href="#contact">Contact Us</a></li>
						</ul>
					</nav>
				</div>
			</div>
		</div></div>
</div>
<div class="wrap">


	<div class="container">