Commit 7532ca5fa640e06d391f829fdd0dbb3dcd5f6a04

Authored by Eugeny Galkovskiy
1 parent 6ec7fffb

ссылки

Showing 1 changed file with 45 additions and 39 deletions   Show diff stats
frontend/views/layouts/main.php
@@ -271,45 +271,51 @@ _________________________________________________________ --> @@ -271,45 +271,51 @@ _________________________________________________________ -->
271 </div> 271 </div>
272 272
273 <div class="navbar-collapse collapse" id="navigation"> 273 <div class="navbar-collapse collapse" id="navigation">
274 - <?php  
275 - $items = [];  
276 - $items[] = [  
277 - 'label' => 'ArtBox Core',  
278 - 'url' => [ '/#ab-core' ],  
279 - 'options' => [  
280 - 'class' => 'scroll-to',  
281 - ],  
282 - ];  
283 - $items[] = [  
284 - 'label' => 'ArtBox Каталог',  
285 - 'url' => [ '/#ab-cat' ],  
286 - 'options' => [  
287 - 'class' => 'scroll-to',  
288 - ],  
289 - ];  
290 - $items[] = [  
291 - 'label' => 'ArtBox Shop',  
292 - 'url' => [ '/#ab-shop' ],  
293 - 'options' => [  
294 - 'class' => 'scroll-to',  
295 - ],  
296 - ];  
297 - $items[] = [  
298 - 'label' => 'Контакты',  
299 - 'url' => [ '/#ab-tar' ],  
300 - 'options' => [  
301 - 'class' => 'scroll-to',  
302 - ],  
303 - ];  
304 - echo Nav::widget(  
305 - [  
306 - 'items' => $items,  
307 - 'options' => [  
308 - 'class' => 'nav navbar-nav navbar-right',  
309 - ],  
310 - ]  
311 - );  
312 - ?> 274 +<!-- --><?php
  275 +// $items = [];
  276 +// $items[] = [
  277 +// 'label' => 'ArtBox Core',
  278 +// 'url' => [ '/#ab-core' ],
  279 +// 'options' => [
  280 +// 'class' => 'scroll-to',
  281 +// ],
  282 +// ];
  283 +// $items[] = [
  284 +// 'label' => 'ArtBox Каталог',
  285 +// 'url' => [ '/#ab-cat' ],
  286 +// 'options' => [
  287 +// 'class' => 'scroll-to',
  288 +// ],
  289 +// ];
  290 +// $items[] = [
  291 +// 'label' => 'ArtBox Shop',
  292 +// 'url' => [ '/#ab-shop' ],
  293 +// 'options' => [
  294 +// 'class' => 'scroll-to',
  295 +// ],
  296 +// ];
  297 +// $items[] = [
  298 +// 'label' => 'Контакты',
  299 +// 'url' => [ '/#ab-tar' ],
  300 +// 'options' => [
  301 +// 'class' => 'scroll-to',
  302 +// ],
  303 +// ];
  304 +// echo Nav::widget(
  305 +// [
  306 +// 'items' => $items,
  307 +// 'options' => [
  308 +// 'class' => 'nav navbar-nav navbar-right',
  309 +// ],
  310 +// ]
  311 +// );
  312 +// ?>
  313 + <ul id="w0" class="nav navbar-nav navbar-right">
  314 + <li><a href="#ab-core" class="scroll-to">ArtBox Core</a></li>
  315 + <li><a href="#ab-cat" class="scroll-to">ArtBox Каталог</a></li>
  316 + <li><a href="#ab-shop" class="scroll-to">ArtBox Shop</a></li>
  317 + <li><a href="#ab-tar" class="scroll-to">Контакты</a></li>
  318 + </ul>
313 </div> 319 </div>
314 320
315 321